[K12OSN] How to DRASTICALLY speed up app response on K12LTSP
Dan Young
dyoung at mesd.k12.or.us
Fri Oct 5 20:15:49 UTC 2007
On 10/5/07, Jim Kronebusch <jim at winonacotter.org> 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
Yes.
While I'm glad this setting has had positive results for the O.P., the
results of these types of changes are likely to be highly dependent on
your particular environment:
http://kerneltrap.org/node/3000
--
Dan Young <dyoung at mesd.k12.or.us>
Multnomah ESD - Technology Services
503-257-1562
More information about the K12OSN
mailing list