-
Notifications
You must be signed in to change notification settings - Fork 25
Command b (CPU benchmark, speed index in (yes!) franzomips)
Franco Corbelli edited this page Sep 2, 2023
·
2 revisions
This is a quick-and-dirty CPU benchmark
There is no scientifically reliable result
It is used to estimate the number-crunching performance of a machine, for example a VPS or a remote server
And also a (very vague) estimate of multithreading capabilities (for VPS there may be an unknown number of virtual cores)
A synthetic singlethreaded index (franzomips) is shown, obviously completely useless in an absolute sense, but only relative
It can also be used to determine if hardware acceleration is enabled, i.e. if zpaqfranz - compiled with -DHWSHA2- thinks the CPU is capable of executing SHA1 and SHA256 accelerated code
Z:\>zpaqfranz b -debug
(...)
zpaqfranz v58.9d-JIT-GUI-L,HW SHA1/2,SFX64 v55.1,(2023-08-23)
FULL exename <<c:/zpaqfranz/zpaqfranz.exe>>
42993: The chosen algo 3 SHA-1
1838: new ecx 2130194955
1843: new ebx 563910569
SSSE3 :OK
SSE41 :OK
SHA :OK
franz:-debug -hw -verbose
uname WIN64
full exename seems <<c:/zpaqfranz/zpaqfranz.exe>>
Hello Windows
Free RAM seems 41.370.468.352
1838: new ecx 2130194955
1843: new ebx 563910569
SSSE3 :OK
SSE41 :OK
SHA :OK
SHA1/2 seems supported by CPU
This is an example Win64, with (about) 40GB of free RAM, with SHA acceleration
Some examples
Benchmark all: b
Multithread: b -all
Benchmark all on 1.86GB: b -minsize 2000000000
Benchmark all on 1MB: b -minsize 1048576
Benchmark SHA256 and BLAKE3: b -sha256 -blake 3 -minsize 1048576
Benchmark for 10 second each: b -n 10 -sha256 -blake3 -minsize 1048576
Cook the CPU (all cores): b -all -n 20 -blake3
Cook the CPU (8 cores): b -all -t8 -n 20 -blake3