IP masquerade affecting bogomips

Brett Eldridge (beldridg@cup.hp.com)
Sat, 31 Jan 1998 12:04:28 -0800 (PST)


I noticed a change in my BogoMIPS today. It seems related to building a
kernel with IP masquerading. I have read the BogoMIPS mini-howto and the
IP Masquerade mini-howto and still can't figure out why it is happening.

System: HP OB800 Laptop
Processor: Intel Pentium 166Mhz/MMX
Kernel: 2.0.33

Here is how I figured it was due to IP Masquerading:

[root@f2426bre /root]# cat /var/log/messages |grep -i bogo

Jan 26 18:52:01 f2426bre kernel: Calibrating delay loop.. ok - 328.50 BogoMIPS
Jan 26 19:20:15 f2426bre kernel: Calibrating delay loop.. ok - 328.50 BogoMIPS
Jan 26 19:20:15 f2426bre kernel: Calibrating delay loop.. ok - 328.50 BogoMIPS
Jan 26 22:47:46 f2426bre kernel: Calibrating delay loop.. ok - 246.58 BogoMIPS
Jan 26 22:47:46 f2426bre kernel: Calibrating delay loop.. ok - 246.58 BogoMIPS
Jan 26 22:57:16 f2426bre kernel: Calibrating delay loop.. ok - 246.58 BogoMIPS

I had lost 82 BogoMIPS (25%) on Jan 26th.

Checking my last kernel config date, I noticed that it was also Jan 26th.
I rebooted with an old kernel, and sure enough back to full speed:

Jan 31 10:59:12 f2426bre kernel: Calibrating delay loop.. ok - 328.50 BogoMIPS

I also noticed that there were unresolved symbols with the module
dependencies when I booted this old kernel. They were all related to the
modules for the IP masquerading feature.

I recompiled my kernel without IP masquerading and the BogoMIPS went back
up to 328.50. The odd part was that the IP masquerading stuff was built as
modules and they weren't even loaded.

- brett