Page 1 of 1

command to compare cpu speed

Posted: Thu Nov 30, 2017 9:08 pm
by mister_v
Hi,

Is there a way I can compare the cpu speed of my different PC's?

Re: command to compare cpu speed

Posted: Fri Dec 01, 2017 8:02 pm
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
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.

dmidecode
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.