3 ms·
Has anyone noticed numpy running slower on Windows vs. Linux given the same hardware? I would have expected similar performance, but it seems like on my setup t
by umvi 4y ago
Has anyone noticed numpy running slower on Windows vs. Linux given the same hardware? I would have expected similar performance, but it seems like on my setup the same python runs about 20-30% faster on linux, all other things being equal.
- tkuraku 4y agoThat seems about on par with my experience. Even my own numeric code in C++ frequently runs significantly faster on Linux on the same hardware.
- bee_rider 4y agoIt could be something clever like maybe gcc uses a better allocator or maybe you have better, I dunno, OpenMP libraries on Linux (or whatever the C++ equivalent is) On the other hand, when I boot into Windows for games, it always surprises me how much CPU Windows uses just… sitting there, doing nothing.
- uoaei 4y agoWindows has a hard time "getting out of the way" and this extends all the way down to core numerical routines. Have you ever tried installing CUDA drivers on Windows without WSL?
- bee_rider 4y agoWhat blas implementation does numpy use on Windows?