lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 5 May 2008 11:34:24 -0700
From:	"Kevin Burton" <burtonator@...il.com>
To:	"FD Cami" <francois.cami@...e.fr>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Ability to limit or disable page caching?

>> 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.

> See this article for an explanation of swappiness :
> http://www.leap-cf.org/oldarchive/2004-May/038622.html
>
>> You could do this with RHEL 4.x but I don't recall this ever making it
>> into 2.6 :-/
>
> AFAIK RHEL 4.x runs 2.6.9.

OK... maybe it was 3.x .. I might be getting confused with their
kernel release numbers.

Kevin

-- 
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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ