login
Header Space

 
 

Re: Ability to limit or disable page caching?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Rik van Riel <riel@...>
Cc: FD Cami <francois.cami@...>, <linux-kernel@...>
Date: Monday, May 5, 2008 - 6:15 pm

Note that this is part of a larger thread:

http://blogs.smugmug.com/don/2008/05/01/mysql-and-the-linux-swap-problem/

...

and my older post on the subject:

http://feedblog.org/2007/09/29/using-o_direct-on-linux-and-innodb-to-fix-swap-insanity...

mlockall DOES help solve this problem but then MySQL is forced to stay
in memory.

If you have too many connections to the server and it mallocs more
memory and the system can't page anything else it will OOM kill your
mysqld process.

It's MUCH better to have MySQL dip 100MB into swap first....

Kevin

On Mon, May 5, 2008 at 3:08 PM, Rik van Riel <riel@redhat.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