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.43) id 1E7dcU-000260-Ei for garchives@archives.gentoo.org; Tue, 23 Aug 2005 18:35:34 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7NIX5np020853; Tue, 23 Aug 2005 18:33:05 GMT Received: from amun.rz.tu-clausthal.de (amun.rz.tu-clausthal.de [139.174.2.12]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7NIQSmI026389 for ; Tue, 23 Aug 2005 18:26:28 GMT Received: from amun.rz.tu-clausthal.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 6A59D2D0A03 for ; Tue, 23 Aug 2005 20:27:23 +0200 (CEST) Received: from tu-clausthal.de (hathor.rz.tu-clausthal.de [139.174.2.1]) by amun.rz.tu-clausthal.de (Postfix) with ESMTP id 23E6D2D0A09 for ; Tue, 23 Aug 2005 20:27:23 +0200 (CEST) Received: from energy.heim10.tu-clausthal.de ([139.174.241.94] verified) by tu-clausthal.de (CommuniGate Pro SMTP 4.3.6) with ESMTP id 7271106 for gentoo-user@lists.gentoo.org; Tue, 23 Aug 2005 20:27:23 +0200 From: Volker Armin Hemmann To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Digest of gentoo-user@gentoo.org issue 281 (19228-19277) Date: Tue, 23 Aug 2005 20:27:22 +0200 User-Agent: KMail/1.8.2 References: <200508231402.j7NE1fAj027425@robin.gentoo.org> <4fdd16f70508230958bdcdda5@mail.gmail.com> In-Reply-To: <4fdd16f70508230958bdcdda5@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@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 Content-Disposition: inline Message-Id: <200508232027.22821.volker.armin.hemmann@tu-clausthal.de> X-Virus-Scanned: by PureMessage V4.7 at tu-clausthal.de X-Archives-Salt: ac1f4c13-5ff7-48b8-b2a4-bd016ad5bc62 X-Archives-Hash: 3e01e08c93bffb7f127a41e7634f4c38 On Tuesday 23 August 2005 18:58, karlos wrote: > Hi, > > I have 2 questions: > > 1. How can I change the swap partition after I added some ram to my > computer e.g. 512 MB. I just wonder in case I want to upgrade WITHOUT > destroying anything. Do I just have to write another partition table > and thats it? > no, you don't need to. more ram=less swap used (in an ideal world*) If you need more swap, create a swapfile: dd if=/dev/null of=/tmp/swapfile bs=whatyoulike, count=howmuchyouwant mkswap /tmp/swapfile swapon /tmp/swapfile tada, a lot of swap, no partitioning needed. And with 2.6 a swapfile is not slower than a swap-partition. * Well, until two weeks ago I had 512mb ram and 1gig swap. Even light loaded and swappiness down to 10 - after some hours, there are some kb in swap, while there is pretty much free memory - and they are always the wrong few kb, making everything sluggish. I bought additional 512mb - and nothing changed, after some hours, a lot of ram is free, but linux insistes on putting hundred and something kb into swap. That is veeeery annoying ;) -- gentoo-user@gentoo.org mailing list