Weird bug. Happens both in live-boot and persistent modes.
I noticed my Whonix 15 Workstation was incredibly slow: slow boot, very slow reaction times, whatever I would do (simple terminal tasks, browsing, etc.), everything is slow and almost freezing, although I have allocated 4GB of RAM and up to 4 CPUs.
I tested the .qcow2 disk in other VM, and it worked just fine.
I tried reinstalling everything, worked very fast as expected with default settings.
Then I increased the CPU count to 4, and it was again very slow. Decreased to 1 (default), fast again…
What could be the cause of such behavior?
I should add just in case that I am using kernel 5.0.6, so I had to uncomment the parameter
<blkiotune>
<weight>250</weight>
</blkiotune>
I see that the default CPU setting is “host-passthrough”. Could it be related (didn’t test with other options)?
Here are some stats to compare:
“fast” boot with default CPU number (1):
user@host:~$ sudo systemd-analyze time
Startup finished in 1.318s (kernel) + 7.430s (userspace) = 8.749s
graphical.target reached after 3.097s in userspace
“slow” boot with 4 CPU:
user@host:~$ sudo systemd-analyze time
Startup finished in 8.774s (kernel) + 20.572s (userspace) = 29.346s
graphical.target reached after 20.551s in userspace