I was working with the customer today investigating MySQL over DRBD performance issues. His basic question was why there is so much overhead with DRBD in my case, while it is said there should be no more than 30% overhead when DRBD is used.
The truth is - because how DRBD works it does not adds static overhead which could be told as 10% or 80% and you really need to understand how DRBD works as well as how IO system is utilized to understand how much overhead you should expect.
First lets talk what kind of IO you performance you care about
while running MySQL over DRBD. Your reads are going to be
serviced from local hard drive and it is only writes which suffer
overhead of DRBD.
If you're using MySQL with Innodb (and running MyISAM with DRBD
makes little sense anyway) you will have to care about background
random IO coming from buffer flush activity - which is typically
not latency critical and rarely the problem and log …