Have you ever wondered what are BogoMips? Especially when booting Linux kernel you see message as follows:
Calibrating delay using timer specific routine.. 3437.74 BogoMIPS (lpj=6875498)
The “Bogo” in BogoMIPs stands for bogus. According to BogoMips mini-Howto:
- MIPS is short for Millions of Instructions Per Second.
- It is a measure for the computation speed of a program.
- Like most such measures, it is more often abused than used properly (it is very difficult to justly compare MIPS for different kinds of computers).
- BogoMips are Linus’s invention. The kernel (or was it a device driver?) needs a timing loop (the time is too short and/or needs to be too exact for a non-busy-loop method of waiting), which must be calibrated to the processor speed of the machine. Hence, the kernel measures at boot time how fast a certain kind of busy loop runs on a computer. “Bogo” comes from “bogus”, i.e, something which is a fake. Hence, the BogoMips value gives some indication of the processor speed, but it is way too unscientific to be called anything but BogoMips.
Ok so all I understood from above definition is that it is a tiny C loop which is use to calculate timing for a loop (such as for loop).
I have also noticed command bogomips which prints BogoMIPS:
Calibrating delay loop... 2228.22 BogoMIPS
Anyone any more ideas or suggestion…?
🐧 Get the latest tutorials on Linux, Open Source & DevOps via:
|Category||List of Unix and Linux commands|
|Firewall||Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04|
|Network Utilities||dig • host • ip • nmap|
|OpenVPN||CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04|
|Package Manager||apk • apt|
|Processes Management||bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time|
|Searching||grep • whereis • which|
|User Information||groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w|
|WireGuard VPN||Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04|