First, the disk read and write emotion can test
1, disk benchmark reading test
To use a native IDE hard disk for a benchmark read test:
For the sake of comparison, I am still using another disk, the Virtio drive, after the Virsh edit KVM XML file, modify the original disk mode, still use the original disk test method:
The average read speed of the Virtio-driven SCSI hard drive has increased by more than 60 m/s and CPU usage has been lowered by half.
2, the file benchmark reading and writing test
The write feature is prompted to shut down as a result of a direct write test using HD tune. If you want to turn on the Write feature, delete all partitions. Please check the manual for more support information. ", that is, an empty disk or an unstructured disk is required to do a benchmark write test, so here you have selected the file benchmark read and write test (in fact, there is workaround, that is, please add a disk, first IDE, then change to the Virtio SCSI driver, the new disk as a benchmark write test).
File benchmark test for IDE disk:
To use the Virtio SCSI file baseline test instead:
The above test shows that the difference between the reading test is 20000 kb/seconds, and the write test is 90000 kb/seconds.
Summary: Due to only selected high profile HDD test work HD tune, there is no other tool to do contrast testing, but also did not create a condition to do more options for the professional test, only from two to do a comparison, the test results are a small range of errors, but after testing n times, found that the overall trend is generally right , the result is that Virtio-driven SCSI is more stable and performance better than QEMU's IDE reads and writes.
Third, network transmission speed test
Similarly, only to illustrate the problem, nor the use of professional network testing tools, only through the use of different network adapters to drive a file through the network to send the speed of writing to test, but also do not perform multiple file performance testing. is simply a test result of a single large file.
Speed of transmission using native 100M network card:
Speed of transmission using the Virtio network card driver:
From the above test, the difference of 2M per second speed. It can also be explained that the performance of the Virtio drive is superior to that of the native driver.