News for hackers. Stuff that matters.
Re:Python’s Multiprocessing Performance Problem by anonkogudhyfhhf on Wednesday March 01, 2023 @05:33PM (#34989275)
Parallelism using CPU instructions and vectorization most likely. Threading would still improve performance
Re:Python’s Multiprocessing Performance Problem by bee_rider on Wednesday March 01, 2023 @10:21PM (#34991529)
Multiplying a large enough matrix in Python using MKL for Numpy, I can watch the cpu usage go to 400% in top. You may need to run it in a loop or make the matrices quite large, a surprisingly large amount of computation has to happen before it’ll show up in top.