Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750920Ab0AKLZe (ORCPT ); Mon, 11 Jan 2010 06:25:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752432Ab0AKLZd (ORCPT ); Mon, 11 Jan 2010 06:25:33 -0500 Received: from mail-yx0-f187.google.com ([209.85.210.187]:33427 "EHLO mail-yx0-f187.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750958Ab0AKLZc (ORCPT ); Mon, 11 Jan 2010 06:25:32 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=Z8mAyjqzoGn0PoVWBDzqcn0yR7NgZUA20TcDAuZvlqgmlHlxqfblo4X7VpC+dg+K0D +SrOELdK8q/1w3HVcriNiGImoutYNvvq7Ik+dH/Ri1DGYYH+mT7SFKpvBbsEBuWW6nBw fmTE5ac/20uvaakvE5O8gKAiftVIP/XYOKia0= Message-ID: <4B4B0AA9.5020900@garzik.org> Date: Mon, 11 Jan 2010 06:25:29 -0500 From: Jeff Garzik User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-3.fc11 Thunderbird/3.0 MIME-Version: 1.0 To: Corrado Zoccolo CC: Jens Axboe , Linux-Kernel , Jeff Moyer , Vivek Goyal , Shaohua Li , Gui Jianfeng Subject: Re: [PATCH] cfq-iosched: NCQ SSDs do not need read queue merging References: <1262211768-10858-1-git-send-email-czoccolo@gmail.com> <1263157461-12294-1-git-send-email-czoccolo@gmail.com> In-Reply-To: <1263157461-12294-1-git-send-email-czoccolo@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 902 Lines: 28 On 01/10/2010 04:04 PM, Corrado Zoccolo wrote: > NCQ SSDs' performances are not affected by > distance of read requests, so there is no point in having > overhead to merge such queues. > > Non-NCQ SSDs showed regression in some special cases, so > they are ruled out by this patch. > > This patch intentionally doesn't affect writes, so > it changes the queued[] field, to be indexed by > READ/WRITE instead of SYNC/ASYNC, and only compute proximity > for queues with WRITE requests. > > Signed-off-by: Corrado Zoccolo That's not really true. Overhead always increases as the total number of ATA commands issued increases. Jeff -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/