Repository navigation
LexiKernel Many CPUs
Since image d484004 LexiKernel has boot switches that spread work over the processor's CPUs. Every switch is off
by default; with all of them off the kernel behaves as before. Set them on the Panel's LexiKernel page for the next
boot (LexiOS and Secure Boot), or on the kernel command line.
Status, 11/27/2026 (image
d484004): with every switch below on, LexiKernel booted in a virtual machine at 2, 4 and 8 CPUs and served the Panel to 8 clients for 40 seconds each, with no fault line, no panic and no failed request. The switches have not been run on a physical machine yet.
| Switch | Effect | Line in the boot log when it works |
|---|---|---|
lk.user_cpus=all |
User threads start on any online CPU instead of the one that admits them | LK:SMP:USER-CPUS:used=<n>:parallel=<n>:... |
lk.shootdown=nmi |
TLB shootdowns are answered from an NMI, so a CPU in a long system call with interrupts masked still answers. Needed with lk.user_cpus=all
|
LK:SMP:SHOOTDOWN:NMI |
lk.migrate=on |
A saved, idle user thread may resume on another CPU; kernel threads and running threads never move |
LK:SMP:MIGRATE:ON, then LK:SMP:MIGRATED:<count>
|
lk.kthreads=all |
Kernel work and timers run on every CPU (with lk.user_cpus=all) |
LK:SMP:KTHREADS:ALL once every CPU ran kernel work |
lk.hugepages=on |
2 MiB pages, plus 1 GiB pages when every CPU has them |
LK:MEM:HUGEPAGES:2M or 2M+1G
|
lk.frame_caches=on |
Per-CPU page caches in front of the page allocator | |
lk.process_lock=per-process |
Sleeps, private futexes, mprotect, munmap, madvise, clock reads and /sys lookups run without the machine-wide lock. Every other system call still takes it, so this switch reports refused
|
|
lk.isolcpus=<list> |
Keeps the listed CPUs free of ordinary work |
numa, drm, amdgpu, nouveau, xe, cpu_power and nvme_mq exist too, and report refused until their work
is joined to the running kernel; the reason is shown on the Panel's LexiKernel page. In the virtual machine numa
is refused because it has one memory node.
When the Panel starts, the kernel prints the state of every switch in one line:
LK:SWITCHES:user_cpus=active,process_lock=refused,shootdown=active,...
A switch is off (not asked for), active (its path runs), or refused with a reason. A switch that was asked for
but that nothing took up reads refused, never off. A refused switch never stops the boot.
- Most system calls still take one machine-wide lock, so two processes rarely run kernel code at the same time.
- The native GPU drivers are linked in but have not run on a card; GPU work still goes through a Linux guest.
- Placement by memory node has not been tested on a machine with more than one node.
- Of the 170 items of this work list, 29 are closed, 78 partly done, 47 open and 16 not yet examined.
LexiSuite · Local OS / Kernel / Engine / Panel · Development / testing; not production-qualified
Getting Started · Security · Troubleshooting · Release Notes · License
Verify release checksums, finish first-boot enrollment on a trusted network, and respect the current proprietary license.
- Home
- Getting Started
- Install from USB
- Write a stick
- Install to an internal disk
- Install on a computer you already use: Linux, macOS, Windows
- Updating
- Ternary models (experimental)
- First Boot
- Secure Boot
- Kernels
- LexiKernel on many CPUs
- Hardware
- Overview / Home
- Navigation and Help
- Models
- Instances
- LexiChat
- Builds and Engines
- Optimizer
- Fit Lab
- Benchmarks and Evals
- Training
- Decisions
- TokenGate
- Inference Fabric
- Media Generation
- Agents and MCP
- Power and Hardware
- Network and Access
- Storage, Backup and Updates
- Files, Terminal and Passwords
- Diagnostics
- Fleet
- Virtual Machines
- LexiOS and Secure Boot
- macOS