linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [BUG?] anyone aware of pagecache issues with 2.6.27?
@ 2011-09-27 15:46 Chris Friesen
  2011-09-27 22:55 ` Stephen Rothwell
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Friesen @ 2011-09-27 15:46 UTC (permalink / raw)
  To: linux-next


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [BUG?] anyone aware of pagecache issues with 2.6.27?
  2011-09-27 15:46 [BUG?] anyone aware of pagecache issues with 2.6.27? Chris Friesen
@ 2011-09-27 22:55 ` Stephen Rothwell
  2011-09-27 22:58   ` Chris Friesen
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2011-09-27 22:55 UTC (permalink / raw)
  To: Chris Friesen; +Cc: linux-next

[-- Attachment #1: Type: text/plain, Size: 359 bytes --]

Hi Chris,

On Tue, 27 Sep 2011 09:46:41 -0600 Chris Friesen <chris.friesen@genband.com> wrote:
>
> I realize this is a long shot, but I figure it's worth a try.

You would be much better off asking this on linux-kernel rather than linux-next.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [BUG?] anyone aware of pagecache issues with 2.6.27?
  2011-09-27 22:55 ` Stephen Rothwell
@ 2011-09-27 22:58   ` Chris Friesen
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Friesen @ 2011-09-27 22:58 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next

On 09/27/2011 04:55 PM, Stephen Rothwell wrote:
> Hi Chris,
>
> On Tue, 27 Sep 2011 09:46:41 -0600 Chris Friesen<chris.friesen@genband.com>  wrote:
>>
>> I realize this is a long shot, but I figure it's worth a try.
>
> You would be much better off asking this on linux-kernel rather than linux-next.

No kidding...obviously didn't catch the erroneous auto-complete.  Sorry 
for the typo.

Chris

-- 
Chris Friesen
Software Developer
GENBAND
chris.friesen@genband.com
www.genband.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-27 22:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-27 15:46 [BUG?] anyone aware of pagecache issues with 2.6.27? Chris Friesen
2011-09-27 22:55 ` Stephen Rothwell
2011-09-27 22:58   ` Chris Friesen

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).