login
Header Space

 
 

Re: Ability to limit or disable page caching?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Kevin Burton <burton@...>
Cc: FD Cami <francois.cami@...>, <linux-kernel@...>
Date: Monday, May 5, 2008 - 4:10 pm

"Kevin Burton" <burton@tailrank.com> writes:

FYI page cache includes the memory your program uses. No page 
cache would mean no user space, 10% would mean user space uses only
10%. One way that would fulfil your request literally is to boot with 
mem=<10% of your ram>, but I guess you don't really want that.

If you don't want your application to be swapped at all you
should probably investigate mlock(2)/mlockall(2)

-Andi
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Ability to limit or disable page caching?, Kevin Burton, (Mon May 5, 3:12 am)
Re: Ability to limit or disable page caching?, FD Cami, (Mon May 5, 7:16 am)
Re: Ability to limit or disable page caching?, Kevin Burton, (Mon May 5, 2:34 pm)
Re: Ability to limit or disable page caching?, FD Cami, (Mon May 5, 3:28 pm)
Re: Ability to limit or disable page caching?, Tomasz Kłoczko, (Tue May 6, 7:02 am)
Re: Ability to limit or disable page caching?, Kevin Burton, (Mon May 5, 3:42 pm)
Re: Ability to limit or disable page caching?, Rik van Riel, (Mon May 5, 4:44 pm)
Re: Ability to limit or disable page caching?, Chris Friesen, (Mon May 5, 5:03 pm)
Re: Ability to limit or disable page caching?, Kevin Burton, (Mon May 5, 5:32 pm)
Re: Ability to limit or disable page caching?, Rik van Riel, (Mon May 5, 6:06 pm)
Re: Ability to limit or disable page caching?, Kevin Burton, (Mon May 5, 5:00 pm)
split LRU kernel RPM, Rik van Riel, (Wed May 7, 10:08 pm)
Re: Ability to limit or disable page caching?, Rik van Riel, (Mon May 5, 6:08 pm)
Re: Ability to limit or disable page caching?, Kevin Burton, (Mon May 5, 6:15 pm)
Re: Ability to limit or disable page caching?, Andi Kleen, (Mon May 5, 4:10 pm)
Re: Ability to limit or disable page caching?, Bernd Eckenfels, (Mon May 5, 5:24 pm)
Re: Ability to limit or disable page caching?, Kevin Burton, (Mon May 5, 4:28 pm)
Re: Ability to limit or disable page caching?, Kevin Burton, (Mon May 5, 4:31 pm)
Re: Ability to limit or disable page caching?, Kevin Burton, (Mon May 5, 4:40 pm)
Re: Ability to limit or disable page caching?, Andi Kleen, (Mon May 5, 8:23 pm)
Re: Ability to limit or disable page caching?, Kevin Burton, (Mon May 5, 8:30 pm)
Re: Ability to limit or disable page caching?, Kevin Burton, (Mon May 5, 3:33 pm)
speck-geostationary