- Traditional hard disk
- SSD (Tree Intel X25-E Extreme SSDSA2SH032 G1GN 2.5-inch 32GB SATA II SLC Internal Solid State Drive as RAID-0)
- FusionIO NVM device (ioMemory SX300-1600 with VSL driver 4.2.1 build 1137 and NVMFS 1.1.1)
./sysbench --test=tests/db/oltp.lua --mysql-table-engine=innodb --oltp-test-mode=complex --oltp-read-only=off --oltp-table-size=10000000 --max-requests=1000000000 --num-threads=<n> --max-time=10800 --mysql-socket=/mnt/dfs/db/mysql.sock --mysql-user=root run
Hard Disk
In traditional hard disk, InnoDB page size configuration has relatively small effect on overall performance using sysbench benchmark as seen in Figure 1.
Figure 1. Hard Disk performance with different page sizes and number of threads.
Similarly, there is no significant difference on average response time with different page size settings (Figure 2).
Figure 2. Hard Disk average response time with different page sizes and number of threads.
SSD
Looking at SSD in Figure 3, there seems to be a small decrease in performance if a 64K page size is used, although this decrease is not very significant. There are no differences when a 32K page size is used.
Figure 3. SSD performance with different page sizes and number of threads.
A similar difference is seen on average response times (Figure 4). Using a page size of 32K has no noticeable difference to the default 16K, however the 64K setting has slightly longer response times, but the difference is not significant.
Figure 4. SSD average response time with different page sizes and number of threads.
NVM
In non volatile memory (NVM), device page size seems to have a very small effect (Figure 5). Similarly to SSD, a 64K page size has decreased performance but the difference is smaller compared to SSD.
Figure 5. NVM performance with different page sizes and number of threads.
Similarly, an average response time comparison of a 64K setup has slightly increased average response times compared to other configurations, but this difference is not significant (Figure 6).
Figure 6. NVM average response time with different page sizes and number of threads.