Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a system that is doing a continuous steady stream of writes to GFS2 filesystems, and what happens is that the cache builds up to vm.dirty_ratio and then load skyrockets during a synchronous flush

I've already set vm.dirty_background_ratio=1 and vm.dirty_ratio=10 and that definitely helped, but there's still a cycle of cache building up and a synchronous flush, albeit a smaller one.

What I really want is to make the background flush work harder. I've got CPU to spare, so I'd rather spread the flushing work out as evenly as possible and never have it be synchronous. Any advice on the best way to do that? The next thing I'll try is lowering vm.dirty_writeback_centisecs, but I've seen warnings about that.

This is 2.6.32 kernel.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.