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 1RgdPF-0000yT-Kh for garchives@archives.gentoo.org; Fri, 30 Dec 2011 14:26:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E55321C058; Fri, 30 Dec 2011 14:25:48 +0000 (UTC) Received: from mail-yw0-f53.google.com (mail-yw0-f53.google.com [209.85.213.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 14E4421C058 for ; Fri, 30 Dec 2011 14:24:44 +0000 (UTC) Received: by yhjj52 with SMTP id j52so9474209yhj.40 for ; Fri, 30 Dec 2011 06:24:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=JrSnfDYEw1qvIw3SfoYXT8kKrFMIk6a6nkwmSK221Rk=; b=e2019pBloJj/mqCV4DwmkZgC/FkdcOu8xh5PYz+6YpARyzDpV/1hTwna16ZlH6gSJY oDUq364wOA7f7xvPQ60eL4gKRbQvb0NuIP4mt24otbLlJHrzlnAhXoEHgPfVPHQMMj3i C1k7gOBOWMDaDMzyoNuKK6m39vpRifpgyJIyg= Received: by 10.236.179.7 with SMTP id g7mr50664674yhm.74.1325255084559; Fri, 30 Dec 2011 06:24:44 -0800 (PST) Received: from [192.168.2.5] (adsl-65-0-65-42.jan.bellsouth.net. [65.0.65.42]) by mx.google.com with ESMTPS id d5sm55134401yhl.19.2011.12.30.06.24.42 (version=SSLv3 cipher=OTHER); Fri, 30 Dec 2011 06:24:43 -0800 (PST) Message-ID: <4EFDC9AA.7030705@gmail.com> Date: Fri, 30 Dec 2011 08:24:42 -0600 From: Dale User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20111022 Firefox/7.0.1 SeaMonkey/2.4.1 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] To swap or not to swap? Is it really needed? References: <20111230004818.4f40ca5d@rohan.example.com> <4EFD68E8.1020702@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 42b09922-003c-48b5-b79c-26f16959bf5e X-Archives-Hash: e74a3de77868db39544a534e55da7fe0 Michael Mol wrote: > On Fri, Dec 30, 2011 at 2:31 AM, Dale wrote: >> Michael Mol wrote: >>> On Thu, Dec 29, 2011 at 9:23 PM, Claudio Roberto Fran=C3=A7a Pereira >>> wrote: >>>> ZRAM is a compressed ramdisk for swap, right? I'm really not >>>> interested currently. >>>> My next system will have 16gb of ram, and I'll create an 8gb ramdisk >>>> on it to increase emerge performance. Other than that, I'm pretty >>>> happy with my system performance, disabling swap and compositing >>>> effects (remember, open source radeon drivers, I might try fglrx aga= in >>>> but I really liked KMS) did the trick. >>> 8GB isn't enough for some packages. Though putting it on top of zram >>> might work. I don't know how you'd calculate the free space, though, >>> and portage would check in advance. >>> >> I have portages work directory on tmpfs and it works fine. I don't ha= ve it >> set to a specific amount so it uses whatever it needs. It even works = fine >> with LOo. I have 16Gbs in all but it rarely uses more than 4Gbs. Of >> course, I don't just sit here and watch it either. I start my updates= and >> usually go to bed. > Hm. tmpfs defaults (at least on my system) to a capacity of about 3GB. > What do you have for mount options in fstab? > > I used to put portage's work directory on tmpfs, but I had to stop > when LO ran out of space in a pre-check, IIRC. Now I have it on top of > a RAID5 it shares with /home. > This is my fstab line: tmpfs /var/tmp/portage tmpfs noatime 0 0 According to df it is this size: tmpfs 8232940 3008 8229932 1% /var/tmp/portage So it defaults to half the ram you have. I read that somewhere so I set=20 mine up that way since from what I read, it can grow if needed. So far,=20 I have had no problems with it set this way. Even LOo compiles with no=20 problems. Right now, I'm having a issue with phonon-gstreamer-4.5.1 so the failed=20 emerge is still there. If it hadn't failed, it would be using 0 space. Dale :-) :-) --=20 I am only responsible for what I said ... Not for what you understood or = how you interpreted my words! Miss the compile output? Hint: EMERGE_DEFAULT_OPTS=3D"--quiet-build=3Dn"