login
Header Space

 
 

Re: Ability to limit or disable page caching?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andi Kleen <andi@...>
Cc: FD Cami <francois.cami@...>, <linux-kernel@...>
Date: Monday, May 5, 2008 - 4:40 pm

... and here's another point I don't fully grok:

http://www.westnet.com/~gsmith/content/linux-pdflush.htm

"By default, Linux will aggressively swap processes out of physical
memory onto disk in order to keep the disk cache as large as possible.
This means that pages that haven't been used recently will be pushed
into swap long before the system even comes close to running out of
memory, which is an unexpected behavior compared to some operating
systems. The /proc/sys/vm/swappiness parameter controls how aggressive
Linux is in this area. "

...

"A value of 0 will avoid ever swapping out just for caching space.
Using 100 will always favor making the disk cache bigger. Most
distributions set this value to be 60, tuned toward moderately
aggressive swapping to increase disk cache. "

..... but we're running on zero and this machine still has 500MB of
free memory.  Why is it swapping?

Kevin

On Mon, May 5, 2008 at 1:31 PM, Kevin Burton <burton@tailrank.com> wrote:



-- 
Founder/CEO Tailrank.com
Location: San Francisco, CA
AIM/YIM: sfburtonator
Skype: burtonator
Work: http://spinn3r.com and http://tailrank.com
Blog: http://feedblog.org
Cell: 415-637-8078
Fax: 1-415-358-419 PIN: 0092
--
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