10

My Macbook has a 2.4 GHz dual core processor. Because it has two separate cores, that means it can execute two functions at once, right?

So does that mean each core is approx. 1.2GHz each (for a combined 2.4 GHz) or are they actually 2.4 GHz each, and therefore is effectively running at 4.8 GHz?

Dual (and quad) core processors confuse me.

2
  • 1
    It's worth pointing out as well that core frequency is not really an important factor in determining the number of operations/instructions a second a processor can make (these days). Jun 1, 2012 at 21:04
  • Do two cars going down the highway at 50 miles per hour "effectively run at 100 miles per hour"? You can't add speeds that way, it makes no sense. Jul 26, 2012 at 10:46

4 Answers 4

17

Each core runs at 2.4 GHz.

Though that doesn't mean that your system is twice as fast as a 2.4 GHz single-core system. Parallelism has (in principle) at most a linear speedup but in reality it's often much slower (though still faster than a single core).

4
  • 3
    faster than single core except in the bizarre case of python threading.
    – cobbal
    Jul 18, 2009 at 15:03
  • Really? Python threading actually slows the program down? Or is that just an exageration? Jul 18, 2009 at 15:28
  • +1 - You might want a short blurb on parallelism, but it's not essential. Maybe with a pretty graph? :)
    – romandas
    Jul 18, 2009 at 16:53
  • 1
    @stalepretzel: Many notable python implementations have something called a Global Interlock Cache which means only one thread can modify global (ie shared state at a time). This really slows things down when trying to multithread, in many cases actually making the program slower than the single-threaded variety. Jun 1, 2012 at 21:07
1

To be perfectly clear, having multiple cores does NOT speed up any one program unless it was specifically designed for multi-threading.

The effect of having multiple cores is:

Each thread runs at most as fast as your core clock speed. And, parallel processing allows an application to run more than one thread at once.

This means that at most, your processing power will be double, but not on any one thread.

1
  • 8
    This is mostly, but not completely, true. Modern OSes are multithreaded, so even single threaded apps can see performance gains on multi-core hardware, due to OS calls and miscelaneous overhead being capable of being parallelized.
    – Wedge
    Sep 18, 2009 at 1:49
1

Johannes above is correct when talking about the max frequency for each core in a multi-core procesor. The frequency rating relates to each core. So, a 2.4GHz multi-core processor typically runs each processor at the 2.4 GHz max frequency. There are two exceptions (one very common and one new):

  • A processor's frequency can be dynamically scaled based upon the required performance and power draw to save power when power is not needed or to lower temperature (P-State).
  • Also, recent processors have a "Turbo" feature where one core runs faster than rated when other cores are not being used (Turbo Boost).
0

Your question is about Core 2 CPUs, not Core i7. Note, though, that if you buy a Core i7 920, you will see that the CPU is a quad core processor running at 2.66 GHz. That means that each core runs at 2.66 GHz. However, due to the Core i7's Turbo Boost, the CPU may actually run at 2.8 GHz, particularly if you are running single-threaded applications.

As others have pointed out, you can't multiply the CPU's speed with the number of cores to determine how 'fast' it is, I'm just pointing out that things are actually even more confusing than that with the current generation of Intel CPUs.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .