Linux, Making AMD ACPI Response Slower For 20 Years


A Dummy Wait Op Has Been Unnecessarily Slowing AMD Chips

If you’ve run into workloads on your AMD powered Linux box that are slower than expected, a fix is on the way to make your life better.  There is an ancient workaround which used to be needed to ensure some chipsets had time for STPCLK# assertions, which dates back to 2002 when Linux first included ACPI support.  This was accomplished with a dummy wait op that gave old chipsets, like those from VIA, enough time to properly finish operations before moving on.

The problem is that it hasn’t been necessary in quite some time, but it was never removed.  This doesn’t have a huge effect on a small Ryzen system, however it also applies to EPYC processors.  That means that even a small delay can add up when you deploy those chips at scale.  The fix has just been merged into Linux 6.0 which means that Phoronix needs to get busy benchmarking.

You can read details about why this fix was necessary for AMD ACPI here, with benchmarks to follow soon.



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *

Please answer the following anti-spam test

589 + 318 = ?

  1.    903
  2.    976
  3.    993
  4.    907
  5.    894
Just select the correct answers among the proposed