[K12OSN] How to DRASTICALLY speed up app response on K12LTSP
"Terrell Prudé Jr."
microman at cmosnetworks.com
Fri Oct 5 20:36:21 UTC 2007
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 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
>
Thanks, Eric. Just fixed mine in accordance with this.
--TP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20071005/4a36a52a/attachment.htm>
More information about the K12OSN
mailing list