Jun. 17th, 2016

izard: (Default)
Skylake is the currently selling CPU, and it is a good one. (I have it in my home desktop too).
But there is a small undocumented regression. It should not bother anyone, unless in very specific settings.

Here is the code to test it:
Read more... )
The code just reads RTC (but does not parse the output). On Broadwell, previous gen, it takes less than 1k cycles. On Skylake, it takes 200k-500k cycles. Why? If you would read MSR 0x34 (SMIs handled since boot) before and after the test on Broadwell, the increment will be 0. On Skylake, it would be 2.

So any IN or OUT operation on ports below 0xff are now handled in SMI. This is legacy IO that is rarely used in a modern OS, and even if it is occasionally used, ~10 microseconds delay would not affect performance. Unless you are trying to control equipment with 31.25 microsecond response time ;)

Profile

izard: (Default)
izard

July 2025

S M T W T F S
  12345
67 8 9101112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 12th, 2025 10:28 am
Powered by Dreamwidth Studios