netdev
[Top] [All Lists]

Re: gigabit trouble

To: netdev@xxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: gigabit trouble
From: Bart Alewijnse <scarfboy@xxxxxxxxx>
Date: Tue, 3 Aug 2004 14:32:07 +0200
In-reply-to: <20040803094842.B4911@xxxxxxxxxxxxxxxxxxxxxxxxxx>
References: <20040729210401.A32456@xxxxxxxxxxxxxxxxxxxxxxxxxx> <b71082d80407291541f9d6f93@xxxxxxxxxxxxxx> <b71082d804073008157cf1d6c0@xxxxxxxxxxxxxx> <20040730205412.A15669@xxxxxxxxxxxxxxxxxxxxxxxxxx> <b71082d804073014037bc5dd5a@xxxxxxxxxxxxxx> <20040730234120.A15536@xxxxxxxxxxxxxxxxxxxxxxxxxx> <b71082d804073112512bbd82e2@xxxxxxxxxxxxxx> <20040731231836.A31121@xxxxxxxxxxxxxxxxxxxxxxxxxx> <b71082d804080112031621e041@xxxxxxxxxxxxxx> <b71082d804080219476103bd47@xxxxxxxxxxxxxx> <20040803094842.B4911@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
Quite simply a 'netio -s' on one computer, and a 'netio -u
192.168.1.whichever' on the other.  I was monitoring with 'vmstat 1'
for hardware stuff and bmon to see the actual speed and had a ssh
open.

The things I've been fiddling with recently to see if it'd make a difference:
- Renicing of ksoftirqc to anything between -5 and -17, I don't
remember exactly.
- Disabling tcp window scaling. I read somewhere that that may help
throughhput, but it may be a stupid move.
- Some barely thought about (I did read the following:
http://lists.samba.org/archive/samba/2003-December/077198.html)
window memory buffer size changes, with a 'so that that at least won't
be a bottleneck' angle:
--------------------
echo 400000 > /proc/sys/net/core/wmem_default
echo 512000 > /proc/sys/net/core/wmem_max
echo 400000 > /proc/sys/net/core/rmem_default
echo 512000 > /proc/sys/net/core/rmem_max
echo 98304 512000 640000 > /proc/sys/net/ipv4/tcp_mem
echo 98304 512000 640000 > /proc/sys/net/ipv4/tcp_wmem
echo 98304 512000 640000 > /proc/sys/net/ipv4/tcp_rmem
echo 98304 512000 640000 > /proc/sys/net/ipv4/tcp_mem
-----------


It seems that windows (in which I have jumbo frames on) doesn' quite
need as many interrupts, although I'm not sure that was for the same
speed, as I had another kernel panic (attached, this one has a small
visible trace). I was running the windows version of netio as a
server, and doing a client test with udp.

--Bart Alewijnse

Attachment: panic3.gif
Description: GIF image

<Prev in Thread] Current Thread [Next in Thread>