Managing dirty memory in Linux

Dirty memory is memory that has changed and still needs to be committed to disk. The writes are not written immediately, but there are buffered and written in intervals or once the buffer is filled up.

/proc tunables are available to manage dirty memory timeout parameters - by default dirty memory is written every 30 seconds:

# cat /proc/sys/vm/dirty_expire_centisecs 
3000
You can change this value:
# echo 6000 > /proc/sys/vm/dirty_expire_centisecs