Jump to content

Re-enable Hyper-V with XML code


Maddeen

Recommended Posts

Posted

Hi there,

 

I found this information about increasing the performance of my vm.

 

Due to the fact that the guide is over a year old, I just want to ask, if this guide is still valid/useful (even for AMD CPUs?) or if it's outdated.

I also ask because my <features> code block doesn't look like the one below. 

 

Maybe some one can this point out.

 

Thanks

 

Quote

In addition to the settings above, you may find that the settings below improve your VM’s performance even further. They may also cause unexpected results, and no warranty of any kind is given (expressly or implied) if you decide to use them.
That said, I am using them and I have noticed that performance has increased significantly.

 

Replace the entire <features>…</features> code block with the section below.

 

<features> 
  <acpi/> 
  <apic/> 
  <hyperv> 
    <relaxed state='on'/> 
    <vapic state='on'/> 
    <spinlocks state='on' retries='8191'/> 
    <vpindex state='on'/> 
    <synic state='on'/> 
    <stimer state='on'/> 
    <reset state='on'/> 
    <vendor_id state='on' value='1234567890ab'/> 
    <frequencies state='on'/> 
  </hyperv> 
  <kvm> 
    <hidden state='on'/> 
  </kvm> 
  <vmport state='off'/> 
  <ioapic driver='kvm'/> 
</features>

 

And replace the <clock>…</clock> code block with the section below.

<clock offset='localtime'> 
  <timer name='rtc' present='no' tickpolicy='catchup'/> 
  <timer name='pit' present='no' tickpolicy='delay'/> 
  <timer name='hpet' present='no'/> 
  <timer name='hypervclock' present='yes'/> 
  <timer name='tsc' present='yes' mode='native'/> 
</clock>

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...