Laptop is much faster than my Desktop PC?

-2

I have a macbook that's running windows 7, it's a 2015 macbook pro, it has an i5 4278U cpu, integrated graphics and 8gb of ddr3 RAM.

My desktop which is also running windows 7 has an i5 3570k, a GTX 980, 16GB of ddr3 ram and an SSD.

On all accounts my desktop can and should always be running way faster based on the CPU. https://versus.com/en/intel-core-i5-3570k-vs-intel-core-i5-4278u. The cache is superior.

I wrote a program recently for part of my course, it compares the time complexity of Radix and Quicksort algorithms, and performing timings tests on my laptop actually was around x2 faster than on my PC! that is so strange right?

enter image description here

I'm not asking for help with my homework or anything, I'm just asking why this would even be happening in the first place?

Bastilius

Posted 2017-12-01T13:03:54.463

Reputation: 1

1You failed to specify the specification of your MacBook. The i5 3570k was released back in 2012, 3 years before your MacBook was released, it makes sense that your MacBook is significantly faster. – Ramhound – 2017-12-01T13:07:28.347

the i5 3570k is actually still a decent CPU by 2017 standards. The processor in the macbook is an i5 4278U @ 2.60ghz whereas the i5 is at around 3.4ghz. https://versus.com/en/intel-core-i5-3570k-vs-intel-core-i5-4278u almost totally eclipsing the macbook's i5

– Bastilius – 2017-12-01T13:11:02.173

SSDs had a lot of time to improve, and depending on the task two 4GB sticks could be a lot faster than one single 16GB stick. You've not given precise enough details for anyone to tell you exactly why one is faster than the other. – Mokubai – 2017-12-01T13:20:55.230

2yet another example that that clock speed is not everything... – Attie – 2017-12-01T13:21:31.677

Not sure how reliable these benchmarks and this site is however CPUBoss has these two different benchmarks. Core i5 3570K and the Core i5 4278U and the 4278U has better benchmarks for single core performance.

– Richard Chambers – 2017-12-01T13:24:29.160

@Bastilius - While the frequency of the i5 4278U is slower than the i5 i5 3570k the i5 4278U performs instructions significantly faster. You make no mention of how much memory the MacBook has, Excel being a 32-bit process more then likely, means your desktop having 16 GB does provide any significant part in the benchmark. i5 4278U has a boost frequency of 3.1 GHz which means, unless it has thermal problems, it will run at or around 3.1 GHz. – Ramhound – 2017-12-01T14:26:19.837

@Bastilius The i5 3570k has a boost frequency of 3.8 GHz, so you are looking at around 0.7 GHz speed difference,which won't make a huge impact on a single thread computation. Which goes back to my original point, the i5 4278U, is a significantly better processor due to its ability to perform a single instruction faster. The clock frequency of a CPU, simply indicates how often an instruction will be executed, not how long the instruction takes. – Ramhound – 2017-12-01T14:26:24.363

Answers

3

Your single-threaded program can't take advantage of the fact that the i5-3570K has twice as many cores as the i5-4278U. So the laptop is working with only one core tied behind its back while the desktop is working with three cores tied behind its back. Newer CPUs tend to have faster single-threaded performance than older ones.

David Schwartz

Posted 2017-12-01T13:03:54.463

Reputation: 58 310