Is there any performance difference between the VMDK and VDI virtual disk formats with Virtual Box?

9

1

In virtual box 3.0.2 is there any performance difference between using the native VDI virtual disk format and the VMDK virtual disk format?

Sam Saffron

Posted 2009-07-16T09:05:58.230

Reputation: 973

Answers

5

I don't think so - for example, this blog post claims the following:

Both formats are wrappers around a raw disk image so raw performance isn’t really at issue.

However, it also says the following:

VirtualBox has to mount a vmdk image as a writethrough disk, which means it loses things like snapshots and possibly driver performance.

I don't know if this applies to the newest version, but it sounds like you should go with VDI.

Veeti

Posted 2009-07-16T09:05:58.230

Reputation: 248

1VirtualBox 4 will take snapshots with a VMDK (I just tested it with 4.0.8) and it sounds like the feature has been in there since version 3. However, as it's not the native format for VirtualBox the implementation of some things will probably always lag. (For instance, even in 4.0.8 using VBoxManage modifyhd foo.vmdk --compact won't work, it's just for VDI.) So it is indeed probably best to use VDI. – HostileFork says dont trust SE – 2011-06-17T03:17:44.430

1

This isn't a performance related item, but VMDK is the native disk image format for VMWare. If you ever plan on using VMWare in the future, this is the disk format you will want to use.

Jordan S. Jones

Posted 2009-07-16T09:05:58.230

Reputation: 329