Re: fsync 50 times slower after 2.5.27

From: Andrew Morton (akpm@digeo.com)
Date: Wed Sep 18 2002 - 19:35:29 EST


Duncan Sands wrote:
>
> I noticed a performance degradation in recent kernels:
> fsync takes around 50 times longer in kernels 2.5.28 to
> 2.5.34 when the system is under heavy load, as compared
> to kernels <= 2.5.27. I noticed this because it makes kmail
> unusable. 2.5.34 is the most recent kernel I tested.
>

Please try replacing the yield() in fs/jbd/transaction.c
with

        set_current_state(TASK_RUNNING);
        schedule();
-
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/



This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:24 EST