[K12OSN] How to DRASTICALLY speed up app response on K12LTSP

Eric Harrison eharrison at mail.mesd.k12.or.us
Fri Oct 5 20:32:02 UTC 2007


Jim Kronebusch wrote:
> On Fri, 5 Oct 2007 07:53:53 -0700, Dan Young wrote
>> On 10/5/07, "Terrell Prudé Jr." <microman at cmosnetworks.com> wrote:
>>>  /sbin/sysctl -w vm.swappiness=1    (default is 60)
>>>  /sbin/sysctl -w vm.vfs_cache_pressure=50   (default is 100)
>> If you want those kind of changes to persist between reboots, you must add
>> them to /etc/sysctl.conf
> 
> So in /etc/sysctl.conf you would just add the following two lines"
> 
> vm.swappiness=1
> vm.vfs_cache_pressure=50
> 
> Thanks,
> Jim
> 

Close. You need spaces around the "="

vm.swappiness = 1
vm.vfs_cache_pressure = 50


I learned this one the hard way, it drove me nuts one day ;-)

-Eric




More information about the K12OSN mailing list