[lkml]   [2007]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [patch] Give kjournald a IOPRIO_CLASS_RT io priority
    On Mon, 15 Oct 2007 11:47:38 -0700
    Andrew Morton <> wrote:
    > On Mon, 15 Oct 2007 10:46:47 -0700
    > Arjan van de Ven <> wrote:
    > >
    > > Subject: Give kjournald a IOPRIO_CLASS_RT io priority
    > > From: Arjan van de Ven <>

    > Seems a pretty fundamental change which could do with some careful
    > benchmarking, methinks.

    FWIW, I have marked the kjournald processes on my system
    realtime with "rtprio -c 1 `pidof kjournald`" and the
    usual desktop stalls that plague my system have not yet
    happened this afternoon.

    > See, your patch amounts to "do more seeks to improve one test case".
    > Surely other testcases will worsen. What are they?

    The big problem I have seen here is that processes end up
    waiting on kjournald to do something, and kjournald is
    waiting due to the IO scheduler.

    This can cause a lot of low IO (high IO priority) processes
    to indirectly get stuck behind a few high IO (low priority)

    Since you have been involved a lot with ext3 development,
    which kinds of workloads do you think will show a performance
    degradation with Arjan's patch? What should I test?

    "Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are,
    by definition, not smart enough to debug it." - Brian W. Kernighan
    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: 2007-10-15 22:19    [W:0.026 / U:80.824 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site