SSD way faster in virtualbox

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Celticbhoy
Posts: 2
Joined: 3. Oct 2020, 11:46

SSD way faster in virtualbox

Post by Celticbhoy »

I have lenovo t420 and recently added in an internal SSD.

When i benchmark the SSD, it appears significantly faster in VB. Is there any reason as to why?

image attached.
Attachments
The speed
The speed
Webp.net-resizeimage.jpg (85.1 KiB) Viewed 760 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: SSD way faster in virtualbox

Post by mpack »

Yes, it's because time in a VM is shared with the host. Lots of things are actually done by the host and from the guest POV will appear to take 0 time.

Moral: don't run automatically timed benchmarks inside a VM. Use a stopwatch.
Celticbhoy
Posts: 2
Joined: 3. Oct 2020, 11:46

Re: SSD way faster in virtualbox

Post by Celticbhoy »

thanks lad

I was into linux when a teenager at high school. Then ended up away from linux and computer science for 2 decades. And now ive been trying to get back into things. So I was not aware of this. Thanks for explaining mate.
Post Reply