tech-kern archive

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

Re: ACPI related performance trouble



manu%netbsd.org@localhost (Emmanuel Dreyfus) writes:

>Joerg Sonnenberger <joerg%bec.de@localhost> wrote:

>> Have you compared the machdep sysctl?

>Here it is. 

>+machdep.dmi.system-serial = 0123456789
>+machdep.dmi.system-uuid = 00000000-0000-0000-0000-ac1f6b747c48

The serial numbers are only shown to root.

As for performance, the common issue was that the ACPI interrupt
isn't handled and you get several thousand interrupts per second
that slow down everything.

E.g. (For a good case):

acpi0: SCI interrupting at int 9

% vmstat -iv
TLB shootdown    6572617   16
cpu0 timer      41040041   99
ioapic0 pin 9          0    0       <-------------
msix0 vec 0            0    0
msix0 vec 1      3111598    7
msix0 vec 2       942866    2
msix0 vec 3       251364    0
msix0 vec 4       187287    0
msi1 vec 0             0    0
msi2 vec 0       3927300    9
ioapic0 pin 16        23    0
msix3 vec 0            0    0
msix3 vec 1            0    0
msix3 vec 2            0    0
msix3 vec 3            0    0
msix3 vec 4            0    0
ioapic0 pin 23        26    0
msi4 vec 0       6111286   14
ioapic0 pin 18         0    0
ioapic0 pin 4       1999    0
Total           62146407  151

% intrctl list
interrupt id      CPU0    CPU1    CPU2    CPU3  device name(s)
ioapic0 pin 9        0*      0       0       0  acpi SCI           <-------
msix0 vec 0          0*      0       0       0  nvme0 adminq
msix0 vec 1    3111598*      0       0       0  nvme0 ioq1
msix0 vec 2          0  942866*      0       0  nvme0 ioq2
msix0 vec 3          0       0  251364*      0  nvme0 ioq3
msix0 vec 4          0       0       0  187287* nvme0 ioq4
msi1 vec 0           0*      0       0       0  xhci0
msi2 vec 0     3927265*      0       0       0  wm0
ioapic0 pin 16      23*      0       0       0  ehci0, i915drmkms0
msix3 vec 0          0*      0       0       0  wm1TXRX0
msix3 vec 1          0       0*      0       0  wm1TXRX1
msix3 vec 2          0       0       0*      0  wm1TXRX2
msix3 vec 3          0       0       0       0* wm1TXRX3
msix3 vec 4          0*      0       0       0  wm1LINK
ioapic0 pin 23      26*      0       0       0  ehci1
msi4 vec 0     6111264*      0       0       0  ahcisata0
ioapic0 pin 18       0*      0       0       0  ichsmb0
ioapic0 pin 4     1999*      0       0       0  com0


-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index