Some additional information:

When running iperf3 between two of these machines (connected back/back) the
throughput is very low.

PF is running with just the 'default' ruleset on both machines.
# pfctl -s rules
block return all
pass all flags S/SA
block return in on ! lo0 proto tcp from any to any port 6000:6010
block return out log proto tcp all user = 55
block return out log proto udp all user = 55

Considering these IGC interfaces are 2.5Gbit/s, I cannot help feeling it is
being hampered by this constant ACPI spam.

So raw IP
# iperf3 -c 192.168.99.2 -P5
[ ID] Interval           Transfer     Bitrate
[SUM]   0.00-10.01  sec   171 MBytes   143 Mbits/sec                  sender
[SUM]   0.00-10.02  sec   170 MBytes   143 Mbits/sec
 receiver

Adding wireguard on top:
# iperf3 -c 172.16.1.1  -P5
[SUM]   0.00-10.01  sec  55.6 MBytes  46.6 Mbits/sec                  sender
[SUM]   0.00-10.03  sec  55.5 MBytes  46.4 Mbits/sec
 receiver


Thanks

On Fri, 13 Jan 2023 at 10:02, Bradley Latus <brad.la...@gmail.com> wrote:

> Hello all,
>
> I have an issue with my new intel NUC that I am trying to use as a PF
> firewall box.
> I have already tried upgrading to the latest BIOS but that does not appear
> to have worked.
>
> Basically when you look at systat all I see 100% usage of 1 core servicing
> ACPI0, on a completely otherwise idle system.
>
> Is there a way to isolate what is causing this issue?
> I understand that I can rebuild with acpi_debug turned on but when I tried
> the system was basically unresponsive as so many messages went by.
>
> Systat outputs:
> 2 users Load 1.66 1.24 0.57       carpenter  09:54:21
>
>      PID USER             NAME                          CPU    10\   20\
> 30\   40\   50\   60\   70\   80\   90\  100\
>    46868 root             acpi0                       89.26
> #####################################################
>                           <idle>                      46.19
> ###########################
>    65226 carpenter        systat                       1.27
>    38804 root             sensors                      1.12
>
> 2 users Load 1.34 1.21 0.59                       carpenter 09:55:04
>
> memory totals (in KB)    PAGING   SWAPPING
>   Interrupts
>               real        virtual    free         in  out   in  out
>                      361 total
> Active    35480     35480  6367572   ops
>            200 clock
> All     1400840   1400840 10568564   pages
>        16   ipi
>
>                                   143  acpi0
> Proc:r  d  s  w    Csw   Trp   Sys   Int   Sof  Flt
> forks                inteldrm
>           83       301     1    11   145    51    4
>    fkppw              nvme0
>
>                   fksvm              xhci1
>    4.9%Int   1.0%Spn  46.6%Sys   0.0%Usr  47.5%Idle      pwait
>    igc0:0
> |    |    |    |    |    |    |    |    |    |    |
>                   relck                igc0
> ||@=======================                                      rlkok
>      2    igc1:0
>
>                   noram              igc1:1
> Namei         Sys-cache    Proc-cache    No-cache              ndcpy
>          igc1
>     Calls     hits    %    hits     %    miss   %
>  fltcp
>        10       10  100
>           zfod
>
>                  cow
> Disks   sd0
>      64736 fmin
> seeks
>        86314 ftarg
> xfers
>                itarg
> speed
>        29 wired
>   sec
>               pdfre
>
>                   pdscn
>
>                  pzidl          3 IPKTS
>
>            10 kmape       1 OPKTS
>
> dmesg output:
>
>
> carpenter$ dmesg
> OpenBSD 7.2 (GENERIC.MP) #758: Tue Sep 27 11:57:54 MDT 2022
>     dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 8212676608 (7832MB)
> avail mem = 7946371072 (7578MB)
> random: good seed from bootblocks
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 3.3 @ 0x414c8000 (124 entries)
> bios0: vendor Intel Corp. version "TNTGL357.0070.2022.1028.1209" date
> 10/28/2022
> bios0: Intel(R) Client Systems NUC11TNHi3
> acpi0 at bios0: ACPI 6.2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SSDT FIDT SSDT SSDT SSDT HPET APIC SSDT SSDT NHLT
> UEFI LPIT WDAT SSDT SSDT DBGP DBG2 DMAR FPDT SSDT MCFG SSDT BGRT TPM2 PTDT
> WSMT
> acpi0: wakeup devices PEGP(S4) PEGP(S4) PEGP(S4) PEG0(S4) PEGP(S4)
> SIO1(S3) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) RP04(S4)
> PXSX(S4) RP05(S4) PXSX(S4) [...]
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 19200000 Hz
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: 11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz, 4090.57 MHz, 06-8c-01
> cpu0:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,CLWB,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu0: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB
> 64b/line 20-way L2 cache, 6MB 64b/line 12-way L3 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges
> cpu0: apic clock running at 38MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.0.1.2.1.1.1, IBE
> cpu1 at mainbus0: apid 2 (application processor)
> cpu1: 11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz, 4090.57 MHz, 06-8c-01
> cpu1:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,CLWB,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu1: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB
> 64b/line 20-way L2 cache, 6MB 64b/line 12-way L3 cache
> cpu1: smt 0, core 1, package 0
> cpu2 at mainbus0: apid 1 (application processor)
> cpu2: 11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz, 4090.57 MHz, 06-8c-01
> cpu2:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,CLWB,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu2: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB
> 64b/line 20-way L2 cache, 6MB 64b/line 12-way L3 cache
> cpu2: smt 1, core 0, package 0
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: 11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz, 4090.57 MHz, 06-8c-01
> cpu3:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,TSC_ADJUST,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,AVX512F,AVX512DQ,RDSEED,ADX,SMAP,AVX512IFMA,CLFLUSHOPT,CLWB,PT,AVX512CD,SHA,AVX512BW,AVX512VL,AVX512VBMI,UMIP,PKU,SRBDS_CTRL,MD_CLEAR,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
> cpu3: 48KB 64b/line 12-way D-cache, 32KB 64b/line 8-way I-cache, 1MB
> 64b/line 20-way L2 cache, 6MB 64b/line 12-way L3 cache
> cpu3: smt 1, core 1, package 0
> ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 120 pins
> acpimcfg0 at acpi0
> acpimcfg0: addr 0xc0000000, bus 0-89
> acpiprt0 at acpi0: bus 0 (PC00)
> acpiprt1 at acpi0: bus 1 (PEG0)
> acpiprt2 at acpi0: bus -1 (RP01)
> acpiprt3 at acpi0: bus -1 (RP02)
> acpiprt4 at acpi0: bus -1 (RP03)
> acpiprt5 at acpi0: bus -1 (RP04)
> acpiprt6 at acpi0: bus -1 (RP05)
> acpiprt7 at acpi0: bus -1 (RP06)
> acpiprt8 at acpi0: bus -1 (RP07)
> acpiprt9 at acpi0: bus -1 (RP08)
> acpiprt10 at acpi0: bus -1 (RP09)
> acpiprt11 at acpi0: bus 88 (RP10)
> acpiprt12 at acpi0: bus -1 (RP11)
> acpiprt13 at acpi0: bus 89 (RP12)
> acpiprt14 at acpi0: bus -1 (RP13)
> acpiprt15 at acpi0: bus -1 (RP14)
> acpiprt16 at acpi0: bus -1 (RP15)
> acpiprt17 at acpi0: bus -1 (RP16)
> acpiprt18 at acpi0: bus -1 (RP17)
> acpiprt19 at acpi0: bus -1 (RP18)
> acpiprt20 at acpi0: bus -1 (RP19)
> acpiprt21 at acpi0: bus -1 (RP20)
> acpiprt22 at acpi0: bus -1 (RP21)
> acpiprt23 at acpi0: bus -1 (RP22)
> acpiprt24 at acpi0: bus -1 (RP23)
> acpiprt25 at acpi0: bus -1 (RP24)
> acpiprt26 at acpi0: bus 2 (TRP1)
> acpiprt27 at acpi0: bus 45 (TRP2)
> acpiec0 at acpi0
> acpipci0 at acpi0 PC00: 0x00000000 0x00000011 0x00000001
> com0 at acpi0 UAR1 addr 0x3f8/0x8 irq 4: ns16550a, 16 byte fifo
> "INT3515" at acpi0 not configured
> "ACPI000E" at acpi0 not configured
> pchgpio0 at acpi0 GPI0 addr 0xfd6e0000/0x10000 0xfd6d0000/0x10000
> 0xfd6a0000/0x10000 0xfd690000/0x10000 irq 14, 360 pins
> acpibtn0 at acpi0: SLPB
> "PNP0C14" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> "INT33A1" at acpi0 not configured
> acpibtn1 at acpi0: PWRB
> tpm0 at acpi0 TPM_ 2.0 (CRB) addr 0xfed40000/0x5000, device 0x00000000 rev
> 0x0
> "PNP0C0B" at acpi0 not configured
> "PNP0C0B" at acpi0 not configured
> "PNP0C0B" at acpi0 not configured
> "PNP0C0B" at acpi0 not configured
> "PNP0C0B" at acpi0 not configured
> "PNP0C14" at acpi0 not configured
> acpipwrres0 at acpi0: V0PR
> acpipwrres1 at acpi0: V1PR
> acpipwrres2 at acpi0: V2PR
> acpipwrres3 at acpi0: PXTC
> acpipwrres4 at acpi0: PTPL
> acpipwrres5 at acpi0: PXTC
> acpipwrres6 at acpi0: PXTC
> acpipwrres7 at acpi0: WRST
> acpipwrres8 at acpi0: TBT0, resource for TDM0, TRP0, TRP1
> acpipwrres9 at acpi0: TBT1, resource for TDM1, TRP2, TRP3
> acpipwrres10 at acpi0: D3C_, resource for TXHC, TDM0, TDM1, TRP0, TRP1,
> TRP2, TRP3
> acpipwrres11 at acpi0: PAUD, resource for HDAS
> acpicpu0 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31),
> C1(1000@1 mwait.1), PSS
> acpicpu1 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31),
> C1(1000@1 mwait.1), PSS
> acpicpu2 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31),
> C1(1000@1 mwait.1), PSS
> acpicpu3 at acpi0: C3(200@1048 mwait.1@0x60), C2(200@253 mwait.1@0x31),
> C1(1000@1 mwait.1), PSS
> acpipwrres12 at acpi0: FN00, resource for FAN0
> acpipwrres13 at acpi0: FN01, resource for FAN1
> acpipwrres14 at acpi0: FN02, resource for FAN2
> acpipwrres15 at acpi0: FN03, resource for FAN3
> acpipwrres16 at acpi0: FN04, resource for FAN4
> acpitz0 at acpi0: critical temperature is 119 degC
> acpipwrres17 at acpi0: PIN_
> acpivideo0 at acpi0: GFX0
> acpivout0 at acpivideo0: DD1F
> acpivout1 at acpivideo0: DD2F
> cpu0: Enhanced SpeedStep 4090 MHz: speeds: 2901, 2900, 2800, 2600, 2400,
> 2200, 2100, 1700, 1600, 1500, 1300, 1100, 1000, 800, 600, 400 MHz
> pci0 at mainbus0 bus 0
> 0:31:5: mem address conflict 0xfe010000/0x1000
> pchb0 at pci0 dev 0 function 0 "Intel Core 11G Host" rev 0x01
> inteldrm0 at pci0 dev 2 function 0 "Intel UHD Graphics" rev 0x01
> drm0 at inteldrm0
> inteldrm0: msi, TIGERLAKE, gen 12
> ppb0 at pci0 dev 6 function 0 "Intel Core 11G PCIE" rev 0x01: msi
> pci1 at ppb0 bus 1
> nvme0 at pci1 dev 0 function 0 unknown vendor 0xc0a9 product 0x540a rev
> 0x01: msix, NVMe 1.4
> nvme0: CT500P3SSD8, firmware P9CR30A, serial 2239E66ED8C4
> scsibus1 at nvme0: 2 targets, initiator 0
> sd0 at scsibus1 targ 1 lun 0: <NVMe, CT500P3SSD8, P9CR>
> sd0: 476940MB, 512 bytes/sector, 976773168 sectors
> ppb1 at pci0 dev 7 function 0 "Intel Core 11G PCIE" rev 0x01: msi
> pci2 at ppb1 bus 2
> ppb2 at pci0 dev 7 function 2 "Intel Core 11G PCIE" rev 0x01: msi
> pci3 at ppb2 bus 45
> "Intel Core 11G GNA" rev 0x01 at pci0 dev 8 function 0 not configured
> xhci0 at pci0 dev 13 function 0 "Intel Core 11G xHCI" rev 0x01: msi, xHCI
> 1.20
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 configuration 1 interface 0 "Intel xHCI root hub" rev
> 3.00/1.00 addr 1
> "Intel Core 11G TBT" rev 0x01 at pci0 dev 13 function 2 not configured
> "Intel Core 11G TBT" rev 0x01 at pci0 dev 13 function 3 not configured
> xhci1 at pci0 dev 20 function 0 "Intel 500 Series xHCI" rev 0x20: msi,
> xHCI 1.20
> usb1 at xhci1: USB revision 3.0
> uhub1 at usb1 configuration 1 interface 0 "Intel xHCI root hub" rev
> 3.00/1.00 addr 1
> "Intel 500 Series Shared SRAM" rev 0x20 at pci0 dev 20 function 2 not
> configured
> dwiic0 at pci0 dev 21 function 0 "Intel 500 Series I2C" rev 0x20: apic 2
> int 27
> iic0 at dwiic0
> dwiic1 at pci0 dev 21 function 1 "Intel 500 Series I2C" rev 0x20: apic 2
> int 40
> iic1 at dwiic1
> "INT3515" at iic1 addr 0x25 not configured
> "Intel 500 Series HECI" rev 0x20 at pci0 dev 22 function 0 not configured
> ahci0 at pci0 dev 23 function 0 "Intel 500 Series AHCI" rev 0x20: msi,
> AHCI 1.3.1
> ahci0: PHY offline on port 0
> scsibus2 at ahci0: 32 targets
> ppb3 at pci0 dev 29 function 0 "Intel 500 Series PCIE" rev 0x20: msi
> pci4 at ppb3 bus 88
> igc0 at pci4 dev 0 function 0 "Intel I225-LM" rev 0x03, msix, 2 queues,
> address 48:21:0b:37:87:17
> ppb4 at pci0 dev 29 function 3 "Intel 500 Series PCIE" rev 0x20: msi
> pci5 at ppb4 bus 89
> igc1 at pci5 dev 0 function 0 "Intel I225-LM" rev 0x03, msix, 2 queues,
> address 48:21:0b:36:f9:ca
> pcib0 at pci0 dev 31 function 0 "Intel 500 Series eSPI" rev 0x20
> azalia0 at pci0 dev 31 function 3 "Intel 500 Series HD Audio" rev 0x20: msi
> azalia0: no supported codecs
> ichiic0 at pci0 dev 31 function 4 "Intel 500 Series SMBus" rev 0x20: apic
> 2 int 16
> iic2 at ichiic0
> spdmem0 at iic2 addr 0x50: 4GB DDR4 SDRAM PC4-21300 SO-DIMM
> spdmem1 at iic2 addr 0x52: 4GB DDR4 SDRAM PC4-21300 SO-DIMM
> "Intel 500 Series SPI" rev 0x20 at pci0 dev 31 function 5 not configured
> isa0 at pcib0
> isadma0 at isa0
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> com1: probed fifo depth: 0 bytes
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> vmm0 at mainbus0: VMX/EPT
> efifb at mainbus0 not configured
> uhidev0 at uhub1 port 2 configuration 1 interface 0 "Chicony HP Elite USB
> Keyboard" rev 1.10/1.21 addr 2
> uhidev0: iclass 3/1
> ukbd0 at uhidev0: 8 variable keys, 6 key codes
> wskbd0 at ukbd0: console keyboard
> uhidev1 at uhub1 port 2 configuration 1 interface 1 "Chicony HP Elite USB
> Keyboard" rev 1.10/1.21 addr 2
> uhidev1: iclass 3/0, 2 report ids
> uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
> ucc0 at uhidev1 reportid 2: 768 usages, 18 keys, array
> wskbd1 at ucc0 mux 1
> uhub2 at uhub1 port 4 configuration 1 interface 0 "Genesys Logic USB2.0
> Hub" rev 2.00/88.32 addr 3
> vscsi0 at root
> scsibus3 at vscsi0: 256 targets
> softraid0 at root
> scsibus4 at softraid0: 256 targets
> root on sd0a (705f03ac8a9a3d25.a) swap on sd0b dump on sd0b
> inteldrm0: 1920x1200, 32bpp
> wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0
> wskbd1: connecting to wsdisplay0
> wsdisplay0: screen 1-5 added (std, vt100 emulation)
>
> --
> Best Regards,
>     Brad Latus
>


-- 
Best Regards,
    Brad Latus

Reply via email to