xv6-riscv icon indicating copy to clipboard operation
xv6-riscv copied to clipboard

Fix high CPU usage

Open meighti opened this issue 3 years ago • 0 comments

Use 'wfi' instruction, if no runnable process is found. This should decrease CPU usage significantly when all processes are in idle state, specifically when more than one CPU use assigned to the virtual machine in QEMU.

Related to issue #15

meighti avatar Mar 27 '23 11:03 meighti