lkml.org 
[lkml]   [2001]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PROBLEM: select() on TCP socket sleeps for 1 tick even if data available
Dan Maas wrote:
>
> What kernel have you been using? I have reproduced your problem on a
> standard 2.2.18 kernel (elapsed time ~10sec). However, using a 2.4.0 kernel
> with HZ=1000, I see a 100x improvement (elapsed time ~0.1 sec; note that
> increasing HZ alone should only give a 10x improvement). Perhaps the
> scheduler was fixed in 2.4.0?

Sounds like a good reason for me to upgrade - I am running 2.2.18 now.
If it's fixed in 2.4.0, then I'm happy (although I'm usually leery of
installing ANYTHING that ends in ".0", Linux has never been anything
less than stable). It sounds like there are some other anomalies this
tickles that might bear looing into, though.

Thanks for all the help, and again, my apologies for posting a lame-o
test program with the original report - had I taken the time to make a
test program that REALLY exercised the problem as described, I would
have saved you all a lot of time.

--
Mike Lindner
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.153 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site