netdev
[Top] [All Lists]

Re: bug: excess context switches on read() of tcp sockets

To: Ben LaHaise <bcrl@xxxxxxxxxx>
Subject: Re: bug: excess context switches on read() of tcp sockets
From: Andi Kleen <ak@xxxxxx>
Date: Tue, 28 Aug 2001 21:07:19 +0200
Cc: netdev@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.33.0108281421520.7265-100000@toomuch.toronto.redhat.com>; from Ben LaHaise on Tue, Aug 28, 2001 at 08:59:11PM +0200
References: <Pine.LNX.4.33.0108281421520.7265-100000@toomuch.toronto.redhat.com>
Sender: owner-netdev@xxxxxxxxxxx
On Tue, Aug 28, 2001 at 08:59:11PM +0200, Ben LaHaise wrote:
> vmstat shows that the transmitter only wakes up a couple of dozen times
> per second -- about what's expected given the size of the tcp window.  The
> receiver is another story entirely.  Does anyone have any idea as to what
> might be going on?  This is with 2.4.9-ac2, but 2.4.8-ac6 shows the same
> behaviour.  One of the 2.4.3 kernels I tried (ia64) seems to be much
> quicker.


The likely suspect is ksoftirqd. Add counters to the ksoftirqd loop.



-Andi

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