2004-09-27 09:04:51

by CaT

[permalink] [raw]
Subject: strange network slowness in 2.6 unless pingflooding

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 <[email protected]> -----

Date: Thu, 19 Aug 2004 12:03:40 +1000
From: CaT <[email protected]>
To: [email protected]
Subject: Whacky 2.6 network behaviour
Organisation: Furball Inc.
X-Mailing-List: [email protected]

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.


2004-09-27 20:43:58

by Arnaldo Carvalho de Melo

[permalink] [raw]
Subject: Re: strange network slowness in 2.6 unless pingflooding



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

2004-09-27 22:51:13

by CaT

[permalink] [raw]
Subject: Re: strange network slowness in 2.6 unless pingflooding

On Mon, Sep 27, 2004 at 05:37:58PM -0300, Arnaldo Carvalho de Melo wrote:
> 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

It does not help. Same problem as before.

--
Red herrings strewn hither and yon.

2004-09-27 23:19:15

by David Miller

[permalink] [raw]
Subject: Re: strange network slowness in 2.6 unless pingflooding

On Tue, 28 Sep 2004 08:49:57 +1000
CaT <[email protected]> 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.

2004-09-29 05:51:17

by CaT

[permalink] [raw]
Subject: Re: strange network slowness in 2.6 unless pingflooding

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.