From: Ingo Molnar <mingo@elte.hu>
To: Willy Tarreau <willy@w.ods.org>
Cc: Arjan van de Ven <arjan@infradead.org>,
linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>,
Mike Galbraith <efault@gmx.de>
Subject: Re: Which kernel is the best for a small linux system?
Date: Tue, 14 Mar 2006 08:29:21 +0100 [thread overview]
Message-ID: <20060314072921.GA13969@elte.hu> (raw)
In-Reply-To: <20060314062144.GC21493@w.ods.org>
* 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.
i think we've talked about your specific case before, and lets not drop
it on the floor. IIRC you have some special workload (driven by serial
lines?) which behaves interactively and which thus gets too much
boosting.
the passive methods: did you try to mute its impact by renicing it to +5
or +10? If you know that a workload is not interactive, despite it
behaving so, you can always prevent it from getting too much attention.
There's also SCHED_BATCH in 2.6.16-ish kernels.
and there are some active methods as well: you might want to try Mike
Galbraith's scheduler throttling feature:
http://lkml.org/lkml/2006/3/3/59
http://lkml.org/lkml/2006/3/3/63
(which we could try in -mm too perhaps, perhaps Mike has an updated
patch for 2.6.16-rc6-mm1?)
Ingo
next prev parent reply other threads:[~2006-03-14 7:31 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-13 0:40 Which kernel is the best for a small linux system? 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 [this message]
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
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=20060314072921.GA13969@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@osdl.org \
--cc=arjan@infradead.org \
--cc=efault@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--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