From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Paul Pluzhnikov <ppluzhnikov@google.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC][patch] Make DCACHE_LINE runtime-settable
Date: Mon, 25 Jul 2011 19:26:00 -0000 [thread overview]
Message-ID: <20110725190008.GA30896@host1.jankratochvil.net> (raw)
In-Reply-To: <20110722222025.ED9B6190B14@elbrus2.mtv.corp.google.com>
On Sat, 23 Jul 2011 00:20:25 +0200, Paul Pluzhnikov wrote:
> For a 200ms round-trip connection, executing "where" and getting back 30
> frames translates into 6 seconds of wall time, and "thread apply all where"
> into 1 to 10 to 100 minutes (depending on how many threads there are,
> with 100 threads being common and 1000 not being exceptional).
>
> Attached patch allows the user to e.g. "set dcache-line-size 4096" and
> drastically reduce the number of round trips.
I was tweaking the LINE_SIZE_POWER facing this problem in mail:
https://fedorahosted.org/pipermail/crash-catcher/2010-December/001441.html
I have seen some of the target_read_memory requests are needlessly fragmented
into LINE_SIZE_POWER sized read requests. Have you considered making the
gdbserver protocol read requests size dynamic depending on the caller's
requested read size?
After all I found it is in many cases the fastest to upload the whole core
file as then there are no RTT delays at all but that is offtopic here.
Thanks,
Jan
next prev parent reply other threads:[~2011-07-25 19:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-23 2:40 Paul Pluzhnikov
2011-07-23 16:57 ` Eli Zaretskii
2011-07-25 15:01 ` Tom Tromey
2011-07-25 18:47 ` Paul Pluzhnikov
2011-07-25 19:22 ` Tom Tromey
2011-07-25 19:32 ` Pedro Alves
2011-07-25 19:33 ` Tom Tromey
2011-07-25 20:49 ` Pedro Alves
2011-07-25 20:22 ` Eli Zaretskii
2011-07-25 21:04 ` Paul Pluzhnikov
2011-07-26 0:28 ` Pedro Alves
2011-07-26 9:51 ` Eli Zaretskii
2011-07-25 19:26 ` Jan Kratochvil [this message]
2011-07-25 20:58 ` Paul Pluzhnikov
2011-07-26 2:55 ` Jan Kratochvil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110725190008.GA30896@host1.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=ppluzhnikov@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox