1

Possible Duplicate:
Multi-core CPU: can I say I have a 3x2.1GHz=6.3GHz CPU?

I plan to buy latop with with i5-2410M processor that have 2 cores (according to spec it can also have 4 threads). I have had use Linode server that have 4 CPUs and one process (mysqld) on Debian (in top command) have 200% of CPU usage, will 2 cores have the same thing.

jcubic
  • 3,123
  • 4
  • 25
  • 23

3 Answers3

1

Linux supports multicore processors. If your processor can run 4 threads it means that it will have a speed of four processors in some cases. However if you plan to run single application (that don't support multicore) quickly than your processor needs to have big cache and great clock speed.

blogger
  • 590
0

Your question asks us to compare an actual CPU to a hypothetical multi-CPU system. That's not really possible to do. Sure, it's possible in theory to imagine a system with two CPUs that will provide the same performance as your dual-core CPU. It's also possible to imagine two CPU systems that are faster or slower than an i5-2410M.

0

As David Schwartz already pointed out, such a comparison is daunting, if possible at all.

Assuming that one talks of processors of the same generation and price class and operating at the same or a very similar clock frequency, a single dual-core processor (or 2*N core processor) is usually superior to two single-core processors (or two N core processors).
Obviously, you cannot compare a 2-core Conroe to two single-core Sandy Bridges (does that even exist? -- but you get the point) in a very meaninful way. Likewise, you obviously can't compare processors when one has three times the cache size or twice the frequency.

Making the assumption that the CPUs are sufficiently similar, several things are necessarily not as optimal between two CPUs as within a single multi-core one:

  • longer lanes both between the cores and to the RAM (millimeters/centimeters instead of micrometers)
  • more "extra logic" needed for memory access
  • more synchronization overhead for atomic operations
  • Level-2 cache not shared
  • chances are that there's NUMA

Thus, all in all, electric current, which moves at more or less fixed speed, has to go through a longer piece of wire, which takes time. Also, moving a thread to another idle core is not as trivial (it may be prohibitively expensive!) as it is on single a multi-core CPU. This limits the operating system's ability to utilize all available resources.

Therefore the answer to your question is: "No, not the same".

Damon
  • 4,622