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 1Pw9VK-0007NH-Rp for garchives@archives.gentoo.org; Sun, 06 Mar 2011 08:39:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CE3381C020; Sun, 6 Mar 2011 08:38:14 +0000 (UTC) Received: from mail.ukfsn.org (mail.ukfsn.org [77.75.108.10]) by pigeon.gentoo.org (Postfix) with ESMTP id 917AC1C020 for ; Sun, 6 Mar 2011 08:38:14 +0000 (UTC) Received: from localhost (smtp-filter.ukfsn.org [192.168.54.205]) by mail.ukfsn.org (Postfix) with ESMTP id 7A6CADEBD5 for ; Sun, 6 Mar 2011 08:38:13 +0000 (GMT) Received: from mail.ukfsn.org ([192.168.54.25]) by localhost (smtp-filter.ukfsn.org [192.168.54.205]) (amavisd-new, port 10024) with ESMTP id G-pQkieQTWB8 for ; Sun, 6 Mar 2011 08:38:13 +0000 (GMT) Received: from wstn.localnet (unknown [78.32.181.186]) by mail.ukfsn.org (Postfix) with ESMTP id 4976DDEBD4 for ; Sun, 6 Mar 2011 08:38:13 +0000 (GMT) From: Peter Humphrey Organization: at home To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: [gentoo-laptop] mounts options on a laptop Date: Sun, 6 Mar 2011 08:38:12 +0000 User-Agent: KMail/1.13.5 (Linux/2.6.36-gentoo-r5; KDE/4.4.5; x86_64; ; ) References: <201103051148.18068.stephane@22decembre.eu> <201103051316.23964.stephane@22decembre.eu> In-Reply-To: <201103051316.23964.stephane@22decembre.eu> 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 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201103060838.12509.peter@humphrey.ukfsn.org> X-Archives-Salt: X-Archives-Hash: c55ec41cf6740745192d3726da12dfba On Saturday 05 March 2011 12:16:23 St=E9phane Guedon wrote: > On Saturday 05 March 2011 12:47:39 Kent Hagebrand wrote: (Odd: I haven't received this e-mail.) > > Yes, I use tmpfs on /vat/tmp/portage to reduce the disk i/o on my > > laptop. Here is the line I use in the /etc/fstab: > >=20 > > none /var/tmp/portage tmpfs nr_inodes=3D1M,size=3D2G = =20 > > 0 0 > >=20 > > This will allow the directory /var/tmp/portage to use at most 2GB of > > memory (I have 4GB). > > It is enough to compile most of the packages in portage. I've found that it isn't necessary to limit the tmpfs to half your RAM. I=20 had it set to 6 GB on this box with 4 GB RAM. The kernel seems effective at= =20 managing this arrangement, swapping out to disk when needed - which, as you= =20 say, isn't often. When it does that I only find out by running top; it has = no=20 discernible effect on the desktop. =2D-=20 Rgds Peter