AMD and Intel Have Different HPET Guidance

A standard modern machine, with a default BIOS and a fresh Windows operating system, will sit on the first situation in the table listed above: the BIOS has HPET enabled, however it is not explicitly forced in the operating system. If a user sets up their machine with no overclocking or monitoring software, which is the majority case, then this is the implementation you would expect for a desktop.

AMD

We reached out to AMD and Intel about their guidance on HPET, because in the past it has both been unclear as well as it has been changed. We also reached out to motherboard manufacturers for their input.

For those that remember the Ryzen 7 1000-series launch, about a year ago from now, one point that was lightly mentioned among the media was that in AMD’s press decks, it was recommended that for best performance, HPET should be disabled in the BIOS. Specifically it was stated that:

Make sure the system has Windows High Precision Event Timer (HPET) disabled. HPET can often be disabled in the BIOS. [T]his can improve performance by 5-8%.

The reasons at the time were unclear as to why, but it was a minor part in the big story of the Zen launch so it was not discussed in detail. However, by the Ryzen 5 1000-series launch, that suggestion was no longer part of the reviewer guide. By the time we hit the Ryzen-2000 series launched last week, the option to adjust HPET in the BIOS was not even in the motherboards we were testing. We cycled back to AMD about this, and they gave the following:

The short of it is that we resolved the issues that caused a performance difference between on/off. Now that there is no need to disable HPET, there is no need for a toggle [in the BIOS].

Interestingly enough, with our ASUS X470 motherboard, we did eventually find the setting for HPET – it was not in any of the drop down menus, but it could be found using their rather nice ‘search’ function. I probed ASUS about whether the option was enabled in the BIOS by default, given that these options were not immediately visible, and was told:

It's enabled and never disabled, since the OS will ignore it by default. But if you enable it, then the OS will use it – it’s always enabled, that way if its needed it is there, as there would be no point in pulling it otherwise.

So from an AMD/ASUS perspective, the BIOS is now going to always be enabled, and it needs to be forced in the OS to be used, however the previous guidance about disabling it in the BIOS has now gone, as AMD expects performance parity.

It is worth noting that AMD’s tool, Ryzen Master, requires a system restart when the user first loads it up. This is because Ryzen Master, the overclocking and monitoring tool, requires HPET to be forced in order to do what it needs to do. In fact, back at the Ryzen 7 launch in 2017, we were told:

AMD Ryzen Master’s accurate measurements present require HPET. Therefore it is important to disable HPET if you already installed and used Ryzen Master prior to game benchmarking.

Ultimately if any AMD user has Ryzen Master installed and has been run at any point, HPET is enabled, even if the software is not running or uninstalled. The only way to stop it being forced in the OS is with a command to chance the value in the BCD, as noted above.

For the Ryzen 2000-series launch last week, Ryzen Master still requires HPET to be enabled to run as intended. So with the new guidance that HPET should have minimal effect on benchmarks, the previous guidance no longer applies.

Ryzen Master is not the only piece of software that requires HPET to be forced in order to do what it needs to do. For any of our readers that have used overclocking software and tools before, or even monitoring tools such as fan speed adjusters – if those tools have requested a restart before being used properly, there is a good chance that in that reboot the command has been run to enable HPET. Unfortunately it is not easy to generate a list, as commands and methods may change from version to version, but it can apply to CPU and GPU overclocking.

Intel

The response we had from Intel was a little cryptic:

[The engineers recommend that] as far as benchmarking is concerned, it should not matter whether or not HPET is enabled or not. There may be some applications that may not function as advertised if HPET is disabled, so to be safe, keep it enabled, across all platforms. Whatever you decide, be consistent across platforms.

A cold reading of this reply would seem to suggest that Intel is recommended HPET to be forced and enabled, however my gut told me that Intel might have confused ‘on’ in the BIOS with ‘forced’ through the OS, and I have asked them to confirm.

Looking back at our coverage of Intel platforms overall, HPET has not been mentioned to any sizeable degree. I had two emails back in 2013 from a single motherboard manufacturer stating that disabling HPET in the BIOS can minimise DPC latency on their motherboard, however no comment was made about general performance. I cannot find anything explicitly from Intel though.

A Timely Re-Discovery Forcing HPET On, Plus Spectre and Meltdown Patches
Comments Locked

242 Comments

View All Comments

  • Ryan Smith - Thursday, April 26, 2018 - link

    "Thank you for the analysis. Can you somehow verify that very large variations (RoTR 1-2-3, Civ6) of performance on i7-8700K with HPET not forced are real?"

    Can and done. Using the Timers application we can compare the outputs of all of the timers, and ignoring the ancient 1KHz RTC timer, all of the important timers show no drift versus HPET. So there isn't a loss of accuracy affecting the calclation of frame rates.

    https://images.anandtech.com/doci/12678/TimerBench...
  • peevee - Thursday, April 26, 2018 - link

    "and ignoring the ancient 1KHz RTC timer"

    And yet it is _RT_C and should not be ignored. Moreover, it is more than precise enough for every test running at least a second.
  • peevee - Thursday, April 26, 2018 - link

    Just use an external clock (take a 60+ fps video camera, record the sequence, see what is going on outside of the clocks on the same computer).
  • Holliday75 - Thursday, April 26, 2018 - link

    What if the clock on the camera is using HPET? Osnap.

    Suddenly the only clock I trust is in Boulder Colorado.
  • kpb321 - Wednesday, April 25, 2018 - link

    IMO if it has that dramatic an effect on things I'd like to see continued testing and coverage of the issue. As pointed out it's not exactly hard to end up with HPET turned on. I'm pretty sure I've launched the Ryzen master at least once on my system so it should be forced on. I also use my MB mfgs fan controller software which may or may not do the same thing.

    Testing every game on every system with HPET off and then on may not be practical but I'd still like to see tests for CiV6 and/or RoTR as those seem to be the biggest outliers until the impact becomes minimal or statistically meaningless.
  • Silma - Wednesday, April 25, 2018 - link

    Kudos to the Anandtech team, its integrity, its in-depth knowledge, its hard work!

    This is why Anandtech is my number one trusted source for benchmarks.
  • johnsmith222 - Wednesday, April 25, 2018 - link

    I've searched youtube and was suprised with number of videos addressing Intel HPET problem:
    https://www.youtube.com/results?search_query=intel...
    Bassicaly it is known problem.
  • Hifihedgehog - Wednesday, April 25, 2018 - link

    First, Smeltdown and now an HPET bug. This Intel HPET bug deserves an article entirely of its own. Haha...
  • Crazyeyeskillah - Wednesday, April 25, 2018 - link

    It's not a bug. You literally have no concept of what you are talking about, yet you are commenting on an article that explains it in greater detail than ever put to page. HPET has to be used in extreme overclocking scenarios as windows 8/10 create variances in those situations. Ryan misinterpreted that it needed to be on always, and thus this situation was born.

    HPET isn't a but, it's a setting in bios that forces clock synchronization on the faulty Windows 10/8 system that can give incorrect data (ie: benchmark times ect.)
  • RafaelHerschel - Wednesday, April 25, 2018 - link

    Do you realize that they got it wrong? They deviated from the default situation and got results that were misleading...

Log in

Don't have an account? Sign up now