Group commit in MariaDB 5.3 is fast and much faster than in the Facebook patch using MySQL 5.1.52. Given that official MySQL doesn't have group commit both MariaDB and the Facebook patch are much faster than it whenever group commit is possible. I used sysbench and a workload that updated one row per transaction using 1 to 1024 concurrent connections and a table with 1M rows. The table was cached in the InnoDB buffer pool. The binlog was enabled. The test server has a HW RAID card. One set of tests was run with the battery-backed write cache enabled and fsync latency was less than 400 microseconds. Another set of tests was run with the battery-backed write cache disabled and fsync latency was several milliseconds.
2011/06/24
Group commit in MariaDB is fast [by Mark Callaghan]
The 5.3 branch for MariaDB has group commit. Kristian Nielsen has written several posts about it. I think it has also been ported to Percona XtraDB so at this point we have consensus that Kristian's work is the solution. The Facebook patch has an earlier and different implementation of group commit. The version published in the Facebook patch has bugs that I recently fixed so I ran performance tests to compare MariaDB 5.3 with the Facebook patch.
Group commit in MariaDB 5.3 is fast and much faster than in the Facebook patch using MySQL 5.1.52. Given that official MySQL doesn't have group commit both MariaDB and the Facebook patch are much faster than it whenever group commit is possible. I used sysbench and a workload that updated one row per transaction using 1 to 1024 concurrent connections and a table with 1M rows. The table was cached in the InnoDB buffer pool. The binlog was enabled. The test server has a HW RAID card. One set of tests was run with the battery-backed write cache enabled and fsync latency was less than 400 microseconds. Another set of tests was run with the battery-backed write cache disabled and fsync latency was several milliseconds.

Group commit in MariaDB 5.3 is fast and much faster than in the Facebook patch using MySQL 5.1.52. Given that official MySQL doesn't have group commit both MariaDB and the Facebook patch are much faster than it whenever group commit is possible. I used sysbench and a workload that updated one row per transaction using 1 to 1024 concurrent connections and a table with 1M rows. The table was cached in the InnoDB buffer pool. The binlog was enabled. The test server has a HW RAID card. One set of tests was run with the battery-backed write cache enabled and fsync latency was less than 400 microseconds. Another set of tests was run with the battery-backed write cache disabled and fsync latency was several milliseconds.
Iscriviti a:
Commenti sul post (Atom)
Nessun commento:
Posta un commento
Nota. Solo i membri di questo blog possono postare un commento.