I would like to learn more about "HPET" for games.

Discussion on Computer Software & Operating Systems
Post Reply
Robertbuckles
Posts: 3
Joined: 2020-04-10 11:14

I would like to learn more about "HPET" for games.

Post by Robertbuckles »

Hello there, gentlemen. I'd like to give a heartfelt welcome to all gamers and visitors alike. I wish you all the best of health. The reason for this has to do with video games. That is, I'd like to learn more about "HPET" and why it needs to be turned off in order to play games. It perplexes me much. Is there anyone who might be able to provide me with some useful information in this regard?
ShrapGnoll
PR:BF2 Developer
Posts: 47
Joined: 2019-04-29 18:48

Re: I would like to learn more about "HPET" for games.

Post by ShrapGnoll »

I assume you are using a virtualized windows guest inside a kvm host. HPET timers give really bad performance with windows guests, instead you need to turn on HyperVClock which is windows version of a virtualized event timer.

You can also try disabling spinlocks instead of enabling them like below, its been a while but I remember having to enable/disable that.

Code: Select all

<features>
  <hyperv>
   <relaxed state='on'/>
   <vapic state='on'/>
   <spinlocks state='on' retries='8191'/>
  </hyperv>
 <features/>

 <clock ...>
  <timer name='hypervclock' present='yes'/>
 </clock>
https://blog.wikichoon.com/2014/07/enab ... h-kvm.html
Robertbuckles
Posts: 3
Joined: 2020-04-10 11:14

Re: I would like to learn more about "HPET" for games.

Post by Robertbuckles »

Thanks for replying. I will give you feedback after trying the process you mentioned.
Robertbuckles
Posts: 3
Joined: 2020-04-10 11:14

Re: I would like to learn more about "HPET" for games.

Post by Robertbuckles »

So, guys. I found some solutions (like this) about "HPET" after searching on Google. You are right. after disabling the HPET feature, the performance increased more than before. Thank you.
Post Reply

Return to “Software”