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 1MANDT-0001UO-Ua for garchives@archives.gentoo.org; Sat, 30 May 2009 11:59:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EEF8AE03C4; Sat, 30 May 2009 11:59:09 +0000 (UTC) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by pigeon.gentoo.org (Postfix) with ESMTP id DFB4EE03C4 for ; Sat, 30 May 2009 11:59:09 +0000 (UTC) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 898453477E7; Sat, 30 May 2009 07:59:09 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Sat, 30 May 2009 07:59:09 -0400 X-Sasl-enc: HhNEcFatKnBIdtQbki959R6AMyiMcEGZ3sF1BIx61n3g 1243684748 Received: from [192.168.5.6] (binarywings.net [92.51.162.90]) by mail.messagingengine.com (Postfix) with ESMTPSA id 475302791E for ; Sat, 30 May 2009 07:59:07 -0400 (EDT) Message-ID: <4A211F87.5040607@f_philipp.fastmail.net> Date: Sat, 30 May 2009 13:59:03 +0200 From: Florian Philipp User-Agent: Thunderbird 2.0.0.21 (X11/20090325) 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] Optimizations for SSD netbook References: <49bf44f10905291724q740c73caw7fe6623c06377102@mail.gmail.com> In-Reply-To: <49bf44f10905291724q740c73caw7fe6623c06377102@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 09e906e9-ad8d-4706-bb7b-268aec82a1de X-Archives-Hash: 636cf12117a0eae9d98f6b516fdbf3ee Grant schrieb: > My girlfriend is at her wit's end with her SSD netbook and is now > hogging my laptop. Her netbook has 1GB RAM that could be upgraded to > 1.5GB, but I've read that it's a pain. It already runs xfce4, and > I've just made these optimizations based on past discussions: > > 1. CFLAGS="-march=prescott -0s -pipe -fomit-frame-pointer -ssse3" > 2. added elevator=noop as a boot parameter I remember that I've given this second advice. Since then I've read in the German computer journal c't [1] that CFQ has a detection for SSDs since 2.6.28 and now is the best choice for these devices. > 3. disabled DRI to save 32MB RAM > 4. removed the swap partition from /etc/fstab > > Am I missing anything significant? I've read that it's good to set up > /tmp in RAM. How can I do that? In /etc/fstab I have: > > shm /dev/shm tmpfs nodev,nosuid,noexec > > Is that related? > Yup, the entry should read: tmp /tmp tmpfs default 0 0 The first entry is just a name. You can name it in every way you want it. For further tweaks: Do you use Firefox? I've read that it uses fsync() when writing to its sqlite backend. This is a really good thing because it reduces the risk of loosing data but you might (and can) disable this to increase performance and reduce wear. I don't have a link at hand but it shouldn't be to hard to find. [1]c't 11/2009 page 101