Gentoo Archives: gentoo-user

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-user@l.g.o
Subject: Swap performance (was: Re: [gentoo-user] Re: pf-sources Kernel)
Date: Wed, 25 May 2011 14:19:20
Message-Id: 201105251617.35074.wonko@wonkology.org
In Reply to: [gentoo-user] Re: pf-sources Kernel by Nikos Chantziaras
1 Nikos Chantziaras writes:
2
3 > On 05/25/2011 03:12 PM, Alex Schuster wrote:
4 > > [...] Now I have 8G, and
5 > > do not notice that much swapping any more. Although... right now, swap
6 > > is at 600M, and the system is swapping right now. Weird. I'm running
7 > > rdiff- backup, this seems to increase swap size. Maybe too much of the
8 > > stuff it precesses is being cached? Swap is at 800M now.
9 >
10 > You can tweak this in /etc/sysctl.conf:
11 >
12 > vm.swappiness = 30
13 >
14 > Or maybe 20. The default is 60. IMO way too high for desktop systems.
15
16 Good idea, but I'm using 20 already.
17
18 I'll start another thread about this.
19
20 Wonko