mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Galbraith <efault@gmx.de>
To: Willy Tarreau <willy@w.ods.org>
Cc: Ingo Molnar <mingo@elte.hu>,
	Arjan van de Ven <arjan@infradead.org>,
	linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>
Subject: Re: Which kernel is the best for a small linux system?
Date: Thu, 16 Mar 2006 16:24:19 +0100	[thread overview]
Message-ID: <1142522659.8195.33.camel@homer> (raw)
In-Reply-To: <1142327130.8075.30.camel@homer>

On Tue, 2006-03-14 at 10:05 +0100, Mike Galbraith wrote:
> On Tue, 2006-03-14 at 08:29 +0100, Ingo Molnar wrote:
> > * Willy Tarreau <willy@w.ods.org> 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.

Hi again Willy,

Well.  I've done some testing with apache, and I can reproduce the
problem... too darn well in fact.  It's really bad in 2.6.15 here as
well, and while removing the sleep_avg multiplier and the requeue in
schedule() improved things quite a bit, I still have nasty 30s delays
while trying to pipe commands.  These things alone apparently aren't
going to be enough if you want to ssh into a busy server.

	-Mike


  parent reply	other threads:[~2006-03-16 15:22 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-13  0:40 j4K3xBl4sT3r
2006-03-13  8:00 ` Lexington Luthor
2006-03-15  1:35   ` Grant Coady
2006-03-15  1:46     ` Randy.Dunlap
2006-03-13  8:17 ` Arjan van de Ven
2006-03-13 18:03   ` Grant Coady
2006-03-13 18:06     ` Arjan van de Ven
2006-03-14  6:21       ` Willy Tarreau
2006-03-14  7:29         ` Ingo Molnar
2006-03-14  8:18           ` Mike Galbraith
2006-03-14  9:05           ` Mike Galbraith
2006-03-14 15:54             ` Willy Tarreau
2006-03-16 15:24             ` Mike Galbraith [this message]
2006-03-14 10:03         ` Grant Coady
2006-03-14 22:21           ` Russell King
2006-03-15  0:46             ` Grant Coady
     [not found]               ` <20060315080313.GC3166@flint.arm.linux.org.uk>
2006-03-15  9:37                 ` Grant Coady
2006-03-15 22:53             ` Jan Engelhardt
2006-03-15 23:32               ` Grant Coady
2006-03-16  4:19                 ` Mike Galbraith
2006-03-16  8:12                   ` Mike Galbraith
2006-03-16  8:31                     ` Lee Revell
2006-03-16  8:55                       ` Mike Galbraith
2006-03-16  9:20                         ` Mike Galbraith
2006-03-16  2:55               ` Valdis.Kletnieks
2006-03-13 18:27   ` Sam Ravnborg
2006-03-13 18:41     ` Lee Revell
2006-03-13 19:01       ` Adrian Bunk
2006-03-14  0:18         ` j4K3xBl4sT3r
2006-03-13 19:08     ` Diego Calleja
2006-03-13 22:00     ` Pantelis Antoniou
2006-03-13 22:01       ` j4K3xBl4sT3r
2006-03-13 22:20         ` Pantelis Antoniou
2006-03-13 22:33           ` j4K3xBl4sT3r
2006-03-16 12:03             ` Pavel Machek
2006-03-13 22:25         ` Lee Revell
2006-03-14  3:53           ` Grant Coady
2006-03-15 22:57     ` Jan Engelhardt
2006-03-15 23:10       ` Adrian Bunk
2006-03-16 13:39         ` linux-os (Dick Johnson)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1142522659.8195.33.camel@homer \
    --to=efault@gmx.de \
    --cc=akpm@osdl.org \
    --cc=arjan@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=willy@w.ods.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome