ZFS and disk access speed in hypervisors
This article publishes the results of measurements of the speed of access to the file system inside the hypervisor in various versions of the ZFS installation. To all who are interested I ask under the cut, I warn about the presence of a large number of images under the spoilers (optimized).
kvaps ), However I could not find comparative performance tests of virtualized machines on the Internet (maybe badly looked for?). So I decided to build a test platform for my comparative study.
My article does not pretend to any scientific discoveries, it is unlikely to help professionals who have been working with ZFS for a long time and know all its features, but it will help beginners to roughly estimate the "price" of each gigabyte divided by the performance.
The essence of the experiment was as follows: the machine was installed (every time from the boot disk) OS Proxmox VE 5.2. During the installation, one of the XFS /ZFS variants was selected. After that, a virtual machine was created, on which Windows Server 2008 R2 was installed, after which the popular utility CrystalDiskMark ??? was launched and tests were performed on the volumes ? ?
32 GiB (in connection with the loss of images with the results of 32 GiB tests can not be used when choosing a solution, the available data are given for extras).
The XFS FS test was used to measure the reference speed of a single HDD (perhaps this is incorrect, but I did not think of other options for estimating it).
Tests ZFS RAID ? RAID 1 were conducted on two randomly selected disks, ZFS RaidZ1 on 3 disks, ZFS RAID 1? RaidZ2 on 4 disks. Tests with ZFS RaidZ3 were not carried out because of the lack of desire to buy another extremely economically inexpedient HDD for 500GB.
Under the spoiler, I will briefly describe the descriptions of each of the ZFS RAID types with my example of the obtained volume of "commercial" gigabytes:
ZFS RAID [/b]
ZFS RAID 0 - striped (Striped), volume 2 * DiskSize = 1000GB.
ZFS RAID 1 - mirroring (Mirror), volume 1 * DiskSize = 500GB.
ZFS RaidZ1 - it's ZFS RaidZ, analog RAID? volume (N-1) * DiskSize = 1000GB.
ZFS RAID 10 - Striped mirroring, volume 2 * DiskSize = 1000GB.
ZFS RaidZ2 - analog RAID? volume (N-2) * DiskSize = 1000GB.
At the same time, I did not perform such a test, but ZFS RaidZ1 with 4 disks = 1500GB.
Very clearly the essence of is painted. Here (angl) . And also how many disks it is permissible to lose, saving information.
It should be noted that in addition to the different access speed of the file system, it is also necessary to take into account the total volume of the received array, and the reliability of data security, in the event of failure of hard disks.
Technical characteristics of the platform, (possibly) affecting the test results:
Motherboard: Intel Desktop Board DS67SQ-B3;
Processor: Intel Pentium G???GHz;
Memory: 2 x 4096Mb Hynix PC3-10700;
Hard drives: 3 x WD 5000AZRX 500GB SATA 64MB Cache, 1 x WD 5000AZRZ 500GB SATA 64MB Cache, SSD SATA Goldenfir T650-8GB;
Power supply: DeepCool DA500N 500W.
The virtual machine (KVM) for testing was allocated 4GB of RAM, 1 core processor, Hard Drive VirtIO Block 100GB.
For systems installed on ZFS 2 tests were performed, in the second one, SSD was connected as a cache disk.
All results are presented in the form of screenshots below. If anyone has a desire to digitize these results - I will be grateful and include the results of the article.
ZFS RAID 0 [/b]
ZFS RAID 0 + cache [/b]
ZFS RAID 1 [/b]
ZFS RAID 1 + cache [/b]
ZFS RAID 10 [/b]
ZFS RAID 10 + cache [/b]
ZFS RaidZ1 [/b]
ZFS RaidZ1 + cache [/b]
ZFS RaidZ2 [/b]
ZFS RaidZ2 + cache [/b]
Thanks to all who paid attention, I hope for someone this sample will be, as for me, useful.
P.S. for some reason I do not understand, some of the images have disappeared, measurements were taken at the end of spring, the test platform can not be assembled any more, fortunately they all fall into tests with 32 GiB.
P.P.S. I did not try to advertise any organizations and /or software products, I did not have any intention to violate license agreements, if I was wrong somewhere, I ask you to write in private messages.
P.P.P.S. The image with the ZFS logo is a reproduction.
Only registered users can participate in the survey. Enter , you are welcome.
What type of ZFS would you choose for virtual machines in ProxMox VE?
ZFS RAID 0
ZFS RAID 1
ZFS RAID 10
I do not recommend using ZFS
Voted on 2 users. Abstained 4 users.
It may be interesting
Situs QQ Online
Situs QQ Online