[lkml]   [2004]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] speed up SATA
    Andrew Morton wrote:
    > Nick Piggin <> wrote:
    >> >
    >> > With this simple patch, the max request size goes from 128K to 32MB...
    >> > so you can imagine this will definitely help performance. Throughput
    >> > goes up. Interrupts go down. Fun for the whole family.
    >> >
    >> Hi Jeff,
    >> I think 32MB is too much. You incur latency and lose
    >> scheduling grainularity. I bet returns start diminishing
    >> pretty quickly after 1MB or so.
    > As far as interactivity and throughput is concerned, the effect of really
    > big requests will be the same as the effect of permitting _more_ requests.
    > Namely: more memory can be under readahead or writeback at any particular
    > point in time.

    Not quite, because a single 32MB write might take what? 500ms to
    complete... and the IO scheduler wants to stop writes after 60ms
    if there are waiting reads.

    And writes will be more likely to be submitted as large requests.

    I think Jeff is right that in theory though, the drivers should
    just export their capabilities, and the block layer or IO scheduler
    should decide on the maximum size to actually use.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 14:02    [W:0.020 / U:51.320 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site