Does Optimization Effect BogoMips Value?

From: Justin Piszcz
Date: Wed Jul 07 2004 - 10:17:12 EST


Three identical Virtual Machines with three different compiler flags to
compile the entire distribution, in this case, Gentoo 2004.1.

However, why are the Bogomips values different (up to +82 points
different)?

Linux tux 2.6.7-gentoo-r6 #1 Wed Jun 30 05:56:57 EDT 2004 i686 Intel(R)
Pentium(R) 4 CPU 2.60GHz GenuineIntel GNU/Linux
Gentoo 2004.1 Compiled With: "-pipe -mcpu=i386": 1515MB FREE
Calibrating delay loop... 4866.04 BogoMIPS

Linux tux 2.6.7-gentoo-r6 #1 Wed Jun 30 14:01:09 Local time zone must be
set--see zic manu i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GenuineIntel
GNU/Linux
Gentoo 2004.1 Compiled With: "-Os -pipe -mcpu=i686": 1673MB FREE
Calibrating delay loop... 4882.43 BogoMIPS


Linux tux 2.6.7-gentoo-r6 #1 Wed Jun 30 13:58:50 Local time zone must be
set--see zic manu i686 Intel(R) Pentium(R) 4 CPU 2.60GHz GenuineIntel
GNU/Linux
Gentoo 2004.1 Compiled With: "-O3 -pipe -mcpu=pentium4 -march=i686 -msse
-msse2 -fomit-frame-pointer -funroll-loops -ffast-math": 1635MB FREE
Calibrating delay loop... 4800.51 BogoMIPS

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/