strange network slowness in 2.6 unless pingflooding

5 messages, 3 authors, 2004-09-29 · open the first message on its own page

strange network slowness in 2.6 unless pingflooding

From: CaT <hidden>
Date: 2004-09-27 09:04:51

Hi,

This is still happening. I ran the same set of tests on a totally
different network, with my xircom  realport ethernet card (tulip
driver - 16bit) and from linux to linux and windows to linux. Scrolling
through a message in mutt eventually slows down and if I lift my finger
off the enter key whilst it's slow the scrolling keeps going, as if it
was all bufferd. If I do a pingflood (ping -f) from a machine to my
laptop it's all fine.

I am also now running 2.6.9-rc1-mm4.

Help? :/

----- Forwarded message from CaT [off-list ref] -----

Date: 	Thu, 19 Aug 2004 12:03:40 +1000
From: CaT <redacted>
To: linux-kernel@vger.kernel.org
Subject: Whacky 2.6 network behaviour
Organisation: Furball Inc.
X-Mailing-List: 	linux-kernel@vger.kernel.org

I have an SSH session across a 100mb network from my desktop to my
laptop. It's mostly ok but when I scroll line-by-line on a message
with mutt it can fo really fast for a bit and then slows down to
almost a line per second and keeps going after I take my finger off
the enter key. 

If I pingflood the laptop from the desktop things improve drastically
and I only get a few freezes here and there. If I pingflood with 60000
byte packets things get a little better but then a severe loss of
pings occurs. Each time the pings are lost my SSH connection also
freezes.

If I ping a different host from my desktop (like my gateway) I get no
pingloss with 60000 byte packets (though this doesn't help with the
scrolling issues. :)

If I ping my desktop from my laptop with 60000 byte packets, the freezes
are totally gone and I get no pingloss. If I ping my gateway from my
laptop with 60000 byte packets I also get no pingloss and the freezes
are also gone.

My desktop is using kernel 2.6.7, my laptop 2.6.8.1 and the gw 2.4.27.
Cards in use are: desktop: 3com 3c59x; laptop: e100 (intels); gw:
 e100 (intels). CPUs are: desktop: P3 600; laptop: P3 700; gw: p3 500.

(Hmm. Spoke too soon. There is still SOME packet loss but it's more a
freak thing rather then a repeated occurance - I've only seen it once
for the last two cases and I've been flood pinging for the laptop for
the majority of this message).

I'll be more then happy to do any debugging/diag but I need to know
what is needed and, if need be, how to get it so if any help is requried
please shout and I'll get on it ASAP.

-- 
    Red herrings strewn hither and yon.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

----- End forwarded message -----

-- 
    Red herrings strewn hither and yon.

Re: strange network slowness in 2.6 unless pingflooding

From: Arnaldo Carvalho de Melo <hidden>
Date: 2004-09-27 20:43:58


CaT wrote:
Hi,

This is still happening. I ran the same set of tests on a totally
different network, with my xircom  realport ethernet card (tulip
driver - 16bit) and from linux to linux and windows to linux. Scrolling
through a message in mutt eventually slows down and if I lift my finger
off the enter key whilst it's slow the scrolling keeps going, as if it
was all bufferd. If I do a pingflood (ping -f) from a machine to my
laptop it's all fine.

I am also now running 2.6.9-rc1-mm4.
Have you tried FAQ:

echo 0 > /proc/sys/net/ipv4/tcp_window_scaling

- Arnaldo

Re: strange network slowness in 2.6 unless pingflooding

From: CaT <hidden>
Date: 2004-09-27 22:51:13

On Mon, Sep 27, 2004 at 05:37:58PM -0300, Arnaldo Carvalho de Melo wrote:
CaT wrote:
quoted
Hi,

This is still happening. I ran the same set of tests on a totally
different network, with my xircom  realport ethernet card (tulip
driver - 16bit) and from linux to linux and windows to linux. Scrolling
through a message in mutt eventually slows down and if I lift my finger
off the enter key whilst it's slow the scrolling keeps going, as if it
was all bufferd. If I do a pingflood (ping -f) from a machine to my
laptop it's all fine.

I am also now running 2.6.9-rc1-mm4.
Have you tried FAQ:

echo 0 > /proc/sys/net/ipv4/tcp_window_scaling
It does not help. Same problem as before.

-- 
    Red herrings strewn hither and yon.

Re: strange network slowness in 2.6 unless pingflooding

From: "David S. Miller" <davem@davemloft.net>
Date: 2004-09-27 23:19:15

On Tue, 28 Sep 2004 08:49:57 +1000
CaT [off-list ref] wrote:
It does not help. Same problem as before.
Please give us some exact specifics about your network setup
so that someone can possibly reproduce your problem locally.
In particular, if there are hubs or switches involved on
your local network that might be getting the duplex wrong,
or some NAT or firewall machines in the path in question,
please specify their setup precisely.

Otherwise there is zero chance of this problem ever being
fixes.

Re: strange network slowness in 2.6 unless pingflooding

From: CaT <hidden>
Date: 2004-09-29 05:51:17

On Mon, Sep 27, 2004 at 04:18:45PM -0700, David S. Miller wrote:
In particular, if there are hubs or switches involved on
your local network that might be getting the duplex wrong,
or some NAT or firewall machines in the path in question,
please specify their setup precisely.

Otherwise there is zero chance of this problem ever being
fixes.
Well I was going to do a few more tests and send a nice email doing just
that but in going through my package list with dpkg I spotted cpudyn and
cpufreqd installed. I've uninstalled them and now I cannot reproduce
the problem.

As such, and I hope I'm not speaking to you, it appears 'solved'. They
must've been interfering with the network layer somehow (or something)
and now that they are gone all's well.

My apologies if anyones time was wasted.

-- 
    Red herrings strewn hither and yon.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help