[LUAU] controller amount of data to flush from buffer cache
Vince Hoang
vince.hoang at gmail.com
Wed Oct 13 08:50:24 PDT 2004
On Mon, 4 Oct 2004 14:24:55 -1000 (HST), Jimen Ching <jching at flex.com> wrote:
> The problem is, I'm writing large amounts of data to disk. I.e. 4megs per
> write() call and gigabytes of data. The buffer cache is intercepting
> these write() calls and flushes what seems to be 32k at a time. I want
> the buffer cache to flush at least 512k at a time. Can this be controlled
> from userland in 2.4? If it can be done in 2.6, I would like to hear it
> too.
elvtune(8) might be of use to you. It lets you tune I/O based on
time, rather than size, however.
Assuming, ext3 you might consider the data=journal and noatime mount
options if you have not already done so.
-Viince
More information about the LUAU
mailing list