Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 May 2020 23:39:12 +0200
From:      Arne Steinkamm <freebsd-questions@Steinkamm.COM>
To:        Christoph Kukulies <>
Subject:   Re: FreeBSD-speedometer?
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, May 01, 2020 at 10:28:54AM +0200, Christoph Kukulies wrote:
> I???m wondering whether there is some kind of performance meter for FreeBSD to give the hardware some kind of rating.
> I???m compiling virtualbox-ose now from sources and it lasts already half a day.
> I???m running on an SSD with a 2 core AMD64 2GHz Athlon on an ASRock board. Has come into age of course but 
> would be nice if one could compare and get an idea what is possible today (e.g. make buildworld times, but better to figure out before having to run make buildworld :)

In early days we had this:

Jun  8 00:36:02 oldman kernel: BSDI BSD/386 1.1 Kernel #16: Wed Jun  8 00:18:30
MET DST 1994
Jun  8 00:36:02 oldman kernel:     arne@oldman:/usr/src/sys/compile/OLDMAN
Jun  8 00:36:02 oldman kernel: cpu = 80486 (about 50 MHz)
Jun  8 00:36:03 oldman kernel: delay multiplier 1023
Jun  8 00:36:03 oldman kernel: real mem = 16777216
Jun  8 00:36:03 oldman kernel: avail mem = 15187968
Jun  8 00:36:03 oldman kernel: buffer cache = 1638400
Jun  8 00:36:03 oldman kernel: isa0 (root): eisa

This delay multiplier was a fast and convenient tool to get an idea how
fast the system is.

With SMP and technologies like hyperthreading and friends this indicator
became more and more unreliable and was removed.

My command line tool to get a first idea of the integer(!) single-core(!)
performance is this (attention: "time" is also in most shells a builtin)

% echo '99999^99999' | time bc > /dev/null

A few examples:

CPU: Intel(R) Xeon(R) CPU E3-1225 v5 @ 3.30GHz (3312.16-MHz K8-class CPU)

        1.83 real         1.83 user         0.00 sys

Raspberry Pi 3 running FreeBSD

       17.05 real        17.01 user         0.03 sys
This is fast and fancy but be warned: GNU bc is much different in it's use
of floating arithmetics:

Raspberry Pi 3 running raspian:

real    0m1,064s
user    0m1,038s
sys     0m0,010s

.//. Arne

Arne Steinkamm         | Home:     Mail: arne<at>steinkamm<dot>com

Want to link to this message? Use this URL: <>