What's new

benchmark collection...

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

sfx2000

Part of the Furniture
Some benchmarks - these can all be pulled down via 'git clone <repo>'

Some might be in entware/optware - or for distro's that wear the big boy pants, they're likely in the repo's directly...

Anyways - some items that have been shared back and forth - @kvic @RMerlin @Voxel and others...

Most of these - execute from the directory directly... might have to pull down dependencies here...

e.g. if /home/usr/sfx/builds/byte-unixbench - then that one - ~/builds/byte-unixbench/UnixBench/.Run

UnixBench

https://github.com/kdlucas/byte-unixbench

Hint - run this in the UnixBench sub-directory

TinyMemBench

https://github.com/ssvb/tinymembench

Hint - run this in the same dir as the build

IOBZone - measures storage IO

https://github.com/pantheon-systems/iozone.git

Hint1 - build in ~.iozone/src/current
Hint2 - Command line used: ./iozone -e -I -a -s 20M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2 /tmp
Hint3 - you can play around with this with different paths
Hint 4- just append the commmand line with the path to test - in the example above it's '/tmp'


OpenWRT cpubench - this one includes source code

probably useless - but fun... and a good excuse for me to create a repo on github...

https://github.com/sfx2000/openwrt-cpubench.git

@Voxel and I had a bit of discussion on loops here...

There's others - iperf3 is a good one, and we'll discuss this in another post...

Other stuff -- some is github, some is entware/optware, and some is native for the OS in use...
 
Last edited:
And more... these are more package oriented...

OpenSSL

Fun stuff -- Many do the openssl speed aes-128-cbc aes-256-cbc bf-cbc

Hint1 - Blowfish has been deprecated... so here's a quick one - uses the envelope, and elapsed time, not user time

for i in 128 256 ; do openssl speed -elapsed -evp aes-${i}-cbc; done​

Hint2 - gcm can be tested directly via the envelope

openssl speed -evp aes-128-gcm -elapsed

OpenVPN

This requires OpenVPN to be installed... Take the Time Value - 3200/time = throughput in Mb/Sec

openvpn --genkey --secret /tmp/secret
time openvpn --test-crypto --secret /tmp/secret --verb 0 --tun-mtu 20000 --cipher aes-256-cbc

Note - this predicts potential thruput over OpenVPN - much also depends on the WAN upstream/downstream
 
Last edited:

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top