public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* slow response time when debugging over ethernet
@ 2003-05-22  8:56 gilbert buob
  2003-05-23 12:03 ` Keith Seitz
  0 siblings, 1 reply; 5+ messages in thread
From: gilbert buob @ 2003-05-22  8:56 UTC (permalink / raw)
  To: insight

hello

I use insight and want to debug a remote target using redboot on the
remote target. The remote target is powered with a pentium. When I use
the serial port for debugging, response time is correct, Now I use
ethernet, for the download, it is very fast. but when I debug the target

the response time is very very slow. Insight is installed  on a NT4
station and use cygwin. insight 5.1.1 and is configured as
"host=i686-pc-cygwin target=i386-elf"

do you know this problem ?

thank
gilbert

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: slow response time when debugging over ethernet
  2003-05-22  8:56 slow response time when debugging over ethernet gilbert buob
@ 2003-05-23 12:03 ` Keith Seitz
  2003-06-04 11:50   ` gilbert buob
  0 siblings, 1 reply; 5+ messages in thread
From: Keith Seitz @ 2003-05-23 12:03 UTC (permalink / raw)
  To: gilbert buob; +Cc: insight

On Thu, 2003-05-22 at 01:55, gilbert buob wrote:
> the response time is very very slow. Insight is installed  on a NT4
> station and use cygwin. insight 5.1.1 and is configured as
> "host=i686-pc-cygwin target=i386-elf"

I haven't any idea why off the top of my head. That version is very,
very old.

Before we get into profiling or stepping through the code to see what it
is doing, please try debugging over ethernet with command line gdb.
Let's rule out any obvious gdb problems.

Keith


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: slow response time when debugging over ethernet
  2003-05-23 12:03 ` Keith Seitz
@ 2003-06-04 11:50   ` gilbert buob
  2003-06-06 20:47     ` Keith Seitz
  0 siblings, 1 reply; 5+ messages in thread
From: gilbert buob @ 2003-06-04 11:50 UTC (permalink / raw)
  To: Keith Seitz; +Cc: insight

Following your suggestion, I have made some trials to debug over ethernet
with command line gdb .
I made two test , one with gdb5.1.1/host NT4/ remote target i386-elf and one
with cygwin package gdb ( last one) /host w2k/remote target i386-elf..Remote
target monitor is redboot.  Result is the same as with Insight <--> the
problem is on gdb : The download is very fast but debugging is slow.We also
have made the trial with a Linux platform as host and then response time is
OK <--> the problem is connected with window.
Then we also have analysed the network traffic ( with ethreal) during the
debugging  session in both case. I t seems that when using host = window we
have a delay due to the naggle algo of tcp level. This delay should be off
when using little packet ( this occurs when debugging ). On the host=linux
the delay is off.

do you know this problem,?
I also loocking for a work around ( just download over tcp and the debug
over serial)
I also shall contact the gdb mailing list because it seem to be a window-gdb
problem

Gilbert

Keith Seitz schrieb:

> On Thu, 2003-05-22 at 01:55, gilbert buob wrote:
> > the response time is very very slow. Insight is installed  on a NT4
> > station and use cygwin. insight 5.1.1 and is configured as
> > "host=i686-pc-cygwin target=i386-elf"
>
> I haven't any idea why off the top of my head. That version is very,
> very old.
>
> Before we get into profiling or stepping through the code to see what it
> is doing, please try debugging over ethernet with command line gdb.
> Let's rule out any obvious gdb problems.
>
> Keith

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: slow response time when debugging over ethernet
  2003-06-04 11:50   ` gilbert buob
@ 2003-06-06 20:47     ` Keith Seitz
  2003-06-07 15:39       ` Christopher Faylor
  0 siblings, 1 reply; 5+ messages in thread
From: Keith Seitz @ 2003-06-06 20:47 UTC (permalink / raw)
  To: gilbert buob; +Cc: insight

On Wed, 2003-06-04 at 04:49, gilbert buob wrote:

> do you know this problem,?
> I also loocking for a work around ( just download over tcp and the debug
> over serial)
> I also shall contact the gdb mailing list because it seem to be a window-gdb
> problem

Hmm. Could be a cygwin bug, too, I suppose. Maybe TCP_NODELAY isn't
working?

I'd ask about it on the gdb list, though. That'll get you further. I
would also include a command line session showing the problem (as best
as possible) with remote debugging on (set debug remote 1/set
remotedebug 1).

Keith


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: slow response time when debugging over ethernet
  2003-06-06 20:47     ` Keith Seitz
@ 2003-06-07 15:39       ` Christopher Faylor
  0 siblings, 0 replies; 5+ messages in thread
From: Christopher Faylor @ 2003-06-07 15:39 UTC (permalink / raw)
  To: gilbert buob, insight

On Fri, Jun 06, 2003 at 01:54:24PM -0700, Keith Seitz wrote:
>On Wed, 2003-06-04 at 04:49, gilbert buob wrote:
>
>> do you know this problem,?
>> I also loocking for a work around ( just download over tcp and the debug
>> over serial)
>> I also shall contact the gdb mailing list because it seem to be a window-gdb
>> problem
>
>Hmm. Could be a cygwin bug, too, I suppose. Maybe TCP_NODELAY isn't
>working?

If it is working in Windows winsock implementation then it should be working in
Cygwin.

cgf

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-06-07 15:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-22  8:56 slow response time when debugging over ethernet gilbert buob
2003-05-23 12:03 ` Keith Seitz
2003-06-04 11:50   ` gilbert buob
2003-06-06 20:47     ` Keith Seitz
2003-06-07 15:39       ` Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).