To speed up MySQL we will switch its datadir to tmpfs (T96230).
We run MySQL/innodb with the stock settings which are not ideal and are running 5.5.41-0ubuntu0.14.04.1.
The MySQL documentation has a whole chapter about Optimizing InnoDB Disk I/O and found some more at http://www.tocker.ca/2013/11/04/reducing-mysql-durability-for-testing.html
Other things that come to mind:
- disable the binary log
- get rid of some fsync()
@ori mentionned libeatmydata , not sure it is worth the added layer.