Re: Change in default vm_dirty_ratio
From: Andi Kleen
Date: Tue Jun 19 2007 - 15:01:54 EST
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> writes:
>
> 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.
A more continuous write out would be better I think. Perhaps the dirty ratio
needs to be per address space?
> 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.
Distro initscripts normally don't have any better clue about any of this
than the kernel.
-Andi
-
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/