project reality header
Go Back   Project Reality Forums > Project Reality Support > General Technical Support > Software & Operating Systems
31 Oct 2024, 00:00:00 (PRT)
Register Developer Blogs Members List Search Quick Links
Software & Operating Systems Discussion on Computer Software & Operating Systems

Reply
 
Thread Tools Display Modes
Old 2022-06-09, 10:45   #1
Robertbuckles

Robertbuckles's Avatar
Default I would like to learn more about "HPET" for games.

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?
Robertbuckles is offline Reply With Quote
Old 2022-06-09, 15:35   #2
[R-DEV]​ShrapGnoll
PR:BF2 Developer
PR Server License Moderator
Default Re: I would like to learn more about "HPET" for games.

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:
<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/e...-with-kvm.html
ShrapGnoll is offline Reply With Quote
Old 2022-06-10, 13:16   #3
Robertbuckles

Robertbuckles's Avatar
Default Re: I would like to learn more about "HPET" for games.

Thanks for replying. I will give you feedback after trying the process you mentioned.
Robertbuckles is offline Reply With Quote
Old 2022-06-11, 05:30   #4
Robertbuckles

Robertbuckles's Avatar
Default Re: I would like to learn more about "HPET" for games.

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.
Robertbuckles is offline Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 12:16.