[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



Eric Harrison wrote:
Jim Kronebusch wrote:
  
On Fri, 5 Oct 2007 07:53:53 -0700, Dan Young wrote
    
On 10/5/07, "Terrell Prudé Jr." <microman 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
  

Thanks, Eric.  Just fixed mine in accordance with this.

--TP

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]