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 1QPdTa-00009h-1Y for garchives@archives.gentoo.org; Thu, 26 May 2011 16:31:58 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2FB7C1C030; Thu, 26 May 2011 16:30:20 +0000 (UTC) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id D0B891C030 for ; Thu, 26 May 2011 16:30:19 +0000 (UTC) Received: by bwg12 with SMTP id 12so798715bwg.40 for ; Thu, 26 May 2011 09:30:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:from:to:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=AWG2eKcSjvSa9HJf4u2LpDLy3fFQdqEWUP02MOIIeYw=; b=uc7AHcISLY/3aljmkE4TElW9EgIMyBD/tukwclg0jvPX608xBetyW1Nc5ax5Y95l+T yT5P3Jhfyw6TecEqA/J6+NR/ihO+EJ176LrbusCj/Jnf66sO/F5Uwvfbr7ZUTpMqSziT RRBR8A53OktJq0q41YMhpV4rEZyxtBUnHimwo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:content-type; b=QO3MFgZ2/vQOui7e/hOOUoIhFGqvIidXzh3D2WdInH0zlw4UQmP8mn3zqrhElc9rnu lfi2DmT36/CvWQ7Kh0Pq75xvGpx1IwUZxGBIseZdEmMI3Gs5j79eMkEk08/XVK+hreCN 1Uz6gmSYt1nN94ZpvpwVotEbq2k1TmoMVUL0c= Received: by 10.204.20.66 with SMTP id e2mr824172bkb.141.1306427418909; Thu, 26 May 2011 09:30:18 -0700 (PDT) Received: from localhost.localnet (p4FC74737.dip0.t-ipconnect.de [79.199.71.55]) by mx.google.com with ESMTPS id ag6sm601793bkc.6.2011.05.26.09.30.17 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 26 May 2011 09:30:17 -0700 (PDT) From: Volker Armin Hemmann To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Swap performance Date: Thu, 26 May 2011 18:30:13 +0200 Message-ID: <4588192.VteoqrCya1@localhost> User-Agent: KMail/4.6 rc1 (Linux/2.6.36.4r4; KDE/4.6.3; x86_64; ; ) In-Reply-To: <4DDD8555.2070304@wonkology.org> References: <201105251621.00659.wonko@wonkology.org> <4DDD8555.2070304@wonkology.org> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Archives-Salt: X-Archives-Hash: 7c3a98f8eac4b2fba19bc8f116cc2982 On Thursday 26 May 2011 00:40:21 Alex Schuster wrote: > Paul Hartman writes: > > On Wed, May 25, 2011 at 9:20 AM, Alex Schuster > > wrote: > > > > I can't remember the last time my swap was used at all. I have 12G of > > RAM, but in my prior system with 8G it was the same. Only in a rare > > case when some program had run-away memory usage/memory leak did I > > ever get to swap usage... I'm using vanilla kernel 2.6.39 with no > > patches, no BFS. And I use proprietary nvidia-drivers. I normally > > don't have so many programs running at once, but it happens sometimes. > > Maybe I should have bought 4G instead of 2G, so I'd have 10G, not 8G. > I'm not sure if this is recommended these days, to have one memory bank > with 4G and 3 others with 2G each. > It is very much not recommended nor wise. Sometimes it works great, sometimes it just works, sometimes it burns down your village, rapes your cattle and steals your dad. > > It's growing: 1405m VIRT, 851m RES, 6m SHR. Strange, I did not actually > use the desktop after I wrote the mail you replied to, currently I'm > logged in from remote. and you know that those numbers are pretty much meaningless? about swap: 8gb ram, 24gb swap here. Swap so huge because of historical reasons (started with one disk with 8gb, now there are three...). But not so bad, considering all those tempfs mounts that can shoved in there. Of course I am scared about the shitstorm if that ever happens. I am using the standard scheduler, no fancy io-scheduling stuff, kernel 2.6.36.6 and can't complain. Even after a week of uptime I only get 500mb swap. Some cruft still in memory for some i-dont-know-reasons shoved in the hellhole swap so it won't get in the way of the more important stuff. Like gwenview. Or vlc.