Re: Why openbsd use only 2 of my 4 CPU ?

2018-07-25 Thread vincent delft
Thanks

Indeed it was very simple,
sysctl hw.smt=1
solve the situation.

Now my 4 cpu are working all together.

I thought this problem was linked to some ACPI related features
(like I did on this machine some months ago where I finally find the cause
by disabling ichiic)
I was on the wrong direction.


It's true that those 2 CPU are not "real one", but I feel the difference
when using libreoffice.


Regards






On Wed, Jul 25, 2018 at 8:01 PM vincent delft 
wrote:

> 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  TIMECPU COMMAND
> 49990 vi590  405M  360M onproc/0  - 0:30 76.27% firefox
> 49459 vi 20  362M  276M sleep/0   poll  0:29 24.56% firefox
> 69993 vi 20   31M   54M run/0 poll  0:12  4.98% Xorg
> 16268 vi 20  216M  136M sleep/0   poll  0:06  2.69% firefox
> 58451 vi 20 1524K 3048K sleep/1   select0:03  1.71% compton
>  9141 vi 20  188M   99M sleep/1   poll  0:03  1.56% firefox
> 41741 vi 20 3560K   15M sleep/1   select0:05  0.44% tint2
> 43511 vi 20 8036K   14M sleep/0   select0:01  0.00% xterm
> 1 root  100  404K  444K idle  wait  0:01  0.00% init
> 78121 vi 20 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 0xfee0: 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:
> 

Re: Why openbsd use only 2 of my 4 CPU ?

2018-07-25 Thread Stuart Henderson
On 2018-07-25, Callum Davies  wrote:
> SMT was disabled in current about a month ago for speculative security
> reasons. You can turn it back on using the sysctl hw.smt.  Refer to the
> commit message for revision 1.178 of src/sys/sys/sysctl.h for more
> details and rationale.

That *may* be the reason, but the SMT "CPUs" aren't anything
like individual CPU cores, various resources are shared. In many
circumstances they won't add anything to performance. We have been
doing package bulk builds with SMT disabled for a long time: it's
significantly faster that way.

hw.smt=1 may help at the expense of insufficient isolation between
processes. But it might not. The thing causing slowness might be
totally unrelated to this.




Re: Why openbsd use only 2 of my 4 CPU ?

2018-07-25 Thread Allan Streib
vincent delft  writes:

> 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.

[...]

> 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

Your CPU has 2 cores. With SMT (HyperTheading), it appears to have
4, but SMT was disabled in -current for security.

https://www.mail-archive.com/source-changes@openbsd.org/msg99141.html

Allan



Re: Why openbsd use only 2 of my 4 CPU ?

2018-07-25 Thread Christoph R. Murauer
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  TIMECPU
> COMMAND
> 49990 vi590  405M  360M onproc/0  - 0:30 76.27%
> firefox
> 49459 vi 20  362M  276M sleep/0   poll  0:29 24.56%
> firefox
> 69993 vi 20   31M   54M run/0 poll  0:12  4.98%
> Xorg
> 16268 vi 20  216M  136M sleep/0   poll  0:06  2.69%
> firefox
> 58451 vi 20 1524K 3048K sleep/1   select0:03  1.71%
> compton
>  9141 vi 20  188M   99M sleep/1   poll  0:03  1.56%
> firefox
> 41741 vi 20 3560K   15M sleep/1   select0:05  0.44%
> tint2
> 43511 vi 20 8036K   14M sleep/0   select0:01  0.00%
> xterm
> 1 root  100  404K  444K idle  wait  0:01  0.00%
> init
> 78121 vi 20 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 0xfee0: 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: 

Re: Why openbsd use only 2 of my 4 CPU ?

2018-07-25 Thread Jordon

On 07/25/2018 01:01 PM, vincent delft wrote:

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:
--


In the name of security, hyperthreading has been turned off in -current.

https://undeadly.org/cgi?action=article;sid=20180620110722



Re: Why openbsd use only 2 of my 4 CPU ?

2018-07-25 Thread Callum Davies

On 25/07/2018 19:01, vincent delft wrote:
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 ? > > [snip]

SMT was disabled in current about a month ago for speculative security
reasons. You can turn it back on using the sysctl hw.smt.  Refer to the
commit message for revision 1.178 of src/sys/sys/sysctl.h for more
details and rationale.



Re: Why openbsd use only 2 of my 4 CPU ?

2018-07-25 Thread Theo de Raadt
>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.

You only have 2 real cpus.

the others are HT, and we disable those due to a security hole
called tlbleed.

You can search for the rest of the information yourself.



Why openbsd use only 2 of my 4 CPU ?

2018-07-25 Thread vincent delft
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  TIMECPU COMMAND
49990 vi590  405M  360M onproc/0  - 0:30 76.27% firefox
49459 vi 20  362M  276M sleep/0   poll  0:29 24.56% firefox
69993 vi 20   31M   54M run/0 poll  0:12  4.98% Xorg
16268 vi 20  216M  136M sleep/0   poll  0:06  2.69% firefox
58451 vi 20 1524K 3048K sleep/1   select0:03  1.71% compton
 9141 vi 20  188M   99M sleep/1   poll  0:03  1.56% firefox
41741 vi 20 3560K   15M sleep/1   select0:05  0.44% tint2
43511 vi 20 8036K   14M sleep/0   select0:01  0.00% xterm
1 root  100  404K  444K idle  wait  0:01  0.00% init
78121 vi 20 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 0xfee0: 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: