Re: Which kernel is the best for a small linux system?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 14, 2006 at 10:05:30AM +0100, Mike Galbraith wrote:
> On Tue, 2006-03-14 at 08:29 +0100, Ingo Molnar wrote:
> > * Willy Tarreau <[email protected]> wrote:
> > 
> > > scheduler is still a big problem. Not only we occasionally see people 
> > > complaining about unfair CPU distribution across processes (may be 
> > > fixed now), but the scheduler still gives a huge boost to I/O 
> > > intensive tasks which do lots of select() with small time-outs, which 
> > > makes it practically unusable in network-intensive environments. I've 
> > > observed systems on which it was nearly impossible to log in via SSH 
> > > because of this, and I could reproduce the problem locally to create a 
> > > local DoS where a single user could prevent anybody from logging in.  
> > > 2.6.15 has improved a lot on this (pauses have reduced from 35 seconds 
> > > to 4 seconds) but it's still not very good.
> 
> Hi Willy,
> 
> BTW, if you try my stuff, it'd be good to try just the "cleanup" patch
> first.  It seems very likely to me that your problem is mostly caused by
> the sleep_avg multiplier.  If the first patch cures your woes, try
> killing just the multiplier in virgin source.
> 
> 	-Mike
> 
> (oh yeah, the pipe patch is more or less meaningless now, ignore it)

Hi Mike, Hi Ingo,

thank you both for your insights. I *will* test this, I don't know when
because I'm terribly busy, but I'm really interested.

Ingo, to reply to your question, the typical workload was around 30 Mbps with
1500-2000 sessions/s on a small number of processes (1 to 4*#CPUs). It was
with some kernels around 2.6.8 IIRC. Pauses could be of several hundreds of
milliseconds which was very annoying. But IIRC, if renicing the process(es)
improved SSH responsiveness, it also hurt the service's responsiveness.
The same process running on 2.2, 2.4, solaris 8/10, freebsd and openbsd does
not exhibit the behaviour at all. I've not retried yet with more recent
kernels, I just recently retried the proof of concept I developped at this
date, and all I remember was that 2.6.15+ was really better.

Cheers,
Willy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux