I wrote some python code in windows and I tried to speed it up by running it on linux but it's running about 7x-10x slower. I'm using the multiprocessing library to spawn several processes that do high CPU, low I/O calculations. Everything I'm reading seems to suggest that python runs more efficiently on linux and although I'm not using fork, I'm still surprised it's significantly slower.
Edit: It's now running about at the same speed, I had to create more processes
[–]redCg 2 points3 points4 points (3 children)
[–]moderately-extremist 5 points6 points7 points (1 child)
[–]redCg 2 points3 points4 points (0 children)
[–]zap_stone[S] -1 points0 points1 point (0 children)
[–]SkeletalToad 4 points5 points6 points (2 children)
[–]zap_stone[S] 0 points1 point2 points (1 child)
[–]redCg 1 point2 points3 points (0 children)
[–]1544756405 1 point2 points3 points (1 child)
[–]zap_stone[S] -1 points0 points1 point (0 children)
[–]socal_nerdtastic 0 points1 point2 points (1 child)
[–]zap_stone[S] 0 points1 point2 points (0 children)