Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 have a mysql database server and am testing writing my binlogs to ramdisk to speed some things up. A curious thing happens.. fairly often, I get major job slowdown at the same time the rsync is happening. Updates that take almost zero seconds (when the binlog is writing to an ext4 fs that has been optimized for write), take upwards of 2 seconds (which is a big deal with the number of updates I am doing). This surprised me, as rsync is not supposed to be doing any locking anywhere, and since the tmpfs has a throughput of 2GB/s (and the rsync is much less than a gigabyte each pass)

Can anyone shed light on this one for me? How is the rsync from tmpfs causing write slowdowns on my binlogs, and thus update slowdowns?

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.