Slow Performance of Oracle Virtual Box within Azure Windows 10 VM

Jevon Davis 141 Reputation points
2022-01-07T19:29:38.44+00:00

Hello,

I currently have a Oracle Virtual Box Setup with Azure on a windows 10 Machine. It works and everything but I realized the performance isn't the best. So currently I am using a D4s_v3 series VM for this but setting up a Kali image with Virtual Box is pretty slow. For eg. it will take 10 minutes to get to the Kali login screen vs it taking less than two minutes on my Windows 10 host machine.

Does it matter the series that is used or is this just an expected performance drawback of Nested Virtualization within Azure?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,157 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,546 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andreas Baumgarten 96,926 Reputation points MVP
    2022-01-07T19:55:56.957+00:00

    Hi @Anonymous ,

    let's take it like this: "Nested Virtualization in addition with a combination of different virtualization solutions doesn't speed things up" ;-)

    The advantage in Azure is: Resizing a virtual machine for testing is easy, fast and doesn't cost that much.
    I would just resize the Azure VM at least to the double and do some tests.
    After the tests are done decreasing the size of the VM is easy as well.

    Also it might be interesting to find the real cause for the lag of performance. It's the Azure VM (CPU, RAM, Disk) or maybe it's related to the Oracle Virtual Box as a nested virtualization.

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    2 people found this answer helpful.