Re: fsync 50 times slower after 2.5.27
Andrew Morton (akpm@digeo.com)
Wed, 18 Sep 2002 17:35:29 -0700
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/