lkml.org 
[lkml]   [2004]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: questions about io scheduler
Timothy Miller wrote:
>
>
> Mike Fedyk wrote:
>
>> Nick Piggin wrote:
>>
>>>
>>>
>>> Kyle Wong wrote:
>>>
>>>> 2. Does io scheduler works with md RAID? Correct me if I'm wrong,
>>>> io-schedular <--> md driver <--> harddisks.
>>>>
>>>>
>>>
>>> It goes md driver -> io schedulers -> hard disks.
>>
>>
>>
>> There is an IO scheduler per disk.
>>
>> So MD submits the data to each disk through the IO scheduler.
>>
>> This allows you to have the heads on each disk in the array at
>> different locations, and helps keep response times lower for seeky loads.
>
>
> Say you've got a RAID1. In this case, MD could send the read request to
> either device. How does it decide which one to use?

The one with the drive head closest to the data.
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.030 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site