Selectively block cores from the scheduler with sysctl hw.blockcpu
Contributed by rueda on from the not-flogging-a-wet-week dept.
We're a little late reporting it but…
The familiar safeguard
sysctl hw.smt
is now deprecated,
having been replaced by a more flexible mechanism
which allows discriminating between different varieties of core type.
First, Theo de Raadt (deraadt@) enabled the mechanism for OpenBSD/amd64 in this
commit:
CVSROOT: /cvs Module name: src Changes by: deraadt@cvs.openbsd.org 2026/03/31 10:46:22 Modified files: sys/sys : sched.h sysctl.h sys/kern : kern_sched.c kern_sysctl.c sys/arch/amd64/amd64: identcpu.c machdep.c sys/arch/amd64/include: cpu.h lib/libc/sys : sysctl.2 Log message: Some new intel machines have a new 3rd tier of cpus called LP-E which are E-core (Atom) without L3 cache. These v are Lethargic, and it sucks when processes migrate to them.

