[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.BSO.4.63.0805061302080.3770@rudy.mif.pg.gda.pl>
Date: Tue, 6 May 2008 13:02:55 +0200 (CEST)
From: Tomasz Kłoczko <kloczek@...y.mif.pg.gda.pl>
To: FD Cami <francois.cami@...e.fr>
cc: Kevin Burton <burtonator@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: Ability to limit or disable page caching?
On Mon, 5 May 2008, FD Cami wrote:
> On Mon, 5 May 2008 11:34:24 -0700
> "Kevin Burton" <burtonator@...il.com> wrote:
>
>>>> In the mean time is it possible to disable the page cache or limit it
>>>> to say 10% of system memory?
>>>
>>> You might want to look at /proc/sys/vm/ for tunables.
>>> /proc/sys/vm/vfs_cache_pressure and /proc/sys/vm/swappiness are probably
>>> what you are looking for.
>>
>> I haven't played with vfs_cache_pressure so I'll take a look at this.
>>
>> Unfortunately, swappiness doesn't work as intended.
>
> Could you explain the original problem ? That way we might help you better.
Probably it is something like this:
http://blogs.smugmug.com/don/2008/05/01/mysql-and-the-linux-swap-problem/
kloczek
--
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko | *e-mail: kloczek@...y.mif.pg.gda.pl*
Powered by blists - more mailing lists