[CentOS] 'Extremely lazy' disk flush?

nate centos at linuxpowered.net
Wed Oct 21 19:23:23 UTC 2009


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




More information about the CentOS mailing list