1
I recently changed my Toshiba Satellite L70-B-12H with i7-4700 HQ processors, for an ASUS GL553VD with i7-7700 HQ processors. I perform some numerical analysis with a program written in C/C++ interfaced to GNU Octave with Mex; it uses parallel threads thanks to Open MP. I am disapointed to see that my new computer, with the better processors, is up to 2 times slower than the older, with the lesser processors, to perform the same task.
Monitoring on the newer computer (ASUS) indicates that all 8 processors are working at 3.40 GHz, no CPU throttling (on most trials).
What kind of factors could explain such a worse performance with supposedly better processors?
The only significant difference I can think of is that the older computer (Toshiba) had 16 GB of RAM, against only 8 GB for the newer (ASUS). Can this be enough to explain such a drastic difference in speed? The task at hand takes up to 2.4 GB in memory, so there's no way the 8 GB RAM gets saturated (and I confirm it's not, and no swap memory is used).
What about other applications? Do you see a slowdown there as well? Maybe it has something to do with your gpu. Are you using gpu acceleration? Take a look at this post
– SpiderPig – 2017-08-20T15:07:55.257I cannot say about other applications, and I can't run other comparisons since I do not have the Toshiba anymore. – Hugo Raguet – 2017-08-20T15:16:10.990
I'd be surprised that GPU are involved, since the demanding task here is a program written in C/C++, without fancy libraries. Same comment for the GPU acceleration of octave, since only my mex function is running (but thanks for the link, might be useful for other things) – Hugo Raguet – 2017-08-20T15:23:46.420
You could run some benchmark software and compare the results you get to what you should get with that CPU. – SpiderPig – 2017-08-20T15:30:40.827
good idea, do you know any standard benchmark to run under GNU Linux? – Hugo Raguet – 2017-08-20T15:37:40.590
I'm not sure. But http://linux-bench.com/ looks promising.
– SpiderPig – 2017-08-20T16:00:08.643For completeness, I add here that I ran some benchmark (UnixBench), but there is currently no standard way to compare my results to what I "should get with that CPU". linux-bench.com seems the most furnished database available, but I cannot find anything close to my hardware (and some results are clearly aberrant) – Hugo Raguet – 2017-08-21T15:38:29.480