[haiku-development] Re: Latest changes and general status.

Gabriele Biffi <mlist@xxxxxxxxx> wrote:
> > Well, that would be the task of the aforementioned I/O scheduler - 
> > we 
> > currently don't do this.
>  From what I know, today HDDs do this internally. And we don't have 
> any 
> clue about its internal structure, so we can't make a proper 
> scheduler. 
> But it can help a little, I guess.

Current drives expose their blocks in a way that close block numbers 
correspond to close locations on the drive. What they support now is 
command queueing - ie. you can post more than one command to the drive, 
and it will order them in a way that they are executed in an optimal 
way.
This does not replace an I/O scheduler, though, as it can do a lot more 
(for example, it will also provide an API for asynchronous I/O).

Bye,
   Axel.


Other related posts: