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 1MAPkH-0004OI-6j for garchives@archives.gentoo.org; Sat, 30 May 2009 14:41:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59DDEE00F6; Sat, 30 May 2009 14:41:11 +0000 (UTC) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by pigeon.gentoo.org (Postfix) with ESMTP id 1C720E00F6 for ; Sat, 30 May 2009 14:41:11 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 13so2387163fge.14 for ; Sat, 30 May 2009 07:41:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type; bh=MU0lHoEWy9k4S0MmRbsmm5x2EzJoA4NiAvRVuYvinfc=; b=pzl15KGOZ4ycJ9QkyZ/OxMc73I+A97j7YZOnbA378BfcImB8nS0fcTHqJu+oSHUAvB /CEmNExVhUHjogy6AfTJ93cP0/E5w8GekSQfXdgM3+uM+j8OBuWojTxZiJc2wC/NrAxi CpuOxq+pO5t6HzWBW4kn9aCHtOpV0o/s360h8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; b=EAUnI2F9ucJ41UJ+9uhefg5Jw9+VyR0z+HJyuoEZfyR9xfTyr7i8pL/2fBaHNUhK0g HyE9dbfA+CnS4wqvGGJohIGeoapHFKSU0ptbTU9Fg2NQ204TlVV7s4CdfIZWCWyk3/nG JKhD6IreQ55/bVxG6vyDENLT1jiriGb77iADg= Received: by 10.86.70.3 with SMTP id s3mr4216065fga.16.1243694470570; Sat, 30 May 2009 07:41:10 -0700 (PDT) Received: from coercion ([91.191.238.58]) by mx.google.com with ESMTPS id e11sm3347400fga.11.2009.05.30.07.41.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 30 May 2009 07:41:10 -0700 (PDT) Date: Sat, 30 May 2009 20:38:30 +0600 From: Mike Kazantsev To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Optimizations for SSD netbook Message-ID: <20090530203830.3789a94f@coercion> In-Reply-To: <49bf44f10905300708g383cf8e7lbc679a837d5350b3@mail.gmail.com> References: <49bf44f10905291724q740c73caw7fe6623c06377102@mail.gmail.com> <4A211F87.5040607@f_philipp.fastmail.net> <49bf44f10905300708g383cf8e7lbc679a837d5350b3@mail.gmail.com> X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.1; i686-pc-linux-gnu) 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: multipart/signed; micalg=PGP-SHA1; boundary="Sig_//+4FEMfl=Sm8uKTlw+0bHFd"; protocol="application/pgp-signature" X-Archives-Salt: fb3a68f7-bb82-4268-aab4-75f4706b8eb6 X-Archives-Hash: 2326f2fe04cdd2bd60758396bcf04d97 --Sig_//+4FEMfl=Sm8uKTlw+0bHFd Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 30 May 2009 07:08:55 -0700 Grant wrote: > >> 2. added elevator=3Dnoop 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. >=20 > OK, do I need a boot parameter if I've set CFQ as the default IO > scheduler in the kernel config? No, that's what default switch is there for. > > Yup, the entry should read: > > tmp /tmp tmpfs default 0 0 I'd also suggest to explicitly specify max size of tmpfs mount, since system locking because of wrong cp command is probably the last thing you want. Argument is "size=3D" (see man 8 mount). > Do you think mounting /tmp in RAM is worthwhile? Mike doesn't seem to > think too highly of it. I guess accelerated fsync and reduced disk wear should be a nice plus for SSD device, provided the path in question is constanly used for writing which really might be the case with files, created in /tmp by various mktemp implementations (like python's) which I haven't really thought about, so I think I might be wrong about the issue here, sorry. --=20 Mike Kazantsev // fraggod.net --Sig_//+4FEMfl=Sm8uKTlw+0bHFd Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEARECAAYFAkohROoACgkQASbOZpzyXnF4hQCgltmPNVqAbXyfoJByvhn9sjDl OKYAoLRWr2jC14v7F2Bhf227krVep5Aw =hJUl -----END PGP SIGNATURE----- --Sig_//+4FEMfl=Sm8uKTlw+0bHFd--