From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HRXHz-0001Q7-Pe for garchives@archives.gentoo.org; Wed, 14 Mar 2007 17:29:28 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l2EHQBYf032685; Wed, 14 Mar 2007 17:26:11 GMT Received: from stud3.tuwien.ac.at (stud3.tuwien.ac.at [193.170.75.13]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l2EHQAEk032658 for ; Wed, 14 Mar 2007 17:26:11 GMT Received: from myeth1 (chello062178207208.8.15.tuwien.teleweb.at [62.178.207.208]) by stud3.tuwien.ac.at (8.9.3 (PHNE_29774)/8.9.3) with ESMTP id SAA13947 for ; Wed, 14 Mar 2007 18:26:09 +0100 (MET) From: Bernhard Auzinger To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] Is swap need when there is 4g of ram? Date: Wed, 14 Mar 2007 18:26:12 +0100 User-Agent: KMail/1.9.6 References: <45F66A32.1050004@singnet.com.sg> <20070314141959.GJ839@randombit.net> <200703141801.41515.volker.armin.hemmann@tu-clausthal.de> In-Reply-To: <200703141801.41515.volker.armin.hemmann@tu-clausthal.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703141826.12918.e0026053@student.tuwien.ac.at> X-Archives-Salt: f7ca3216-4345-475d-9b67-7125789b02c0 X-Archives-Hash: 6b7d0028dd6c517e479d72ae4b30852e > swappiness does not help, if swap is really needed (like when compiling > kdepim). I did not reconize yet that kdepim is that hungry at compile time :). > The 'stupid' thing is, as soon as swap is used, it stays that way, > no matter how many hundred mb of ram are free. The reason for that behaviour is, that in my opinion it would be nonsense to delete things from the swap when there is enough swap space free. But I think you can be sure that if there is enough ram free that the things will also be in the ram again. Things are kept (duplicated) in the swap space if there is enough swap because it's faster when it's necessary to swap out the same things again, I think. That's just a theory. I don't know for sure if I'm right. rgds Bernhar -- gentoo-amd64@gentoo.org mailing list