Closed biona001 closed 2 years ago
Actually, the current code is multithreaded. Sorry for the confusion.
I am unfortunately still having this problem with SnpArrays v0.3.14.
SnpLinAlg
sometimes does not run in parallel, but not sure why. Re-opening this issue.
resolved by #119.
Starting Julia with 8 threads, the following code never reaches over 100% CPU usage when monitoring with
htop
However, if I replace our custom-defined macros with
Threads.@spawn
and@sync
, I get 800% CPU usage. Is there a reason we don't use the standard macros?