Check sysctl hw.smt https://www.mail-archive.com/source-changes@openbsd.org/msg99141.html
> Hello, > > I've migrated to -current to test the auto-join, but since then, my > system > is slow. Specially with libreoffice, firefox, ... > > By looking at top, I've saw that only 2 CPU are actually running. > > (Should I say that with OpenBSD-6.3 this was not the case.) > > What can I do ? > In which direction could I search for a solution ? > > The dmesg and Top are here after. > > regards > > ANNEXES: > -------------- > > Top > ----- > load averages: 2.06, 0.88, > 0.38 > e5450.home.lan 19:46:08 > 45 processes: 1 running, 42 idle, 2 on > processor > up 0:06 > CPU0 states: 56.3% user, 0.0% nice, 18.0% sys, 5.8% spin, 0.6% > intr, > 19.4% idle > CPU1 states: 50.6% user, 0.0% nice, 21.0% sys, 3.4% spin, 0.0% > intr, > 25.0% idle > CPU2 states: 0.0% user, 0.0% nice, 0.0% sys, 0.0% spin, 0.0% > intr, > 100% idle > CPU3 states: 0.0% user, 0.0% nice, 0.0% sys, 0.0% spin, 0.0% > intr, > 100% idle > Memory: Real: 753M/1649M act/tot Free: 6171M Cache: 628M Swap: > 0K/4220M > > PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU > COMMAND > 49990 vi 59 0 405M 360M onproc/0 - 0:30 76.27% > firefox > 49459 vi 2 0 362M 276M sleep/0 poll 0:29 24.56% > firefox > 69993 vi 2 0 31M 54M run/0 poll 0:12 4.98% > Xorg > 16268 vi 2 0 216M 136M sleep/0 poll 0:06 2.69% > firefox > 58451 vi 2 0 1524K 3048K sleep/1 select 0:03 1.71% > compton > 9141 vi 2 0 188M 99M sleep/1 poll 0:03 1.56% > firefox > 41741 vi 2 0 3560K 15M sleep/1 select 0:05 0.44% > tint2 > 43511 vi 2 0 8036K 14M sleep/0 select 0:01 0.00% > xterm > 1 root 10 0 404K 444K idle wait 0:01 0.00% > init > 78121 vi 2 0 5596K 17M sleep/0 poll 0:01 0.00% > openbox > > > > > DMESG: > ----------- > OpenBSD 6.3-current (GENERIC.MP) #140: Wed Jul 25 08:37:02 MDT 2018 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 8456654848 (8064MB) > avail mem = 8191193088 (7811MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.8 @ 0xed750 (89 entries) > bios0: vendor Dell Inc. version "A11" date 11/18/2015 > bios0: Dell Inc. Latitude E5450 > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP APIC FPDT FIDT MCFG HPET SSDT UEFI SSDT ASF! > SSDT > SSDT SSDT SSDT PCCT SSDT SSDT SSDT SLIC MSDM DMAR > acpi0: wakeup devices PEGP(S4) PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) > PEG2(S4) > PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) RP03(S4) PXSX(S4) > RP04(S4) > PXSX(S4) RP05(S4) [...] > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz, 2694.16 MHz > 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,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu0: 256KB 64b/line 8-way L2 cache > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 10 var ranges, 88 fixed ranges > cpu0: apic clock running at 99MHz > cpu0: mwait min=64, max=64, C-substates=0.2.1.2.4.1.1.1, IBE > cpu1 at mainbus0: apid 2 (application processor) > cpu1: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz, 2693.78 MHz > 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,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu1: 256KB 64b/line 8-way L2 cache > cpu1: smt 0, core 1, package 0 > cpu2 at mainbus0: apid 1 (application processor) > cpu2: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz, 2693.77 MHz > 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,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu2: 256KB 64b/line 8-way L2 cache > cpu2: smt 1, core 0, package 0 > cpu3 at mainbus0: apid 3 (application processor) > cpu3: Intel(R) Core(TM) i5-5300U CPU @ 2.30GHz, 2693.77 MHz > 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,SMX,EST,TM2,SSSE3,SDBG,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,PAGE1GB,RDTSCP,LONG,LAHF,ABM,3DNOWP,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM,RDSEED,ADX,SMAP,PT,IBRS,IBPB,STIBP,SENSOR,ARAT,XSAVEOPT,MELTDOWN > cpu3: 256KB 64b/line 8-way L2 cache > cpu3: smt 1, core 1, package 0 > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 40 pins > acpimadt0: bogus nmi for apid 0 > acpimadt0: bogus nmi for apid 2 > acpimadt0: bogus nmi for apid 1 > acpimadt0: bogus nmi for apid 3 > acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63 > acpihpet0 at acpi0: 14318179 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus -1 (PEG0) > acpiprt2 at acpi0: bus -1 (PEG1) > acpiprt3 at acpi0: bus -1 (PEG2) > acpiprt4 at acpi0: bus 1 (RP01) > acpiprt5 at acpi0: bus -1 (RP02) > acpiprt6 at acpi0: bus -1 (RP03) > acpiprt7 at acpi0: bus 2 (RP04) > acpiprt8 at acpi0: bus 3 (RP05) > acpiprt9 at acpi0: bus -1 (RP06) > acpiprt10 at acpi0: bus -1 (RP07) > acpiprt11 at acpi0: bus -1 (RP08) > acpiec0 at acpi0 > acpicpu0 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), > C1(1000@1 mwait.1), PSS > acpicpu1 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), > C1(1000@1 mwait.1), PSS > acpicpu2 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), > C1(1000@1 mwait.1), PSS > acpicpu3 at acpi0: C3(200@506 mwait.1@0x60), C2(200@148 mwait.1@0x33), > C1(1000@1 mwait.1), PSS > acpipwrres0 at acpi0: PG00, resource for PEG0 > acpipwrres1 at acpi0: PG01, resource for PEG1 > acpipwrres2 at acpi0: PG02, resource for PEG2 > acpitz0 at acpi0: critical temperature is 107 degC > acpipwrres3 at acpi0: FN00, resource for FAN0 > acpipwrres4 at acpi0: FN01, resource for FAN1 > acpipwrres5 at acpi0: FN02, resource for FAN2 > acpipwrres6 at acpi0: FN03, resource for FAN3 > acpipwrres7 at acpi0: FN04, resource for FAN4 > acpitz1 at acpi0: critical temperature is 105 degC > acpitz2 at acpi0: critical temperature is 105 degC > acpicmos0 at acpi0 > "INT3F0D" at acpi0 not configured > "INT3403" at acpi0 not configured > "INT3403" at acpi0 not configured > "DLLK062B" at acpi0 not configured > "DLL062B" at acpi0 not configured > "SMO8810" at acpi0 not configured > "INT3402" at acpi0 not configured > "PNP0C14" at acpi0 not configured > acpibtn0 at acpi0: LID0 > acpibtn1 at acpi0: PBTN > acpibtn2 at acpi0: SBTN > acpiac0 at acpi0: AC unit offline > acpibat0 at acpi0: BAT0 model "DELL R9XM95C" serial 1144 type LiP oem > "Sanyo" > "DELLABCE" at acpi0 not configured > "INT340F" at acpi0 not configured > "INT3400" at acpi0 not configured > "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 > acpivideo0 at acpi0: GFX0 > acpivout0 at acpivideo0: LCD_ > cpu0: Enhanced SpeedStep 2694 MHz: speeds: 2301, 2300, 2200, 2000, > 1900, > 1800, 1700, 1500, 1400, 1300, 1100, 1000, 900, 800, 600, 500 MHz > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "Intel Core 5G Host" rev 0x09 > inteldrm0 at pci0 dev 2 function 0 "Intel HD Graphics 5500" rev 0x09 > drm0 at inteldrm0 > inteldrm0: msi > inteldrm0: 1920x1080, 32bpp > error: [drm:pid0:intel_dp_link_training_clock_recovery] *ERROR* too > many > full retries, give up > Unclaimed register detected before reading register 0x64040 > wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation) > wsdisplay0: screen 1-5 added (std, vt100 emulation) > azalia0 at pci0 dev 3 function 0 "Intel Core 5G HD Audio" rev 0x09: > msi > "Intel Core 5G Thermal" rev 0x09 at pci0 dev 4 function 0 not > configured > xhci0 at pci0 dev 20 function 0 "Intel 9 Series xHCI" rev 0x03: msi, > xHCI > 1.0 > 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 9 Series MEI" rev 0x03 at pci0 dev 22 function 0 not configured > em0 at pci0 dev 25 function 0 "Intel I218-LM" rev 0x03: msi, address > f8:ca:b8:50:84:15 > azalia1 at pci0 dev 27 function 0 "Intel 9 Series HD Audio" rev 0x03: > msi > azalia1: codecs: Realtek/0x0293 > audio0 at azalia1 > ppb0 at pci0 dev 28 function 0 "Intel 9 Series PCIE" rev 0xe3: msi > pci1 at ppb0 bus 1 > sdhc0 at pci1 dev 0 function 0 vendor "O2 Micro", unknown product > 0x8520 > rev 0x01: apic 2 int 16 > sdhc0: SDHC 4.0, 50 MHz base clock > sdmmc0 at sdhc0: 8-bit, sd high-speed, mmc high-speed, dma > ppb1 at pci0 dev 28 function 3 "Intel 9 Series PCIE" rev 0xe3: msi > pci2 at ppb1 bus 2 > iwm0 at pci2 dev 0 function 0 "Intel Dual Band Wireless AC 7265" rev > 0x59, > msi > ppb2 at pci0 dev 28 function 4 "Intel 9 Series PCIE" rev 0xe3: msi > pci3 at ppb2 bus 3 > ehci0 at pci0 dev 29 function 0 "Intel 9 Series USB" rev 0x03: apic 2 > int 21 > usb1 at ehci0: USB revision 2.0 > uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev > 2.00/1.00 addr 1 > pcib0 at pci0 dev 31 function 0 "Intel 9 Series LPC" rev 0x03 > ahci0 at pci0 dev 31 function 2 "Intel 9 Series AHCI" rev 0x03: msi, > AHCI > 1.3 > ahci0: port 1: 6.0Gb/s > scsibus1 at ahci0: 32 targets > sd0 at scsibus1 targ 1 lun 0: <ATA, INTENSO SSD 128G, O021> SCSI3 > 0/direct > fixed naa.0000000000000000 > sd0: 122104MB, 512 bytes/sector, 250069680 sectors, thin > ichiic0 at pci0 dev 31 function 3 "Intel 9 Series SMBus" rev 0x03: > apic 2 > int 18 > iic0 at ichiic0 > iic0: addr 0x29 07=ff 0f=33 10=08 11=90 12=07 13=51 14=b3 15=21 16=22 > 17=22 > 18=27 19=99 1a=70 1b=64 1c=c0 1e=20 20=7f 22=40 27=ff 29=01 2d=40 > 2f=20 > 30=95 31=25 32=0e 33=16 87=ff 8f=33 90=08 91=90 92=07 93=51 94=b3 > 95=21 > 96=22 97=22 98=27 99=99 9a=70 9b=64 9c=c0 9e=20 a0=7f a2=40 a7=ff > a9=fe > ad=45 af=20 b0=95 b1=25 b2=0e b3=16 words 00=0000 01=0000 02=0000 > 03=0000 > 04=0000 05=0000 06=0000 07=ffff > spdmem0 at iic0 addr 0x50: 8GB DDR3 SDRAM PC3-12800 SO-DIMM > isa0 at pcib0 > isadma0 at isa0 > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pms0 at pckbc0 (aux slot) > wsmouse0 at pms0 mux 0 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > vmm0 at mainbus0: VMX/EPT > uhidev0 at uhub0 port 2 configuration 1 interface 0 "Logitech USB > Receiver" > rev 2.00/29.01 addr 2 > uhidev0: iclass 3/1 > ukbd0 at uhidev0: 8 variable keys, 6 key codes > wskbd1 at ukbd0 mux 1 > wskbd1: connecting to wsdisplay0 > uhidev1 at uhub0 port 2 configuration 1 interface 1 "Logitech USB > Receiver" > rev 2.00/29.01 addr 2 > uhidev1: iclass 3/1, 17 report ids > ums0 at uhidev1 reportid 2: 16 buttons, Z and W dir > wsmouse1 at ums0 mux 0 > uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0 > uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0 > uhid2 at uhidev1 reportid 16: input=6, output=6, feature=0 > uhid3 at uhidev1 reportid 17: input=19, output=19, feature=0 > uhub2 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching > Hub" > rev 2.00/0.03 addr 2 > uvideo0 at uhub2 port 6 configuration 1 interface 0 "SunplusIT Inc > Integrated_Webcam_HD" rev 2.00/46.16 addr 3 > video0 at uvideo0 > ugen0 at uhub2 port 7 "Broadcom Corp 5880" rev 1.10/1.01 addr 4 > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > scsibus3 at softraid0: 256 targets > root on sd0a (81379a06de1dd84a.a) swap on sd0b dump on sd0b > iwm0: hw rev 0x210, fw ver 16.242414.0, address 10:02:b5:83:40:41 >