Page 1 of 1

SSD way faster in virtualbox

Posted: 3. Oct 2020, 11:52
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.

Re: SSD way faster in virtualbox

Posted: 3. Oct 2020, 16:53
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.

Re: SSD way faster in virtualbox

Posted: 4. Oct 2020, 16:34
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.