From: "Mika Penttilä" <mika.penttila@kolumbus.fi>
To: Shantanu Goel <sgoel01@yahoo.com>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [VM PATCH] rotate_reclaimable_page fails frequently
Date: Sun, 05 Feb 2006 19:06:51 +0200 [thread overview]
Message-ID: <43E630AB.6060006@kolumbus.fi> (raw)
In-Reply-To: <20060205150259.1549.qmail@web33007.mail.mud.yahoo.com>
Shantanu Goel wrote:
>Hi,
>
>It seems rotate_reclaimable_page fails most of the
>time due the page not being on the LRU when kswapd
>calls writepage(). The filesystem in my tests is
>ext3. The attached patch against 2.6.16-rc2 moves the
>page to the LRU before calling writepage(). Below are
>results for a write test with:
>
>dd if=/dev/zero of=test bs=1024k count=1024
>
>To trigger the writeback path with the default dirty
>ratios, I set swappiness to 55 and mapped memory to
>about 80%.
>
>w/o patch (/proc/sys/vm/wb_put_lru = 0):
>
>pgrotcalls 25852
>pgrotnonlru 25834
>pgrotated 18
>
>with patch (/proc/sys/vm/wb_put_lru = 1):
>
>pgrotcalls 26616
>pgrotated 26616
>
>Thanks,
>Shantanu
>
>
>__________________________________________________
>
>
I think this BUGs easily because shrink_cache doesn't expect to see
unfreeable pages put back to LRU.
--Mika
next prev parent reply other threads:[~2006-02-05 17:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-05 15:02 [VM PATCH] rotate_reclaimable_page fails frequently Shantanu Goel
2006-02-05 16:39 ` Rik van Riel
2006-02-06 1:47 ` Shantanu Goel
2006-02-06 4:50 ` Andrew Morton
2006-02-06 5:26 ` Shantanu Goel
2006-02-05 17:06 ` Mika Penttilä [this message]
2006-02-06 1:37 ` Shantanu Goel
2006-02-06 1:05 ` Marcelo Tosatti
2006-02-06 6:01 ` Shantanu Goel
2006-02-07 0:37 ` Rik van Riel
2006-02-13 9:03 ` IWAMOTO Toshihiro
2006-02-06 10:46 ` Nick Piggin
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=43E630AB.6060006@kolumbus.fi \
--to=mika.penttila@kolumbus.fi \
--cc=linux-kernel@vger.kernel.org \
--cc=sgoel01@yahoo.com \
/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