PDA

View Full Version : Single core vs. dual core BogoMIPS ?


desertking
07-15-2006, 12:00 AM
I have two servers. 1) 1 CPU Intel P4 2.8 Ghz 2) 1 CPU AMD Athlon 64 X2 Daul Core 3800+ 2.0 Ghz.

When I cat /proc/cpuinfo I get

AMD processor 0 3993 bogomips
processor 1 3993 bogomips

Intel processor 0 5594 bogomips
processor 1 5594 bogmips

I am assuming that the AMD dual core is 3993 x 2 for 7956 bogomips total.

But the P4 is a single core, why does it show processors 0 and 1. Should'nt it only show one processor. Is the power of this processor 5594 total or 5594 times 2 for 11188 bogomips?

Zachery
07-15-2006, 12:01 AM
bogomips is a false indicator to preformance.

desertking
07-15-2006, 12:02 AM
But why does the P4 single core show two processsors in cpuinfo?

Zachery
07-15-2006, 12:03 AM
It has hyperthreading.

AMD cpu's get more stuff done per cycle. Pentinum class processors deal with this by having more ghz but in general do less per cycle.

desertking
07-15-2006, 12:07 AM
So if all else is eqaul, and I know its not, which processor would be a better choice for Apache, PHP and MySQL. P4 2.8 or AMD 2.0 dual core?

Zachery
07-15-2006, 12:08 AM
Two real cores will almost always be better than a single core.

desertking
07-15-2006, 12:17 AM
Thanks Zachery for the info on the P4 being hyperthreaded and therefore showing two procs in cpuinfo. I see where it shoulds one core vs. the AMD shoulding 2.