PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 26, 2012, 01:23:58 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: More cores or faster CPU?  (Read 3300 times)
davey
Hero Member
*****
Offline Offline

Posts: 889


« on: January 17, 2010, 05:04:25 PM »

My current ol' workhorse is about to bite the dust so I've been scouting for replacements. In a given price range the tradeoff on CPUs seems to be either more cores -- 1,2,3,4 -- or a higher clock rate. For Linux use, which is the better choice -- dual core running at 3.1GHz or quad core running at 2.5 for example? Does Linux make good use of multiple cores and will one or the other do better when our OS transitions to 64 bit? Will lack of multiple cores make the system obsolete sooner? I'm looking mainly at AMD CPUs like the Phenom II or Athlon II.
Logged
Old-Polack
Administrator
Hero Member
*****
Online Online

Posts: 9694


----IOFLU----


« Reply #1 on: January 17, 2010, 05:28:10 PM »

davey:

I'd go for the most cores first, then the highest clock speed I could afford.
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...
Rudge
Hero Member
*****
Offline Offline

Posts: 7771


I'm just a dog.


« Reply #2 on: January 17, 2010, 05:28:51 PM »

I have a feeling that the answer may not be a simple one. I think performance will actually suffer for most general purpose software, if you choose a slower quad-core over a faster dual-core.

.02

Ref 1: http://www.codinghorror.com/blog/archives/000942.html
Ref 2: http://www.tomshardware.com/reviews/e8500-phenom-9350e,2010.html
Logged

Rudge
Hero Member
*****
Offline Offline

Posts: 7771


I'm just a dog.


« Reply #3 on: January 17, 2010, 05:38:09 PM »

davey:

I'd go for the most cores first, then the highest clock speed I could afford.

If longevity is your goal, this is advice I would take.
Logged

T6
Super Villain
******
Offline Offline

Posts: 16990


i can rest now :D


« Reply #4 on: January 17, 2010, 06:56:34 PM »

if you are in a budget, 3 cores at 2.8 sounds fantastic, i don't know if linux/kde uses more than one core in basic tasks

some apps can use more than one core but i never found this parameter in kde config

anyway, the idea of more cores and then more speed sounds very reasonable

the current trimester should bring the new amd and intel(possibly) 6 cores cpus so you should hold a little longer your decision

i heard something about 6 cores at 3.2ghz but still sounds very promising, this also will move the prices of 4 cores down drastically

i have read some comparisons of amd phenom II with very good results compared to the price it has

here are some comparisons(mostly win apps but can give you some idea of the performance)

http://www.tomshardware.com/charts/2009-desktop-cpu-charts/benchmarks,60.html

a reality in price/performance

http://www.tomshardware.com/charts/2009-desktop-cpu-charts/XviD-1.2.1,1383.html

and some prices in general

http://www.pricewatch.com/cpu/
Logged

"It pays to keep an open mind, but not so open your brains fall out."

Carl Sagan
gilado
Sr. Member
****
Online Online

Posts: 472


« Reply #5 on: January 17, 2010, 09:19:38 PM »

2 cores will definitely give your system more responsiveness than one core. If you run any servers on this box then more cores always is better.

Most modern applications uses more than one thread of execution. Linux kenrel is an SMP (symmetrical multi-processor) which means that given multiple cores multiple thread will be distributed across the various cores for equal load.

Has it ever happen to you that firefox (running an applet or flash) or other application went into a tail spin consuming all CPU resources, bogging the machine to the point where you could not use the GUI to kill the offending application? Almost always that would just one thread spinning. On a multi core machine only one core would spinning with little effect on the overall usability of the machine.

This post is ancient, still provide answer to the basic questions
http://www.phy.duke.edu/~rgb/Beowulf/smp-faq/prive/mentre/smp-faq/smp-faq-3.html

Here's a more detail article from IBM
http://www.ibm.com/developerworks/library/l-linux-smp/
 
Logged
YouCanToo
PCLinuxOS Tester
Hero Member
*******
Offline Offline

Posts: 4246


Location: Lebanon, OR., USA


WWW
« Reply #6 on: January 17, 2010, 11:15:43 PM »

FWIW, loudog bought a quad core to replace his dual core system and found out that his dual core actually out preformed his quad.  His dual core was faster in clock speed then his quad core was.  Perhaps you might drop him a PM and ask him for the nitty gritty details about his experiences. He also might see this post and respond.
Logged





Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!
T6
Super Villain
******
Offline Offline

Posts: 16990


i can rest now :D


« Reply #7 on: January 17, 2010, 11:24:41 PM »

there is some logic  on that, if you are not going to do lots of multicore tasks a dual core with lots of mhz should be better but dual core cpus are in the extinction path, not even laptops are preserving dual cores, next generation of laptops is going to use 4 cores
Logged

"It pays to keep an open mind, but not so open your brains fall out."

Carl Sagan
coonhunter
Full Member
***
Offline Offline

Posts: 200



« Reply #8 on: January 18, 2010, 07:12:40 PM »

My limited understanding is that the performance depends much more on whether the program code (that includes not only the application but also the OS with all its API libraries) has been optimised to run on a particular core architecture.If you're not planning to run mathematically intense applications(eg:video processing and such like) then go for a cheaper option.
Logged
T6
Super Villain
******
Offline Offline

Posts: 16990


i can rest now :D


« Reply #9 on: January 18, 2010, 07:15:25 PM »

that applies for now, in a near future(next two years) all apps will use all cores available they can use

system reserves one core usually and leave others for apps(or at least windows does this)
Logged

"It pays to keep an open mind, but not so open your brains fall out."

Carl Sagan
loudog
Sr. Member
****
Offline Offline

Posts: 370


« Reply #10 on: January 18, 2010, 08:04:45 PM »

 i do many many video and audio transcoding, extracting, pasting, mixing, video editing. i bought my first dual core platform to let me use virtualbox, web browse and transcoding etc. at the same time. it was an amd 3ghz with 1mb L2 per core, it was very fast compared to some of my other machines 1/3 faster doing side by side ripping transcoding tests. although i could run the vbox and transcode at the same time i could not say rip a dvd, transcode a full sized avi to psp (small screen mp4) and run the vbox at the same time. so i went for a quad. 2.3ghz 1mb L2, 2mb L3. disappointed much slower. could not run the vbox, transcode and rip at the same time. upon further investigation i discovered that some software, will use a seperate core for each instance running for example i could transcode 3 different files with one program opening a different instance for each file and it appeared the cpu's were being used seperately using gkrellem, but when i started say an instance of vbox it did not appear to get directed to its own core as the other running programs seemed to be but mixed into an already running one. another thing i noticed is that some software would use both cores but only a 50 50 type of split was happening for instance one extractor program would have core 0 at 78% and core 1 would be at 22% then quickly core 1 would be at say 43% and core 0 would drop respectivly to 57%. some software seemed to work much better with the multi core setup than others. so i would have to agree with coonhunter that it depends a lot on the software.
Logged

Friends don't let friends boot windows
davey
Hero Member
*****
Offline Offline

Posts: 889


« Reply #11 on: January 19, 2010, 12:08:08 PM »

Thanks for all the replies. A lot to think about. I don't foresee using Windows any time soon, so wonder if using Linux only changes the equation any. Do current OSes and apps support multiple cores significantly? Does that vary much between distros?
Logged
T6
Super Villain
******
Offline Offline

Posts: 16990


i can rest now :D


« Reply #12 on: January 19, 2010, 12:25:34 PM »

linux kernel support multiple cores but as others said, no idea how the load is handle

specific apps can ask you if you have 1-4 cores and if you want to allow the use of multiple cores and how many cores

"Does that vary much between distros?"

each distro has tweaks and differences but in general all are the same so it depends mostly on the app itself unless you do specific changes before compiling
Logged

"It pays to keep an open mind, but not so open your brains fall out."

Carl Sagan
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM