Re: Ability to limit or disable page caching?

From: Kevin Burton
Date: Mon May 05 2008 - 16:32:19 EST


Though mlockall isn't going to fix this problem because the OOM killer
will still kill it if it runs out of memory.

I want to preserve the scenario where we go 10 bytes over memory and
the kernel just swaps out those 10 bytes.

Kevin

On Mon, May 5, 2008 at 1:28 PM, Kevin Burton <burton@xxxxxxxxxxxx> wrote:
> We're actually running mlock which is native to MySQL.... of course I
> didn't think about whether our secondary process is paging not our
> MySQL process.


--
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/