Messages in this thread | | | Date | Thu, 14 May 2009 19:42:48 -0400 | From | Rik van Riel <> | Subject | Re: [PATCH -mm] vmscan: protect a fraction of file backed mapped pages from reclaim |
| |
KOSAKI Motohiro wrote:
>>>> The percentage of file backed pages protected is set via >>>> /proc/sys/vm/file_mapped_ratio. This defaults to 20%. >>> Why do you think typical mapped ratio is less than 20% on desktop machine? >> Observation of the typical mapped size of Firefox under KDE. > > My point is, desktop people have very various mapped ratio. > Do you oppose this?
I suspect that the mapped ratio could be much higher on my system. I have only 2GB of RAM dedicated to my dom0 (which is also my desktop) and the amount of page cache often goes down to about 150MB.
At the moment nr_mapped is 26400 and the amount of memory taken up by buffer and page cache together is a little over 300MB. That's close to 50%.
-- All rights reversed.
| |