PDA

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


desertking
15 Jul 2006, 02:00
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
15 Jul 2006, 02:01
bogomips is a false indicator to preformance.

desertking
15 Jul 2006, 02:02
But why does the P4 single core show two processsors in cpuinfo?

Zachery
15 Jul 2006, 02:03
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
15 Jul 2006, 02:07
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
15 Jul 2006, 02:08
Two real cores will almost always be better than a single core.

desertking
15 Jul 2006, 02:17
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.