plbrault / youre-the-os

A game where you are a computer's OS and you have to manage processes, memory and I/O events.
https://plbrault.github.io/youre-the-os/
GNU General Public License v3.0
1.81k stars 69 forks source link

Hyperthreading #62

Open Worldwidebrine opened 1 year ago

Worldwidebrine commented 1 year ago

Each CPU can handle 2 processes but performance does not become 200% because of the random competition of cache. And processes are not assigned to CPU that already has a process, unless no CPU is empty.

plbrault commented 6 months ago

Hello,

I am now considering adding this to a new game mode that I described here: https://github.com/plbrault/youre-the-os/issues/112#issuecomment-2094916586