From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QPEvg-0001gk-NL for garchives@archives.gentoo.org; Wed, 25 May 2011 14:19:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 984D01C0B2; Wed, 25 May 2011 14:17:38 +0000 (UTC) Received: from mx.virtyou.com (mx.virtyou.com [94.23.166.77]) by pigeon.gentoo.org (Postfix) with ESMTP id 6068B1C0B2 for ; Wed, 25 May 2011 14:17:38 +0000 (UTC) Received: from weird.localnet (p5B275224.dip.t-dialin.net [91.39.82.36]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx.virtyou.com (Postfix) with ESMTPSA id B5D0439A005 for ; Wed, 25 May 2011 16:17:37 +0200 (CEST) From: Alex Schuster To: gentoo-user@lists.gentoo.org Subject: Swap performance (was: Re: [gentoo-user] Re: pf-sources Kernel) Date: Wed, 25 May 2011 16:17:32 +0200 User-Agent: KMail/1.13.7 (Linux/2.6.38-pf8; KDE/4.6.3; x86_64; ; ) References: <201105251412.06384.wonko@wonkology.org> In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201105251617.35074.wonko@wonkology.org> X-Archives-Salt: X-Archives-Hash: 2b6b4a82c4f8e62665a27125891d0df0 Nikos Chantziaras writes: > On 05/25/2011 03:12 PM, Alex Schuster wrote: > > [...] Now I have 8G, and > > do not notice that much swapping any more. Although... right now, swap > > is at 600M, and the system is swapping right now. Weird. I'm running > > rdiff- backup, this seems to increase swap size. Maybe too much of the > > stuff it precesses is being cached? Swap is at 800M now. > > You can tweak this in /etc/sysctl.conf: > > vm.swappiness = 30 > > Or maybe 20. The default is 60. IMO way too high for desktop systems. Good idea, but I'm using 20 already. I'll start another thread about this. Wonko