command to compare cpu speed

Post Reply
Posts: 133
Joined: Sat Jun 20, 2009 5:42 pm

command to compare cpu speed

Post by mister_v »


Is there a way I can compare the cpu speed of my different PC's?
Site Admin
Posts: 122
Joined: Mon Jul 21, 2008 9:45 am
Location: Leuven, Belgium

Re: command to compare cpu speed

Post by Chris »

There are some tools you can use to check your CPU

The /proc/cpuinfo file contains details about individual cpu cores:

Code: Select all

less /proc/cpuinfo
lscpu is a small and quick command that does not need any options. It would simply print the cpu hardware details in a user-friendly format.

The dmidecode command displays some information about the cpu, which includes the socket type, vendor name and various flags.

Code: Select all

sudo dmidecode -t 4
If you want to compare the calculation power :

Code: Select all

cat /proc/cpuinfo | grep -ie mips -ie flops
It is not a real benchmark test
From wikipedia:
BogoMips (from "bogus" and MIPS) is an unscientific measurement of CPU speed made by the Linux kernel when it boots to calibrate an internal busy-loop.
Post Reply