Pros and cons with this two ways to make disk for virtual machines on virtualbox
$ vboxmanage createhd --format VDI --size ${SIZE} --filename /path/to/disk.vdi
and
# vboxmanage createrawvmdk -filename /path/to/disk.vmdk -rawdisk /dev/sdX
|
Pros and cons with this two ways to make disk for virtual machines on virtualbox
and
|
|||
|
|
|
File-pro (which are raw cons):
Raw-pro (which are file cons):
|
|||||
|
|
These are my VM with VDI format: Timing cached reads: 23442 MB in 1.97 seconds = 11890.47 MB/sec Timing buffered disk reads: 346 MB in 3.00 seconds = 115.33 MB/sec VM with rawdisk format (50G LV on the same raid device): Timing cached reads: 21602 MB in 2.00 seconds = 10812.49 MB/sec Timing buffered disk reads: 186 MB in 3.02 seconds = 61.69 MB/sec So rawdisk is about 50% worse performance that VDI, unless I'm doing something completely wrong. Probably going to stick with rawdisk though as the backup option with lvm snapshots seems sane. |
|||
|
|