From: "Benjamin S." Subject: Re: bad performance with SSD since kernel version 2.6.32 Date: Mon, 22 Feb 2010 14:18:02 +0100 Message-ID: <20100222141802.2bcbf607@pluto-lenny.milky.way> References: <20100220142826.62dd5989@pluto-lenny.milky.way> <4B802B54.1080009@gmail.com> <20100221022613.1096fd12@uranus> <51f3faa71002210922i542c37f0j9e0e4a84d0977f90@mail.gmail.com> <20100221225544.5a9ded51@pluto-lenny.milky.way> <51f3faa71002211400u2177660ei1c0dc3d9306b146e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from mail.gmx.net ([213.165.64.20]:47914 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752102Ab0BVNSJ (ORCPT ); Mon, 22 Feb 2010 08:18:09 -0500 In-Reply-To: <51f3faa71002211400u2177660ei1c0dc3d9306b146e@mail.gmail.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Robert Hancock Cc: Jeff Garzik , linux-ide@vger.kernel.org, Jens Axboe On Sun, 21 Feb 2010 16:00:35 -0600 Robert Hancock wrote: > Hmm.. Well, that's not it then.. I suspect a bisection is likely the > easiest route at this point.. fb1e75389bd06fd5987e9cda1b4e0305c782f854 is the first bad commit commit fb1e75389bd06fd5987e9cda1b4e0305c782f854 Author: Jens Axboe Date: Thu Jul 30 08:18:24 2009 +0200 block: improve queue_should_plug() by looking at IO depths Instead of just checking whether this device uses block layer tagging, we can improve the detection by looking at the maximum queue depth it has reached. If that crosses 4, then deem it a queuing device. This is important on high IOPS devices, since plugging hurts the performance there (it can be as much as 10-15% of the sys time). Signed-off-by: Jens Axboe http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=fb1e75389bd06fd5987e9cda1b4e0305c782f854 Without that patch my SSD (Super Talent Ultradrive GX MLC 64GB) reaches about 200MB/s sequentiell read. After applying the patch it reaches only 70MB/s. Note: Added Jens to CC.