lkml.org 
[lkml]   [2001]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: PS/2 Esdi patch #8
    Jens Axboe wrote:
    >
    > --snip--
    >
    > and so it continues. This is the easy way to process requests. However,
    > if you can start I/O on more than one buffer at the time (scatter
    > gather), you could then setup your sg tables by browsing the entire
    > request buffer_head list and initiate I/O as needed.
    >
    > Bigger requests on the queue, means more I/O in progress being possible.
    > There's no rule that you have to finish a request in one go, so even if
    > you can only handle eg 64 sectors per request with sg, you could do
    > just start I/O on as many segments as you can and simply don't dequeue
    > the request until it's completely done. So the max_sectors patch is
    > never really needed if you know what you are doing.

    Can I still gain any advantage if the hardware can only have one I/O inflight
    per device? I am not sure the ps2esdi interface supports this.

    Hal Duston
    hald@sound.net


    -
    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 12:54    [W:0.029 / U:2.132 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site