Best Processor for Single Thread Application

GaetanoL

Junior Member
Jun 9, 2010
2
0
0
I am working with an application written in MatLab programming language. The application is very math intensive, but it does not take advantage of multi-threading. What is the best cpu for executing a single thread? To be clear, multiple cores won't help me here except to split out minor OS processes.

What do you think is the fastest processor out there for single core execution?

Thanks in advance,
Guy
 

Markfw

Moderator Emeritus, Elite Member
May 16, 2002
27,114
16,027
136
If you overclock, and I7 socket 1366 would probably also equal that.
 

LoneNinja

Senior member
Jan 5, 2009
825
0
0
You'll want the fastest I5/I7 you can get. They currently offer the most performance per clock on a single thread.
 

alyarb

Platinum Member
Jan 25, 2009
2,425
0
76
I guess there's a chance your program can fit inside a 4MB L3 cache. If that's the case, an unlocked clarkdale should get you 5 GHz on air cooling.

If you need low memory latency you have to get an i5 750 or i7.
 

Cogman

Lifer
Sep 19, 2000
10,284
138
106
I guess there's a chance your program can fit inside a 4MB L3 cache. If that's the case, an unlocked clarkdale should get you 5 GHz on air cooling.

If you need low memory latency you have to get an i5 750 or i7.

The program will never be loaded into cache. Cache is for data, not instructions. (ok, there is an Icache, but it usually ranges around 128kb)

Data, however, can often be in the MB of size, so having a large cache does help.

IDC gave the best answer. Top of the line intel offering will give you the fastest single threaded execution.

You should consider breaking your app into multiple threads if possible. This can USUALLY be easily accomplished with most math problems (not all of course, however, most problems that you are crunching numbers on a computer are generally the "do this function on this set of data" Which is easily split up by saying "do this function on this half of the data and at the same time the other half of the data.)
 

GaetanoL

Junior Member
Jun 9, 2010
2
0
0
So, here's my situation. I have two systems: an Acer Aspire AS5740-5255 LX.PM902.131 Notebook PC with Intel Core i3-330M 2.13GHz, 4GB DDR3, 320GB HDD, Windows 7 Home Premium 64-bit and a Gateway DX4831-05 PT.GAJ02.013 Desktop PC with Intel Core i5-650 3.2GHz, 8GB DDR3, 1TB HDD, eSATA, FireWire, Windows 7 Home Premium 64-bit.

And, for some reason my files are getting run through the i3 more quickly than the i5! This is the complete opposite of what I expected when I purchased the i5, but I thought that maybe the i3 handles single thread better than the i5.

The files are large (~100MB) and the math is pretty complex, so it can take about 24 hours to run a file through the MatLab program. I'm not sure if there is some difference in the configuration between the 2 computers to explain what I'm seeing.

Anyway, any opinions from the experts are appreciated.


Thanks,
Guy
 

Cogman

Lifer
Sep 19, 2000
10,284
138
106
Hmm, that is interesting. The only thing you might look at is your memory bandwidth. Its possible your i3 has a faster memory bus speed then the i5. If the problem involves a lot of data movement, that may be the determining factor (though, in most applications, memory performance means nothing. This may be one of the rare cases where that isn't true)

How about virus scanning software? Are they the same?
 

Idontcare

Elite Member
Oct 10, 1999
21,110
59
91
A 2.13 GHz i3 should not process matlab executions faster than a 3.2GHz i5.

First suspect is that something is borked with the i5 setup. Ram bandwidth alone cannot account for X being faster than something which is 1.5X. Does not compute.

How do other canned benchmarks look on the two setups? Single-thread LinPack results for example?
 

Cogman

Lifer
Sep 19, 2000
10,284
138
106
A 2.13 GHz i3 should not process matlab executions faster than a 3.2GHz i5.

First suspect is that something is borked with the i5 setup. Ram bandwidth alone cannot account for X being faster than something which is 1.5X. Does not compute.

How do other canned benchmarks look on the two setups? Single-thread LinPack results for example?

The fastest processor in the world can't do squat without data to use. If the matlab program is doing only sequential data access and modification, it is possible that the ram bandwidth is bottlenecking the processor.
 

alyarb

Platinum Member
Jan 25, 2009
2,425
0
76
Two OEM clarkdale machines should have very similar memory performance regardless of the core frequency. It's still dual channel 1066 running through that crappy off-die MCH.
 

f4phantom2500

Platinum Member
Dec 3, 2006
2,284
1
0
So, here's my situation. I have two systems: an Acer Aspire AS5740-5255 LX.PM902.131 Notebook PC with Intel Core i3-330M 2.13GHz, 4GB DDR3, 320GB HDD, Windows 7 Home Premium 64-bit and a Gateway DX4831-05 PT.GAJ02.013 Desktop PC with Intel Core i5-650 3.2GHz, 8GB DDR3, 1TB HDD, eSATA, FireWire, Windows 7 Home Premium 64-bit.

And, for some reason my files are getting run through the i3 more quickly than the i5! This is the complete opposite of what I expected when I purchased the i5, but I thought that maybe the i3 handles single thread better than the i5.

The files are large (~100MB) and the math is pretty complex, so it can take about 24 hours to run a file through the MatLab program. I'm not sure if there is some difference in the configuration between the 2 computers to explain what I'm seeing.

Anyway, any opinions from the experts are appreciated.


Thanks,
Guy

well, it is a gateway...

shot in the dark here, but i guess it's possible that the program has issues when running on a system with more than 4GB of ram, even though it is on a 64 bit OS. it's also possible that, when gateway set up your desktop, they didn't configure the ram to run in dual channel mode. not sure how much of an impact that would have, but you should run cpu-z to check. might wanna try taking out 4GB of RAM from your desktop, and see if that changes the situation at all. you never know with computers.


also, try running superpi (or maybe hyperpi, i think is what the multi-threaded version is called) to see if this problem is consistent with other math programs or just the one you're using.
 

Lorne

Senior member
Feb 5, 2001
873
1
76
Does the I5 system have add on gfx card? , If it does there is kinda a test you could try,,,,, open task manager on the I5 and leave it docked/minimized and run it again and see if times change.

Just a hunch.
 

Voo

Golden Member
Feb 27, 2009
1,684
0
76
The program will never be loaded into cache. Cache is for data, not instructions. (ok, there is an Icache, but it usually ranges around 128kb)

Data, however, can often be in the MB of size, so having a large cache does help.
Yeah and we always load the next few instructions from RAM into the L1 cache.. ;) Just because you may not distinguish between data/instruction caches doesn't mean it's not there.
 

Wizlem

Member
Jun 2, 2010
94
0
66
If the program is using a lot of loops with very few calculations per loop, I'd imagine ram performance is the most important factor. It always seemed to me that at the end of a loop, matlab writes all the data back to ram.
 

extra

Golden Member
Dec 18, 1999
1,947
7
81
LOL, so you point him to a 12-thread CPU. You're right, but I still find it funny.

Yeah, it is funny, but he answered the question 100% factually.

However in this case, I'd grab a i5 750 and overclock it a lot.

Resist the urge to grab one of the really high clocking 32nm cpus that don't have the memory controller on the die...
 

taltamir

Lifer
Mar 21, 2004
13,576
6
76
LOL, so you point him to a 12-thread CPU. You're right, but I still find it funny.

Yes, he is indeed right... and it is indeed funny.

The nehalem architecture finally did away with the whole "lower core is better for less threaded app, higher core count is better for more threaded apps"... Largely thanks to turbo boost...

Also part of the benefit of the extreme CPUs is both binning and that they are unlocked (for max overclock)...

if willing to OC, then you should go with the above, or with the intel 875K.

If not willing to OC you can still get some solid performance from a nehalem with fewer cores

OP, please provide a budget and a bit more info on what you are doing, why, what for, etc.