[CentOS] 'Extremely lazy' disk flush?

Wed Oct 21 18:23:23 UTC 2009
nate <centos at linuxpowered.net>

Les Mikesell wrote:
> Are there any good options to configure a filesystem so most activity
> takes place in the RAM buffer with the flush to physical media allowed
> to lag very far behind?  OpenNMS does some data collection that keeps
> the disk very busy.  I don't want to lose the history completely in a
> crash like you would with a ramdisk, but it wouldn't be a big problem if
> only the last 10-30 minutes would be dropped.

see the commit option for ext3

       commit=nrsec
              Sync all data and metadata every nrsec seconds. The default
value is 5 seconds. Zero  means default.


nate