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 1HR86Z-0000CU-R2 for garchives@archives.gentoo.org; Tue, 13 Mar 2007 14:36:00 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l2DEWpa4008129; Tue, 13 Mar 2007 14:32:51 GMT Received: from poseidon.rz.tu-clausthal.de (poseidon.rz.tu-clausthal.de [139.174.2.21]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l2DEWnqe008106 for ; Tue, 13 Mar 2007 14:32:50 GMT Received: from poseidon.rz.tu-clausthal.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 441E2206CC7 for ; Tue, 13 Mar 2007 15:32:49 +0100 (CET) Received: from tu-clausthal.de (poseidon [139.174.2.21]) by poseidon.rz.tu-clausthal.de (Postfix) with ESMTP id 613D1206702 for ; Tue, 13 Mar 2007 15:32:46 +0100 (CET) Received: from energy.heim10.tu-clausthal.de (account wevah [139.174.241.94] verified) by tu-clausthal.de (CommuniGate Pro SMTP 5.1.7) with ESMTPSA id 21337886 for gentoo-amd64@lists.gentoo.org; Tue, 13 Mar 2007 15:32:46 +0100 From: "Hemmann, Volker Armin" To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] Is swap need when there is 4g of ram? Date: Tue, 13 Mar 2007 15:32:45 +0100 User-Agent: KMail/1.9.6 References: <45F66A32.1050004@singnet.com.sg> <59541ff30703130546s1bc682f8w6b06e117563c96ad@mail.gmail.com> <20070313141100.GB18489@v.igoro.us> In-Reply-To: <20070313141100.GB18489@v.igoro.us> 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: quoted-printable Content-Disposition: inline Message-Id: <200703131532.45744.volker.armin.hemmann@tu-clausthal.de> X-Virus-Scanned: by PureMessage V4.7 at tu-clausthal.de X-Archives-Salt: 67297ae1-7eb8-4bf2-afc6-0bd02caf016c X-Archives-Hash: 63cb43cd43cb8c32346d43d1ce63b5c4 On Dienstag, 13. M=E4rz 2007, dustin@v.igoro.us wrote: > On Tue, Mar 13, 2007 at 09:46:39AM -0300, Joaquim Quinteiro Uchoa wrote: > > Anthony is really right: it depends if you need swap. In a server with > > 30 users, > > problably not, even in the case where the access is simultaneous (by > > experience with servers with 2GB of RAM and 2GB of swap). > > One of the benefits of swap is that unused application text, data, etc. > can be paged out in a fairly permanent fashion. Without swap, that > stuff has to sit in RAM, even if it's not touched for hours or days. > no it has not to stay in ram. Unused stuff that is not 'dirty' IE identical= to=20 the stuff on harddisk, can be kicked out of ram, when the space is needed. And for some funny reason, loading something out of swap is much slower tha= n=20 loading it from the fs.... 50mb in swap - and everything is slow. So slow as if every bit is fetched b= y a=20 mule caravan. And it does not matter if it is a swap partition or a swap=20 file. It is slow.=20 But there is an easy way to get the box back to normal speed: swapoff -a &&= =20 swapon -a ... -- gentoo-amd64@gentoo.org mailing list