Try setting vm.swappiness = 0 in /etc/sysctl.conf . The default is 60.
The smaller the value, the more reluctant the kernel will be to swap.
Range is 0...100 .

On Mon, 2005-04-04 at 17:35 +0200, Volker Armin Hemmann wrote:
> Hi,
> On Monday 04 April 2005 17:24, Christoph Gysin wrote:
> > Volker Armin Hemmann wrote:
> > > How do I get my performance back? Easy: swapoff -a && swapon -a and
> > > bingo, KDE is lighting fast again.
> >
> > What about not using swap at all? With 1 gig RAM on your desktop machine,
> > are you ever going to fill up your RAM entirely? If swapping on linux
> > sucks, disable it.
> >
> > Of course this is not recommended on a production server ;-)
> >
> > Christoph
> 
> because when I compile HUGEAPP I sometimes need some swap. I also 
> experimented 
> a little bit with swsusp (without much success), and I think it is better to 
> have a slowdown, than the oom-killer killing the wrong app ...
> 
> --
> gentoo-user@gentoo.org mailing list
> 
> 
-- 
Ivan Yosifov.

--
gentoo-user@gentoo.org mailing list

Reply via email to