[lkml]   [2013]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: mmap vs fs cache
Howard Chu wrote:
> Howard Chu wrote:
>> Howard Chu wrote:
>>> 2 questions:
>>> why is there data in the FS cache that isn't owned by (the mmap of) the
>>> process that caused it to be paged in in the first place?
>>> is there a tunable knob to discourage the page cache from stealing from the
>>> process?
>> This Unmapped page cache control sounds like
>> it might have been helpful here. I.e., having a way to prioritize so that
>> unmapped cache pages get reclaimed in preference to mapped pages could help.
>> Though I still don't understand why these pages in the cache aren't mapped in
>> the first place.
> As implied by this post
> setting
> swappiness to 0 seems to give the desired effect of preventing mapped pages
> from being reclaimed.

I spoke too soon, after a few minutes of load the process size started
shrinking again. My original questions still stand.

-- Howard Chu
CTO, Symas Corp.
Director, Highland Sun
Chief Architect, OpenLDAP

 \ /
  Last update: 2013-03-06 12:01    [W:0.052 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site