I hope somebody can help me. I have a machine (i7 3770, 16GB RAM) running Gentoo as kvm-hypervisor. I installed two machines both Centos 6.5. One with mysql as database server and one with zendserver as webserver. For testing and comparison I use some php-application to create a database.
Here my results:
1) Both Servers on their own physical machine -> database creation takes about 3 minutes
2) Both Servers on Virtualbox (Win7 as hypervisor) -> database creation takes about 3,5 minutes
3) Both Servers on the gentoo machine (internal disk 7200rpm) -> database creation takes about 32 minutes
4) Both Servers on the gentoo machine (usb3 disk 7200rpm) -> database creation takes about 5 minutes
Various tests done on the 3rd configuration:
importing dump on the mysql server locally -> normal speed
importing dump remotely from the zendserver -> normal speed
network copy from zendserver to mysqlserver -> normal speed
iperf between host and mysql -> nearly 1GB
iperf between zendserver and mysqlserver -> nearly 1GB
local disk performance tests an the mysql shows disk write speeds between 40 and 70MB/s
Has anybody any idea why running from the internal disk is so incredibly slow ?




