Hacker News

Favorites Setup
Comment by jongjong | original | Unikernels were hard. key word: were
[−]jongjong · 2026-10-10 Sat 21:32 UTC · link
I was thinking that we don't need programs to share CPUs anymore now that each machine has so many of them. We could have an OS which binds each program to one CPU. When it runs out of CPUs, it suggests to close an existing program. Then programs don't need to pay context-switching cost.
[−]giuscri · 2026-10-11 Sun 02:04 UTC · link
it would be per process. We don’t have that many cores on our machines, check “ps”.
[−]Kwpolska · 2026-10-11 Sun 08:26 UTC · link
A typical desktop OS runs ~100 processes before you get to run anything. Even if you would delegate one core to system stuff, most programs are multi-threaded, so you are going to run out of cores quickly.
[−]rfgplk · 2026-10-11 Sun 09:44 UTC · link
It's a shame a multiple physical CPU machine never took off for workstations. It would have been awesome if you could delegate a real weaker CPU (physical die) for OS background tasks and then had a stronger CPU for userspace workloads.