Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756039AbZDXOrf (ORCPT ); Fri, 24 Apr 2009 10:47:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754155AbZDXOrK (ORCPT ); Fri, 24 Apr 2009 10:47:10 -0400 Received: from palinux.external.hp.com ([192.25.206.14]:50957 "EHLO mail.parisc-linux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755361AbZDXOrI (ORCPT ); Fri, 24 Apr 2009 10:47:08 -0400 Date: Fri, 24 Apr 2009 08:47:06 -0600 From: Matthew Wilcox To: Carl Henrik Lunde Cc: "Martin K. Petersen" , Jeff Garzik , Kay Sievers , rwheeler@redhat.com, snitzer@redhat.com, neilb@suse.de, James.Bottomley@hansenpartnership.com, dgilbert@interlog.com, jens.axboe@oracle.com, linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org, LKML Subject: Re: [PATCH 2 of 9] block: Export I/O topology for block devices and partitions Message-ID: <20090424144706.GC1926@parisc-linux.org> References: <72f4e15760670febdb40.1240551143@sermon.lab.mkp.net> <49F1B68D.3010304@garzik.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1694 Lines: 34 On Fri, Apr 24, 2009 at 04:37:17PM +0200, Carl Henrik Lunde wrote: > > On Fri, Apr 24, 2009 at 07:32, Martin K. Petersen wrote: > > +What: ? ? ? ? ?/sys/block//alignment > > +What: ? ? ? ? ?/sys/block///alignment > > +What: ? ? ? ? ?/sys/block//queue/minimum_io_size > > +What: ? ? ? ? ?/sys/block//queue/optimal_io_size > > Would it also be possible and useful to include the number of > spindles/channels, i.e., how many requests the device can handle > concurrently? CFQ could for example serve two time slices > concurrently if you have sequential reads and the device reports two > spindles. This is what we call "creeping featurism" (or other names not as nice). You'll then want to know which data are provided by which spindle. Then you'll want to know how fast each spindle is. Then you'll find that not all storage gives you that information (try asking an EMC Symmetrix how many spindles it has and where data is mapped ...) Let's just get something merged which gives us an improvement. Then you're free to experiment with adding the spindles count yourself, and if you can show a real advantage to it, come back and we can argue over it with data. -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." -- 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/