Dual Core vs. Dual CPU
I'd like to know what is the difference between a system with a dual core CPU compared to two (single core) CPUs. I know dual core means two CPUs on one chip, but is it really two complete CPUs or do they share some component which is used by both CPU cores?
For example HT duplicates only those parts of CPU which hold the state of the program in execution (i.e. program counter, registers, etc.) but they share the execution logic which often leads to performance loss.
Is there some performance difference between dual core and two real CPUs, too? I assume the dual cores on one chip must share the bus interface, but since in a multi CPU system only one CPU can access the bus at a time, I think this doesn't make a performance difference, right?
Can anybody give some clarifiactions on these issue?
urs
Quoted 4 lines · Urs Thuermann
I'd like to know what is the difference between a system with a dual core CPU compared to two (single core) CPUs. I know dual core means two CPUs on one chip, but is it really two complete CPUs or do they share some component which is used by both CPU cores?
In the case of AMD, the processors, L1 and L2 cache are replicated for a dual-core chip. But the hypertransport to get off-chip is not replicated, nor is the memory controller. So there could be a bottleneck on the dual-core that two single-cores don't have.
But then there is price. The dual-core system will be cheaper than the dual cpu system...
Quoted 20 lines
For example HT duplicates only those parts of CPU which hold the state of the program in execution (i.e. program counter, registers, etc.) but they share the execution logic which often leads to performance loss.
Is there some performance difference between dual core and two real CPUs, too? I assume the dual cores on one chip must share the bus interface, but since in a multi CPU system only one CPU can access the bus at a time, I think this doesn't make a performance difference, right?
Can anybody give some clarifiactions on these issue?
urs
-
To unsubscribe from this list: send the line "unsubscribe linux-smp" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 10 lines · Urs Thuermann
I'd like to know what is the difference between a system with a dual core CPU compared to two (single core) CPUs. I know dual core means two CPUs on one chip, but is it really two complete CPUs or do they share some component which is used by both CPU cores?
For example HT duplicates only those parts of CPU which hold the state of the program in execution (i.e. program counter, registers, etc.) but they share the execution logic which often leads to performance loss.
Quoted 8 lines
Is there some performance difference between dual core and two real CPUs, too? I assume the dual cores on one chip must share the bus interface, but since in a multi CPU system only one CPU can access the bus at a time, I think this doesn't make a performance difference, right?
Can anybody give some clarifiactions on these issue?
The bad part is that the cores share a bus connection, the good part is that it appears that some IPC can be done on chip.
RELATED: has anyone done a measurements on the 955 chip, which is dual core and HT? On heavily threaded or parallel tasks I find 20-30% drop in clock time for HT processors, but I wonder if the CPU runs out of memory bandwidth. My standard test is a kernel compile.
Signature · 3 lines
bill davidsen <[email protected]> CTO TMR Associates, Inc Doing interesting things with small computers since 1979
Quoted 2 lines · Bill Davidsen
The bad part is that the cores share a bus connection, the good part is that it appears that some IPC can be done on chip.
Why is that bad? Is that different from a dual CPU system? I thought in a dual CPU system, too, both CPUs share the bus and only one CPU can use the bus at a time (as long we're not talking about NUMA, of course).
urs
Depends on the architecture. In an AMD opteron-based dual, each cpu has a local memory controller and local memory, connected through the hypertransport to the other processor through its hypertransport interface. Both processors can access their own local memory with no interference whatsoever. On a dual core, there is a single memory controller, shared by two processors, leading to a potential bottleneck. There is also a single hypertransport to get to other processors on other chips, and that can also be a bottleneck.
But all in all, dual-cores are dynomite for performance, but one needs to be careful to avoid the memory bottleneck...
Robert M. Hyatt, Ph.D. Computer and Information Sciences [email protected] University of Alabama at Birmingham (205) 934-2213 136A Campbell Hall (205) 934-5473 FAX Birmingham, AL 35294-1170
Quoted 16 lines · Urs Thuermann
Quoted 2 lines · Bill Davidsen
The bad part is that the cores share a bus connection, the good part is that it appears that some IPC can be done on chip.
Why is that bad? Is that different from a dual CPU system? I thought in a dual CPU system, too, both CPUs share the bus and only one CPU can use the bus at a time (as long we're not talking about NUMA, of course).
urs
-
To unsubscribe from this list: send the line "unsubscribe linux-smp" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html