From: Jens Axboe <axboe@suse.de>
To: Rik van Riel <riel@conectiva.com.br>
Cc: Mike Galbraith <efault@gmx.de>,
Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] CFQ scheduler, #2
Date: Sat, 15 Feb 2003 17:35:50 +0100 [thread overview]
Message-ID: <20030215163550.GO26738@suse.de> (raw)
In-Reply-To: <Pine.LNX.4.50L.0302150920510.16301-100000@imladris.surriel.com>
On Sat, Feb 15 2003, Rik van Riel wrote:
> On Sat, 15 Feb 2003, Mike Galbraith wrote:
>
> >I gave this a burn, and under hefty load it seems to provide a bit of
> >anti-thrash benefit.
>
> Judging from your log, it ends up stalling kswapd and
> dramatically increases the number of times that normal
> processes need to go into the pageout code.
With 30 odds processes, it doesn't take a whole lot for one process to
have its share of requests eaten.
> If this provides an anti-thrashing benefit, something's
> wrong with the VM in 2.5 ;)
It's not a vm problem. But it is a problem if kswapd + pdflush can
consume the entire request pool, stalling real user processes.
Mike, please retry the test with more requests available. CFQ does not
rely on request queue length for fairness. Just changes:
(queue_nr_requests > 128)
queue_nr_requests = 128;
to
(queue_nr_requests > 512)
queue_nr_requests = 512;
in ll_rw_blk.c:blk_dev_init() and see how that runs.
--
Jens Axboe
next prev parent reply other threads:[~2003-02-15 16:26 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-14 14:19 [PATCH] CFQ scheduler, #2 Jens Axboe
2003-02-14 14:51 ` Jens Axboe
2003-02-15 10:00 ` Mike Galbraith
2003-02-15 11:22 ` Rik van Riel
2003-02-15 16:35 ` Jens Axboe [this message]
2003-02-16 6:24 ` Mike Galbraith
[not found] ` <Pine.LNX.4.50L.0302150920510.16301-100000@imladris.surriel .com>
2003-02-15 11:40 ` Mike Galbraith
2003-02-15 11:49 ` Rik van Riel
2003-02-15 12:01 ` William Lee Irwin III
[not found] ` <Pine.LNX.4.50L.0302150947570.20371-100000@imladris.surriel .com>
2003-02-15 12:07 ` Mike Galbraith
2003-02-15 16:00 ` Mike Galbraith
-- strict thread matches above, loose matches on Subject: below --
2002-12-09 8:26 2.5.50-mm2 Andrew Morton
[not found] ` <200212092059.06287.tomlins@cam.org>
[not found] ` <3DF54BD7.726993D@digeo.com>
2003-02-14 21:38 ` [PATCH] CFQ scheduler, #2 Ed Tomlinson
2003-02-15 8:33 ` Jens Axboe
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=20030215163550.GO26738@suse.de \
--to=axboe@suse.de \
--cc=efault@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=riel@conectiva.com.br \
/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