El 1/1/23 a las 16:27, Bernhard Übelacker escribió:
If it might be of any help - my system is a "AMD Ryzen 7 1700",
the qemu VM runs with "-enable-kvm -cpu host -smp 16".
By locking the process to just a single cpu I do not get any failures:
taskset -c 0 bash -c "while true; do ./test_nufft ; done"
If I allow two cpus the failure rate is at 77%:
taskset -c 0,1 bash -c "while true; do ./test_nufft ; done"
Aha, this matches what I get using Hetzner VMs: Works ok
if the machine has a single CPU, and it fails a lot if
it has 2 CPUs (I only test with 1 and 2 CPUs).
So, maybe it has something to do with parallel processing.
Thanks.