ext2/ext3 balancing streaming io - help

From: Rudy Klinksiek
Date: Tue Sep 12 2006 - 21:19:33 EST


Hi:

Don't know if this is the right list, if not I apologize and
ask someone to point me to right mailing list.

For 2.4.27 with low-latency patches, is there a way to balance
data streaming in ( around 4-8Mb/sec )with writing it to disk, using
an ext2 or ext3 filesystem. The system has a single disk, and can
sustain 10-20MB/sec for 2-4 secs. And yes I'm stuck with this
particular system.

Twiddling with bdflush parameters, I had a setup that was doing this
( monitoring with "vmstat 1" ) but it is not really reproducible.
Mostly, data is flushed out in chunks, often 1/2/3 secs with
nothing written in between flushes. Eventually freemem is depleted,
with cache increasing, but the rate going out to disk is still
generally less than the ncoming rate.

After shutting down the input side, it takes many 10's of secs for
vmstat to show nothing going to disk.

"bdflush" doesn't seem to have enough/correct knobs to effect a "streaming" mode.

Or am I missing something here? Any other tunable parameters?

Any help appreciated
klink

-
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/