Question about muticores

Jesusfrk611

Fully Optimized
Messages
2,193
Location
US
I started a class this semester in computer hardware. So far it's been good, but there's one thing my teacher keeps saying that is going against what I already know. That is that you add the speeds up on multicore processors to get the "actual speed". I believe if it's a dual core 2.4GHz processor, it runs at 2.4GHz, not 4.8GHz (As I have read on this forum many times, as well as researched). It sure doesn't make any sense how the speeds can actually be added when you really think about it as the cores work indepenantly. I really want to argue against his point, but he's a type of person that needs a good reason behind a belief, and I really don't know enough about it to say anything.

Help me prove him wrong... ;)
 
I started a class this semester in computer hardware. So far it's been good, but there's one thing my teacher keeps saying that is going against what I already know. That is that you add the speeds up on multicore processors to get the "actual speed". I believe if it's a dual core 2.4GHz processor, it runs at 2.4GHz, not 4.8GHz (As I have read on this forum many times, as well as researched). It sure doesn't make any sense how the speeds can actually be added when you really think about it as the cores work indepenantly. I really want to argue against his point, but he's a type of person that needs a good reason behind a belief, and I really don't know enough about it to say anything.

Help me prove him wrong... ;)

Well it doesn't run at 4.8 GHz, but I guess he is just saying as a means of comparison your could say that in theory a 2.4GHz core 2 quad is 'equivalent' to a 4.8 GHz core 2 duo
 
Cores work "independently" of each other. However, that is a gray area. The task is just divided over the cores if you want to be simple about it. Tell him to download CPU-z on a quad-core or a dual-core and tell him to read what it says. CPU-z doesn't lie.
 
Cores work "independently" of each other. However, that is a gray area. The task is just divided over the cores if you want to be simple about it. Tell him to download CPU-z on a quad-core or a dual-core and tell him to read what it says. CPU-z doesn't lie.

lol


my prof in my class did the same thing to me.
told him if i brougt in my PC and showed him hes wrong if i could get bonus points. he said yes, so i brought in my 60lb brute PC and owned him haha..
 
Alright, thanks. I'll see if he understands. I just hate when people say that. Generally it's computer noobs, but I was surprised when I heard it from my computer professor...
 
Ahh. This old one. Let's try and straighten it out once and for all (this is something I'd whack in the wiki if it existed ;) )

First off, note that in the following example I'm assuming that the two processors I'm talking about are of the same type - i.e. assuming that we can take frequency as a comparative measure of speed across the two. For obvious reasons this isn't always the case!

Let's just get one thing out the way to start with. It is completely and utterly incorrect to say that (for example) a 1Ghz processor with 4 cores is the same as a 4Ghz single core processor. The two processors above would behave very differently; unfortunately a single threaded task can't just be automatically multi-threaded across a few cores. Anyone who tells you it can has been misinformed - there's been a lot of research into this area and no-one's turned up with any acceptable results. If you take a single threaded application and run it on a 1Ghz 4 core processor, it'll be pretty much the same as running the thing on a 1Ghz single core processor - it's not going to split itself up and run at anywhere near the same speed as it would on the 4Ghz machine.

However, a 4 core 1 Ghz processor does potentially have the same amount of processing power as a single core 4Ghz processor. Note the very careful wording of the above sentence. If you've got 4 applications and run them all on the 4 core, then they would run at roughly the same speed as the faster single core. By that same reasoning, if you've got 1 application that splits its load near equally across 4 or more threads, then it'll run at about the same speed on both processors.

The problem is very few applications at the moment are properly multithreaded. Most are still written in a single thread and even those that claim to be multithreaded generally don't split the load anywhere near evenly. Often it'll just be a task that's sitting idle on a core 90% of the time until something on another core kicks in and asks it to process something - not particularly ideal.

One answer to this issue is proper concurrent programming, where all (or at least most) of your code is written in a way that inherently uses multipule threads to do its job, even at the smallest levels. Take a look at occam pi - it's a completely different way of coding but one that adheres to this philosophy and is therefore scalable to many, many cores (reaching into the thousands sometimes.) These individual processes can be executed just as easily one after the other on a single core system, or concurrently on a multi core system.

To sum up, single core and multi core processors are not equivalent at all and never will be. Anyone trying to say they're the same is quite frankly wrong. It is however correct to say that the potential processing power of a 1Ghz quad and a 4Ghz single core are similar - but in real world use, this potential isn't yet being fully utilised.

We'll get there eventually, but it'll probably require a whole new generation of programming languages and a whole new shift in thinking. Unfortunately it's not an overnight thing - and we're not there yet.
 
CPU speed isn't CPU speed X Number of Cores. Hell if that 'were' the case my OC'd rig would be running @ 16.8Ghz! It doesn't though. A BaseCLocK of 210Mhz multiplied by 20(CPU multiplier) = 4200Mhz not 16800Mhz! It's simple maths and something that your Professor should understand quite easily.

The running speed of the cores is just the rate of the rise-and-fall, high/low, on/off, switching of the pulse that allows the CPU to process the stream of 0's & 1's.

I think your Professor needs to research this further.
 
Back
Top Bottom