I have strange situation. Long story short, laptop with Intel i5-8350u runs Python script twice faster in single core than AMD Ryzen 2700x.
Now a bit more details.
Firstly, specs of the machines.
AMD
Ryzen 2700x(stock)
16 GB of DDR4@2133(Dual channel)
Data on SATA HDD
INTEL
i5-8350u
16 GB of DDR4@2400(Dual channel)
Data on UBS3 HDD
Laptop runs Mac OS X Catalina 10.15.2 with latest Anaconda and Python 3.8.1. Desktop runs Ubuntu 18.04.3 with latest Anaconda and Python 3.8.1 as well. The sole detail that I have built numpy with openblas.
The script is generation of CornerPlot from a posterior files. There are 300 objects in total. I have serial and parallel versions of this code and the result are following :
Results
i5 - 21m22s in single and 6m25s in parallel
ryzen - 40m44s in single and 3m34s in parallel
Is that normal? Anything I can do to improve Ryzen performance?
OBS: I'm aware of dependency of Ryzen on memory, probably I will try to overclock and retest.
OBS2: I'm implying something similar. So there is maybe some software fix. - > AMD-Ryzen-3900X-vs-Intel-Xeon-2175W