TWEAK: Enable HPET (in BIOS and OS) for better performance and FPS


Recommended Posts

Hi guys, I could not resist joining this forum to add my two cents. HPET made me go nutz, too.

 

 

HPET on/off making a significant difference is definitely NOT snake oil.

 

 

On my previous Win 7 build (DAW only), disabling HPET in BIOS & OS resulted in a DPC latency of comfortable 2 - 4 micro seconds. Before that, the latency rarely ever dropped below 130 micro seconds, which already has been quite good regarding the 270 which I?ve had before I got rid of my nvidia card and its crappy drivers.

 

Not only there were no more drop outs (at reasonable buffer sizes), the whole system was much more responsive. The negative result was that my ASIO load meter got more "nervous/sensitive". Means that the meter in Cubase jumped up and down more than before when it was slightly higher but also more stable.

 

I?ve dealt quite a while with the HPET thing and have come to the conclusion, that HPET is neither the "best timer" nor the worst. Computers are not interested in having the timer "ring" every 1000 or 976 or whatever when. They have no personal preference and don?t care about the output. Just about the processing itself. So the important thing is to have as many timers as possible as this means more potential moments to generate interrupts.

 

["...interrupts can be missed if the target time has already passed"]  the wiki link

 

Enabling HPET & using "bcdedit..... true" to force Windows to use only one timer seems absurd. More

 

Just think of it as drinking in a bar where two out of three waitresses have been fired and the one who?s left may be extremely punctual at appearing only once per hour. One of the former waitresses (which meanwhile are unemployed and hungry) could have come your way already 45 minutes after your last beer order. That?s when you were supposed to generate that one interrupt to quench your thirst.

 

I am aware that there has to be some kind of down side to it. Otherwise, nVidia would not set their drivers to strictly induce a latency of 255 micro seconds instead of matching it with the PCI Latency Setting found in BIOS. Maybe this allows a more stable framerate (not a faster one!), like slaves on a galley working their paddles to the decent but steady beat of the drummer. Less strokes, but more load per stroke.

 

While its benefits/disadvantages depend on each single person?s needs, its influence on the computer at the bare system level has to be clearly explainable. There is no place for "every setup is different, so this function does whatever its wants to do", computers don?t work this way.

 

For me, disabling it much more serves my needs as constantly keeps my snake oiled.

 

 

Cheers from Germany

 

'Nuff said.

thread is 2 years old, still not a single proof or evidence that this works.

 

on the contrary, all the claims that this works makes me wonder what's the purpose of deceiving people into this?

thread is 2 years old, still not a single proof or evidence that this works.

 

on the contrary, all the claims that this works makes me wonder what's the purpose of deceiving people into this?

Personally, I think it is just the placebo effect instead of subterfuge in many cases. The wintimertest results are enough to convince folks that it must improve speed objectively everywhere. We aren't immune to such things by any means either. We might defrag an HDD and perceive the same thing to be honest. Tricks of the mind. It's similar to people who listen to uncompressed audio (versus XYZ compressed audio) and claim they can hear a difference, yet double blind studies show otherwise. Expectations are everything, huh?

It's similar to people who listen to uncompressed audio (versus XYZ compressed audio) and claim they can hear a difference, yet double blind studies show otherwise. Expectations are everything, huh?

 

well, i can listen to 128kbps audio file and find differences from the same uncompressed format; 320kbps, not so well. Buy i agree with you, even a defrag can make a subtle difference so this is more a placebo effect then anything.

  • Like 1

well, i can listen to 128kbps audio file and find differences from the same uncompressed format; 320kbps, not so well. Buy i agree with you, even a defrag can make a subtle difference so this is more a placebo effect then anything.

Well 128kbps is the questionable line afaik (or 192kbps -- depending on the compression algorithm). It's the higher bit rates where you can't perceive in double blind tests, yet, people claim otherwise.

Well 128kbps is the questionable line afaik (or 192kbps -- depending on the compression algorithm). It's the higher bit rates where you can't perceive in double blind tests, yet, people claim otherwise.

 

well, considering that when i was learning Java i made a small audio program that i could insert two filters:a low-pass and a high-pass; learned pretty quickly i was going to become deaf more faster then i expected lol

How do I disable it?

Can't find it in my bios....

I have a hp laptop.

Help!

 

You don't, If your computer came with Windows, it's already optimized for the hardware.

But it should be in bios!

Why is it not?

Your laptop is probably too new (pretty sure mine doesn't have it either). The only good reason to have the option in the bios was during the early years when the actual hardware implementations weren't well tested or supported.

Your laptop is probably too new (pretty sure mine doesn't have it either). The only good reason to have the option in the bios was during the early years when the actual hardware implementations weren't well tested or supported.

Do you know any other method that reduces lag and improves gaming?

Do you know any other method that reduces lag and improves gaming?

Well you can still force only HPET in Windows (as was outlined here in the first post) using step 2 if your laptop supports it (you just can't turn it off/on in the bios). Note, I am not saying this will improve your performance (I don't believe it will).

Well you can still force only HPET in Windows (as was outlined here in the first post) using step 2 if your laptop supports it (you just can't turn it off/on in the bios). Note, I am not saying this will improve your performance (I don't believe it will).

Can't find that 2nd step... :(

For many years already my HD never scream.  After turn this on:

bcdedit /set useplatformclock true

 

I heard my hard drive screaming.  I mean it has never make any noise before.  So yeah I think I will need to get a new hard drive to back up my data soon and then get back to it's original setting... not turning on the HPET that is.

  • 3 weeks later...

HardBag (or anyone else here),

 

How do I check the BCD on what's the current setting of useplatformclock, before making any changes to the BCD?

 

BTW, I have checked my system to see if Invariant TSC is supported or not. Says it's supported.

So does that mean I don't need to edit my BCD?

 

For those who don't know how to check, here's how:

 

1. Open AIDA64 -> Motherboard -> CPUID
2. Look for the field "Invariant Time Stamp Counter", and check whether it's supported or not.

 

HardBag (or anyone else here),

 

How do I check the BCD on what's the current setting of useplatformclock, before making any changes to the BCD?

 

BTW, I have checked my system to see if Invariant TSC is supported or not. Says it's supported.

So does that mean I don't need to edit my BCD?

 

For those who don't know how to check, here's how:

 

1. Open AIDA64 -> Motherboard -> CPUID
2. Look for the field "Invariant Time Stamp Counter", and check whether it's supported or not.

 

For the first question: type 'bcdedit' on the command line. 'useplatformclock' will appear under the Windows Boot Loader section if it set.

 

For the second question: the TSC is completely separate from the HPET timer. See: http://en.wikipedia.org/wiki/Time_Stamp_Counter. The invariant version of the TSC is an updated version of the TSC on newer processors:

 
17.13.1 Invariant TSC

The time stamp counter in newer processors may support an enhancement, referred to as invariant TSC. 

Processor?s support for invariant TSC is indicated by CPUID.80000007H:EDX[8]. 

 

The invariant TSC will run at a constant rate in all ACPI P-, C-. and T-states. This is the architectural behavior 
moving forward. On processors with invariant TSC support, the OS may use the TSC for wall clock timer services 
(instead of ACPI or HPET timers). TSC reads are much more efficient and do not incur the overhead associated with 

a ring transition or access to a platform resource.

 

--

http://www.intel.com/content/www/us/en/architecture-and-technology/64-ia-32-architectures-software-developer-vol-3b-part-2-manual.html

Look what I found:  useplatformclock [ yes | no ]

Forces the use of the platform clock as the system's performance counter.

Note  This option should only be used for debugging.

http://msdn.microsoft.com/en-us/library/windows/hardware/ff542202(v=vs.85).aspx

  • 1 month later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • User: "But is it good?" Microsoft: "Well, no. But it is less bad."
    • Media Player Classic - Home Cinema 2.7.2 by Razvan Serea Media Player Classic - Home Cinema (MPC-HC) is a free and open-source video and audio player for Windows. MPC-HC is based on the original Guliverkli project (which is no longer maintained) and contains many additional features and bug fixes. As the continuation of the original Media Player Classic, MPC-HC isn’t flashy but it works with nearly any media format. MPC-HC uses DXVA technology to pass decoding operations to your modern video card, enhancing your viewing experience. And MPC-HC supports both physical and software DVDs with menus, chapter navigation, and subtitles. Overview of features A lot of people seem to be unaware of some of the awesome features that have been added to MPC-HC in the past years. Here is a list of useful options and features that everyone should know about: Dark interface Menu > View > Dark Theme When using dark theme it is also possible to change the height of the seekbar and size of the toolbar buttons. Options > Advanced Video preview on the seekbar Options > Tweaks > Show preview on seek bar Adjust playback speed Menu > Play > Playback rate The buttons in the player that control playback rate take a 2x step by default. This can be customized to smaller values (like 10%): Options > Playback > Speed step Adjusting playback speed works best with the internal audio renderer. This also has automatic pitch correction. Options > Playback > Output > Audio Renderer MPC-HC can remember playback position, so you can resume from that point later Options > Player > History You can quickly seek through a video with Ctrl + Mouse Scrollwheel. You can jump to next/previous file in a folder by pressing PageUp/PageDown. You can perform automatic actions at end of file. For example to go to next file or close player. Options > Playback > After Playback (permanent setting) Menu > Play > After Playback (for current file only) A-B repeat - You can loop a segment of a video. Press [ and ] to set start and stop markers. You can rotate/flip/mirror/stretch/zoom the video Menu > View > Pan&Scan This is also easily done with hotkeys (see below). There are lots of keyboard hotkeys and mouse actions to control the player. They can be customized as well. Options > Player > Keys Tip: there is a search box above the table. You can stream videos directly from Youtube and many other video websites You can stream videos directly from Youtube and many other video websites Put yt-dlp.exe or youtube-dl.exe in the MPC-HC installation folder. Then you can open website URLs in the player: Menu > File > Open File/URL You can even download those videos: Menu > File > Save a copy Tip: to be able to download in best quality with yt-dlp/youtube-dl, it is recommended to also put ffmpeg.exe in the MPC-HC folder. Several YDL configuration options are found here: Options > Advanced This includes an option to specify the location of the .exe in case you don't want to put it in MPC-HC folder. Play HDR video This requires using madVR or MPC Video Renderer. After installation these renderers can be selected here: Options > Playback > Output Ability to search for and download subtitles, either automatically or manually (press D): Options > Subtitles > Misc Besides all these (new) features, there have also been many bugfixes and internal improvements in the player in the past years that give better performance and stability. It also has updated internal codecs. Support was added for CUE sheets, WebVTT subtitles, etc. Media Player Classic - Home Cinema 2.7.2 changelog: Updated LAV Filters to version 0.81-23-g6fadb Updated MPC Video Renderer to version 0.10.2.2540 Updated MediaInfo DLL to version 26.05 Updated MPC Audio Renderer Several crash fixes, bug fixes and small improvements. Download: MPC-HC 2.7.2 (x64) | Standalone | ~20.0 MB (Open Source) Download: MPC-HC 2.7.2 (x86) | Standalone Links: MPC-HC Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • No problems here using the new Outlook. In our company we started to default installing to users on new computers or when we're reimaging. But, if the user needs/ask for the classic one, we install it. Low reject rate at this point.
    • Yeah it's my only home/business computer. The Surface Pen magnetic Storage is on the left side, but it doesn't charge the Pen. I do the charging once every 6+ months by interchanging between 2 rechargeable AAAA batteries and charging the other via a USB A battery charger.
  • Recent Achievements

    • Very Popular
      s0nic69 earned a badge
      Very Popular
    • Collaborator
      Asgardi earned a badge
      Collaborator
    • Conversation Starter
      mobandz earned a badge
      Conversation Starter
    • Apprentice
      fernan99 went up a rank
      Apprentice
    • One Month Later
      nothanks earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      466
    2. 2
      PsYcHoKiLLa
      246
    3. 3
      Skyfrog
      79
    4. 4
      FloatingFatMan
      65
    5. 5
      Michael Scrip
      60
  • Tell a friend

    Love Neowin? Tell a friend!