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 1HRUMS-0003dy-1D for garchives@archives.gentoo.org; Wed, 14 Mar 2007 14:21:52 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l2EEK3FM019728; Wed, 14 Mar 2007 14:20:03 GMT Received: from mail.randombit.net (lain.randombit.net [66.179.181.40]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l2EEK1oT019672 for ; Wed, 14 Mar 2007 14:20:02 GMT Received: by mail.randombit.net (Postfix, from userid 501) id 14CBA3B62BD; Wed, 14 Mar 2007 10:20:00 -0400 (EDT) Date: Wed, 14 Mar 2007 10:19:59 -0400 From: Jack Lloyd To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] Is swap need when there is 4g of ram? Message-ID: <20070314141959.GJ839@randombit.net> Mail-Followup-To: gentoo-amd64@lists.gentoo.org References: <45F66A32.1050004@singnet.com.sg> <59541ff30703130546s1bc682f8w6b06e117563c96ad@mail.gmail.com> <20070313141100.GB18489@v.igoro.us> <200703131532.45744.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=us-ascii Content-Disposition: inline In-Reply-To: <200703131532.45744.volker.armin.hemmann@tu-clausthal.de> X-PGP-Fingerprint: 3F69 2E64 6D92 3BBE E7AE 9258 5C0F 96E8 4EC1 6D6B X-PGP-Key: http://www.randombit.net/pgpkey.html User-Agent: Mutt/1.5.11 X-Archives-Salt: 01cf365c-c443-445a-be8d-18e7f53e17f6 X-Archives-Hash: ee6d6472a734f07a60f2b72c056065a7 On Tue, Mar 13, 2007 at 03:32:45PM +0100, Hemmann, Volker Armin wrote: > 50mb in swap - and everything is slow. So slow as if every bit is fetched by a > mule caravan. And it does not matter if it is a swap partition or a swap > file. It is slow. > > But there is an easy way to get the box back to normal speed: swapoff -a && > swapon -a ... Perhaps better to tweak the VM so it is not as swap-happy using /proc/sys/vm/swappiness. See http://kerneltrap.org/node/1044 -- gentoo-amd64@gentoo.org mailing list