From: Chris Friesen <chris.friesen@genband.com>
To: linux-next@vger.kernel.org
Subject: [BUG?] anyone aware of pagecache issues with 2.6.27?
Date: Tue, 27 Sep 2011 09:46:41 -0600 [thread overview]
Message-ID: <4E81EFE1.9090000@genband.com> (raw)
I realize this is a long shot, but I figure it's worth a try.
What we're seeing is that "cached" gets large (several gigs) and "free"
gets small, and when we get into this state our system responsiveness
starts dropping. If I do "echo 3 > /proc/sys/vm/drop_caches", then it
immediately frees up a couple gig of memory and things work as expected.
Based on the fact that memory is immediately reclaimable from the cache
it appears that the bulk of the cache is clean pages. This shouldn't
have a major impact on memory allocation, but at least on this setup it
does. It seems like there is something not quite right about the
mechanism that reclaims clean pages from the cache. Is anyone aware of
issues in this area for 2.6.27-vintage kernels?
Is there a way to limit how much memory gets used for the page cache?
drop_caches seems to help, but it's a really big hammer.
System details:
2.6.27 kernel, x86-64, 8GB RAM, no swap. Root is on a tmpfs filesystem,
local disks are used for miscellaneous stuff including /var/log, we have
some sizeable network-mounted filesystems.
/proc/sys/vm/overcommit_memory is set to 2, with overcommit_ratio set to
100.
Thanks,
Chris
--
Chris Friesen
Software Developer
GENBAND
chris.friesen@genband.com
www.genband.com
next reply other threads:[~2011-09-27 16:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-27 15:46 Chris Friesen [this message]
2011-09-27 22:55 ` [BUG?] anyone aware of pagecache issues with 2.6.27? Stephen Rothwell
2011-09-27 22:58 ` Chris Friesen
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=4E81EFE1.9090000@genband.com \
--to=chris.friesen@genband.com \
--cc=linux-next@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).