From: Willy Tarreau <w@1wt.eu>
To: Ray Lee <ray-lk@madrabbit.org>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>,
Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@elte.hu>,
"LKML," <linux-kernel@vger.kernel.org>
Subject: Re: Poor PostgreSQL scaling on Linux 2.6.25-rc5 (vs 2.6.22)
Date: Mon, 17 Mar 2008 06:21:34 +0100 [thread overview]
Message-ID: <20080317052134.GD13012@1wt.eu> (raw)
In-Reply-To: <2c0942db0803162216r1892782bsc894d4188b51481b@mail.gmail.com>
On Sun, Mar 16, 2008 at 10:16:36PM -0700, Ray Lee wrote:
> On Sun, Mar 16, 2008 at 5:44 PM, Nick Piggin <nickpiggin@yahoo.com.au> wrote:
> > I don't see how it is really helpful for interactive processes either.
> > By definition, if they are not CPU bound, then they should be run
> > quite soon after waking up; if they are CPU bound, then reducing
> > efficiency by increasing context switches is effectively going to
> > increase their latency anyway.
>
> How? Are you saying that switching the granularity to, say, 25ms, will
> *decrease* the latency of interactive tasks?
>
> And the efficiency we're talking about reducing here is due to the
> fact that tasks are hitting cold caches more times per second when the
> granularity is smaller, correct? Or are you concerned by another
> issue?
>
> > Can this be changed by default, please?
>
> Not without benchmarks of interactivity, please. There are far, far
> more linux desktops than there are servers. People expect to have to
> tune servers (I do, for the servers I maintain). People don't expect
> to have to tune a desktop to make it run well.
Oh and even on servers, when your anti-virus proxy reaches a load of 800,
you're happy no to have too large a time-slice so that you regularly get
a chance of being allowed to type in commands over SSH.
Large time-slices are needed only in HPC environments IMHO, where only
one task runs.
Willy
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2008-03-17 5:24 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-11 6:49 Poor PostgreSQL scaling on Linux 2.6.25-rc5 (vs 2.6.22) Nick Piggin
2008-03-11 7:58 ` Ingo Molnar
2008-03-11 8:28 ` Nick Piggin
2008-03-11 9:59 ` Ingo Molnar
2008-03-11 21:07 ` Nicholas Miell
2008-03-11 21:34 ` Cyrus Massoumi
2008-03-11 23:12 ` Nicholas Miell
2008-03-11 23:42 ` Nick Piggin
2008-03-11 23:47 ` Stephen Hemminger
2008-03-12 9:00 ` Zhang, Yanmin
[not found] ` <20080311102538.GA30551@elte.hu>
[not found] ` <20080311120230.GA5386@elte.hu>
2008-03-12 1:21 ` Nick Piggin
2008-03-12 7:58 ` Peter Zijlstra
2008-03-17 0:44 ` Nick Piggin
2008-03-17 5:16 ` Ray Lee
2008-03-17 5:21 ` Willy Tarreau [this message]
2008-03-17 7:19 ` Nick Piggin
2008-03-17 8:26 ` Willy Tarreau
2008-03-17 8:54 ` Nick Piggin
2008-03-17 9:28 ` Peter Zijlstra
2008-03-17 9:56 ` Nick Piggin
2008-03-17 10:16 ` Ingo Molnar
2008-03-17 5:34 ` Nick Piggin
-- strict thread matches above, loose matches on Subject: below --
2008-03-14 15:42 Xose Vazquez Perez
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=20080317052134.GD13012@1wt.eu \
--to=w@1wt.eu \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=nickpiggin@yahoo.com.au \
--cc=peterz@infradead.org \
--cc=ray-lk@madrabbit.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