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 1MASyl-00070z-1A for garchives@archives.gentoo.org; Sat, 30 May 2009 18:08:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E611E031A; Sat, 30 May 2009 18:08:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 510FBE031A for ; Sat, 30 May 2009 18:08:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id E809465557 for ; Sat, 30 May 2009 18:08:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.473 X-Spam-Level: X-Spam-Status: No, score=-3.473 required=5.5 tests=[AWL=0.126, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2pgmqjIMIC5c for ; Sat, 30 May 2009 18:08:14 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id C5B65641DF for ; Sat, 30 May 2009 18:08:12 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MASyX-0002Jv-Md for gentoo-user@gentoo.org; Sat, 30 May 2009 18:08:09 +0000 Received: from athedsl-384426.home.otenet.gr ([79.131.53.168]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 30 May 2009 18:08:09 +0000 Received: from realnc by athedsl-384426.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 30 May 2009 18:08:09 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: Disabling swap & mounting /tmp on tmpfs = new standard? Date: Sat, 30 May 2009 21:08:14 +0300 Organization: Lucas Barks Message-ID: References: <49bf44f10905301038v244d6209t37520ea5a956e388@mail.gmail.com> 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; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-384426.home.otenet.gr User-Agent: Thunderbird 2.0.0.21 (X11/20090429) In-Reply-To: <49bf44f10905301038v244d6209t37520ea5a956e388@mail.gmail.com> Sender: news X-Archives-Salt: 7137fecd-69bd-4ce1-a9ab-2735e03b99a7 X-Archives-Hash: ec8bca50b6bc5f22e1171103e2401e53 Grant wrote: > I recently disabled swap and mounted /tmp on tmpfs for a netbook since > the SSD is so slow, and now I'm wondering if that would be a wise move > for all of my Gentoo systems. In what type of situation would it be a > bad idea? Instead of disabling swap, just make it small (like 32MB or something; whatever the smallest allowable partition size is). The kernel needs swap to operate optimally, even if it's extremely small. Just make sure it's there. Mounting /tmp as tmpfs improves speed, so no problems there. You might want to mount /var/tmp/portage as tmpfs too, that will give nice speed gains during emerge (if you have the RAM for it; a 2GB /var/tmp/portage should be enough for almost anything except OpenOffice, you'll have to umount to emerge that one.)