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 1MAUBT-0003EV-3K for garchives@archives.gentoo.org; Sat, 30 May 2009 19:25:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E873E03AF; Sat, 30 May 2009 19:25:33 +0000 (UTC) Received: from mail.caf.com.tr (mail.caf.com.tr [88.250.85.68]) by pigeon.gentoo.org (Postfix) with ESMTP id E081CE03AF for ; Sat, 30 May 2009 19:25:32 +0000 (UTC) Received: from localhost (sunny.caf.com.tr [127.0.0.1]) by mail.caf.com.tr (Postfix) with ESMTP id 004B139E370 for ; Sat, 30 May 2009 19:25:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at caf.com.tr Received: from mail.caf.com.tr ([127.0.0.1]) by localhost (sunny.caf.com.tr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DH7C8OF1SQer for ; Sat, 30 May 2009 19:25:30 +0000 (UTC) Received: from zptr-nb01.caf.com.tr (unknown [88.234.121.71]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: eray.aslan@zeplin.net) by mail.caf.com.tr (Postfix) with ESMTPSA id 5874039E355 for ; Sat, 30 May 2009 19:25:30 +0000 (UTC) Received: by zptr-nb01.caf.com.tr (Postfix, from userid 1000) id 99907236EF; Sat, 30 May 2009 22:25:29 +0300 (EEST) Date: Sat, 30 May 2009 22:25:29 +0300 From: Eray Aslan To: gentoo-user@lists.gentoo.org Subject: Re: Tweaks for SSDs [Was: [gentoo-user] [ot] no more inodes] Message-ID: <20090530192529.GE5826@zptr-nb01> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <4A1EB8F9.3080905@f_philipp.fastmail.net> <200905290412.13311.volkerarmin@googlemail.com> <4A21050C.4080201@f_philipp.fastmail.net> <20090530144034.525f1aba@krikkit.digimed.co.uk> 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=utf-8 Content-Disposition: inline In-Reply-To: <20090530144034.525f1aba@krikkit.digimed.co.uk> User-Agent: Mutt/1.5.19 (2009-01-05) X-Archives-Salt: 5a0d377e-2136-491a-ae17-129c984ea371 X-Archives-Hash: 122378c4222064cf2122743d22ee895f On Sat, May 30, 2009 at 02:40:34PM +0100, Neil Bothwick wrote: > On Sat, 30 May 2009 12:06:04 +0200, Florian Philipp wrote: > > > Delaying commits with ext4 and/or laptop-mode will reduce the wear-down > > of your SSD but it might as well freeze your system when the actual > > commit takes place because these things tend to have a terribly low > > write performance. > > That may explain the pauses I get from time to time. Maybe shortening the > commit period will help. Couple of points regarding the pauses, SSDs, schedulers and ext3/ext4: * try ext4 with its delayed allocation. It should help with pauses * ext3 with data=writeback should help. Some security implications with data=writeback tho. So be careful if it is not a single user machine. * Deadline scheduler has more throughput than CFQ or anticipatory but it is totally unusable under load * A lot of patches to ext3 and ext4 for a/m pauses and SSDs. Some made it to kernel 2.6.30 I believe. * Try CFQ and NOOP as schedulers for SSDs for now. After the above patches, CFQ should be the better choice. Basically, a lot of changes to ext3/ext4 and schedulers at the moment. I would wait for at least kernel 2.6.31 before trying alternatives and making decisions. > Or I could try btrfs, which has an ssd mount option. Ugh. Even on-disk format is not finalized yet. -- Eray