Jump to content

Ubuntu VM through HyperV low framerate

ATFink

I'm an absolute noob with regards to VMs, sorry in advance. I also wasn't sure whether to make this a windows topic or a linux topic...

 

Anyways, currently the Ubuntu VM updates at like 10-12 fps or something in that range. I think this is caused by the OS virtualizing the hardware to run the VM rather than running the VM with the CPU and GPU directly. I updated integration services in hopes this would help. It did not.

 

Is this normal? If so is there a way I can speed up the VM?

 

Here is what I have done so far in detail:

I downloaded the Ubuntu 18.04.1 LTS .iso file and booted it through Hyper-V.

I used the installation feature to write the OS to a virtual hard disk (as opposed to the virtual dvd drive the .iso file boots into).

I edited the VM settings through Hyper-V manager to give the VM 2 threads and 4 GB of ram to work with.

I updated integration services using this command in the terminal:

     sudo apt-get install linux-tools-virtual linux-cloud-tools-virtual

I rebooted  the VM

I ran this command in the terminal:

     sudo pico /etc/initramfs-tools/modules

I added the following lines in the whitespace beneath the initial text layout:

     hv vmbus

     hv storvsc

     hv blkvsc

     hv netvsc

I saved the changes.

I updated initramfs with the following line of code:

     sudo update-initramfs -u

I rebooted the VM.

I closed the VM.

I double checked to make sure all services offered in the integration services tab of the VM in Hyper-V manager were checked.

I booted the VM.

CPU: i7 4790k @ 4.7 GHz

GPU: XFX GTS RX580 4GB

Cooling: Corsair h100i

Mobo: Asus z97-A 

RAM: 4x8 GB 1600 MHz Corsair Vengence

PSU: Corsair HX850

Case: NZXT S340 Elite Tempered glass edition

Display: LG 29UM68-P

Keyboard: Roccat Ryos MK FX RGB

Mouse: Logitech g900 Chaos Spectrum

Headphones: Sennheiser HD6XX

OS: Windows 10 Home

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×