lkml.org 
[lkml]   [2012]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH] block: Change default IO scheduler to deadline except SATA
On Tue, Apr 10, 2012 at 08:41:08PM +0200, Jens Axboe wrote:

[..]
> > So we are back to the question of can scsi devices find out if a Lun
> > is backed by single disk or multiple disks.
>
> The cleanest would be to have the driver signal these attributes at
> probe time. You could even adjust CFQ properties based on this, driving
> the queue depth harder etc. Realistically, going forward, most fast
> flash devices will be driven by a noop-like scheduler on multiqueue. So
> CPU cost of the IO scheduler can mostly be ignored, since CFQ cost on
> even big RAIDs isn't an issue due to the low IOPS rates.

Agreed that on RAID CPU cost is not a problem. Just that idling and low
queue depth kills the performance.

So apart from "rotational" if driver can give some hints about underlying
devices being RAID (or multi device), it will help. Just that it looks
like scsi does not have a way to determine that.

Thanks
Vivek


\
 
 \ /
  Last update: 2012-04-10 20:55    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site