tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ACPI related performance trouble



Hello

I just got two identical machines, let us call them glutamine and leucine. I
run ffmpeg4 to transcode H264 video to webm, and leucine is about 12 times
faster than glutamine.

The hardware and software are the same, the BIOS revision are identical. The
only difference dmesg tells me about beyond ethernet MAC addresses are the
ACPI table addresses, which are a bit different.

Following the hint about ACPI, I tried booting glutamine with option -2
(disable ACPI). That boosts its performance on par with leucine.

I can live without ACPI, but I still wonder what could cause the problem.
Anyone has an idea? I compared acpidump -d -outputs on the two machines. The
only differences are in dsdt, ssdt2 and ssdt7 and even there, they are scarce.
It looks like if it only about addresses.

--- glutamine/dsdt.dsl  2021-02-25 11:41:36.000000000 +0100
+++ leucine/dsdt.dsl    2021-02-25 11:41:48.000000000 +0100
@@ -4,15 +4,15 @@
  * Copyright (c) 2000 - 2016 Intel Corporation
  * 
  * Disassembling to symbolic ASL+ operators
  *
- * Disassembly of dsdt.dat, Thu Feb 25 10:41:12 2021
+ * Disassembly of dsdt.dat, Thu Feb 25 11:40:56 2021
  *
  * Original Table Header:
  *     Signature        "DSDT"
  *     Length           0x00029C56 (171094)
  *     Revision         0x02
- *     Checksum         0x89
+ *     Checksum         0xE9
  *     OEM ID           "SUPERM"
  *     OEM Table ID     "SMCI--MB"
  *     OEM Revision     0x01072009 (17244169)
  *     Compiler ID      "INTL"
@@ -278,9 +278,9 @@
     Name (IOST, 0x4001)
     Name (TOPM, 0x00000000)
     Name (ROMS, 0xFFE00000)
     Name (VGAF, One)
-    OperationRegion (GNVS, SystemMemory, 0x8C50C000, 0x07C0)
+    OperationRegion (GNVS, SystemMemory, 0x8C501000, 0x07C0)
     Field (GNVS, AnyAcc, Lock, Preserve)
     {
         OSYS,   16, 
         SMIF,   8, 
@@ -12121,9 +12121,9 @@
             Notify (\_SB.PCI0.GFX0.DD1F, Arg0)
         }
     }
 
-    Name (PNVB, 0x8C53F018)
+    Name (PNVB, 0x8C534018)
     Name (PNVL, 0x0287)
     If (ECR1 == One)
     {
         Scope (_SB.PCI0)
--- glutamine/ssdt2.dsl 2021-02-25 11:41:37.000000000 +0100
+++ leucine/ssdt2.dsl   2021-02-25 11:41:49.000000000 +0100
@@ -4,15 +4,15 @@
  * Copyright (c) 2000 - 2016 Intel Corporation
  * 
  * Disassembling to symbolic ASL+ operators
  *
- * Disassembly of ssdt2.dat, Thu Feb 25 10:41:12 2021
+ * Disassembly of ssdt2.dat, Thu Feb 25 11:40:56 2021
  *
  * Original Table Header:
  *     Signature        "SSDT"
  *     Length           0x00003165 (12645)
  *     Revision         0x02
- *     Checksum         0x2D
+ *     Checksum         0xDD
  *     OEM ID           "SaSsdt"
  *     OEM Table ID     "SaSsdt "
  *     OEM Revision     0x00003000 (12288)
  *     Compiler ID      "INTL"
@@ -60,9 +60,9 @@
     External (OSYS, IntObj)
     External (PNHM, IntObj)
     External (S0ID, UnknownObj)
 
-    OperationRegion (SANV, SystemMemory, 0x8C53F358, 0x01F7)
+    OperationRegion (SANV, SystemMemory, 0x8C534358, 0x01F7)
     Field (SANV, AnyAcc, Lock, Preserve)
     {
         ASLB,   32, 
         IMON,   8, 
--- glutamine/ssdt7.dsl 2021-02-25 11:41:38.000000000 +0100
+++ leucine/ssdt7.dsl   2021-02-25 11:41:50.000000000 +0100
@@ -4,15 +4,15 @@
  * Copyright (c) 2000 - 2016 Intel Corporation
  * 
  * Disassembling to symbolic ASL+ operators
  *
- * Disassembly of ssdt7.dat, Thu Feb 25 10:41:12 2021
+ * Disassembly of ssdt7.dat, Thu Feb 25 11:40:56 2021
  *
  * Original Table Header:
  *     Signature        "SSDT"
  *     Length           0x000017AE (6062)
  *     Revision         0x02
- *     Checksum         0x7B
+ *     Checksum         0xDE
  *     OEM ID           "CpuRef"
  *     OEM Table ID     "CpuSsdt"
  *     OEM Revision     0x00003000 (12288)
  *     Compiler ID      "INTL"
@@ -43,27 +43,27 @@
     {
         Name (SSDT, Package (0x15)
         {
             "CPU0IST ", 
-            0x8BCD8398, 
+            0x8BCCD398, 
             0x00000651, 
             "APIST   ", 
-            0x8BC7F018, 
+            0x8BC74018, 
             0x00000D14, 
             "CPU0CST ", 
-            0x8BC80898, 
+            0x8BC75898, 
             0x000003FF, 
             "APCST   ", 
-            0x8BC7E018, 
+            0x8BC73018, 
             0x0000030A, 
             "CPU0HWP ", 
-            0x8BCD8C18, 
+            0x8BCCDC18, 
             0x000000BA, 
             "APHWP   ", 
-            0x8BC7EBD8, 
+            0x8BC73BD8, 
             0x00000317, 
             "HWPLVT  ", 
-            0x8BC80018, 
+            0x8BC75018, 
             0x00000628
         })
         Name (\PC00, 0x80000000)
         Name (\PC01, 0x80000000)
@@ -86,9 +86,9 @@
 
     Scope (\_PR)
     {
         Name (CTPC, Zero)
-        OperationRegion (PNVS, SystemMemory, 0x756AD000, 0x006C)
+        OperationRegion (PNVS, SystemMemory, 0x7B654000, 0x006C)
         Field (PNVS, AnyAcc, Lock, Preserve)
         {
             PGRV,   8, 
             CFGD,   32, 


-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index