On Mon, 18 Jun 2007 14:14:30 -0700
Tim Chen <tim.c.chen@linux.intel.com> wrote:
heh.
(Or is that an inappropriate reaction?)
It seems too large. Memory sizes are going up faster than disk throughput
and it seems wrong to keep vast amounts of dirty data floating about in
memory like this. It can cause long stalls while the system writes back
huge amounts of data and is generally ill-behaved.
I assume that iozone is either doing a lot of file overwrites or is
unlinking/truncating files shortly after having written them.
And some benchmarks are silly. You have just demonstrated that IOZone
should have been called RAMZone....
Some workloads will work more nicely with this change and others will be
hurt. Where does the optimum lie? Don't know. Nowhere, really.
Frankly, I find it very depressing that the kernel defaults matter. These
things are trivially tunable and you'd think that after all these years,
distro initscripts would be establishing the settings, based upon expected
workload, amount of memory, number and bandwidth of attached devices, etc.
Heck, there should even be userspace daemons which observe ongoing system
behaviour and which adaptively tune these things to the most appropriate
level.
But nope, nothing.
-