Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754768Ab3JWArq (ORCPT ); Tue, 22 Oct 2013 20:47:46 -0400 Received: from mail-vc0-f195.google.com ([209.85.220.195]:49896 "EHLO mail-vc0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753655Ab3JWArp (ORCPT ); Tue, 22 Oct 2013 20:47:45 -0400 MIME-Version: 1.0 Date: Wed, 23 Oct 2013 08:47:44 +0800 Message-ID: Subject: A thought about IO scheduler in linux kernel for SSD From: =?GB2312?B?uqvA2g==?= To: linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 885 Lines: 21 Nowadays,the IO schedulers in linux kernel have four types: deadline,noop,Anticiptory and CFQ.CFQ is the default scheduler.But CFQ is not a good scheduler for SSD,dealine may be a good choice. When deadline runs,it has a mount of computation about merging and sorting.Merge has three types: front_merge,no_merge and back_merge. Why don't have another type: merge based same sector.For example,it have two bios in a request list,theyboth have the same bi->sector,the bi->size maybe not equal. Whether can we put the latter bio replace the former?What do you find that significant?Or the other levels in OS has finished this function? -- 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/