Re: io priorities?

From: Andrew Morton
Date: Thu Jul 01 2004 - 17:56:31 EST


"Richard B. Johnson" <root@xxxxxxxxxxxxxxxxxx> wrote:
>
> Periodically fsync() the logs so there isn't soooo much stuff to
> write. In fact, a simple sync() call about once every few seconds
> should make everything work,

Yup. Alternatively, set /proc/sys/vm/dirty_ratio and /proc/sys/vm/dirty_background_ratio
to really small values. Say, 2 and 1.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/