Benchmark Hardware Resources

CPU

diy

cat /dev/urandom | gzip > /dev/null

with stress

date
nice stress --cpu 8

with openssl

check that you have hw accel enabled

zcat /proc/config.gz | grep CRYPTO_HW

openssl speed md5 sha1 sha256 sha512 des des-ede3 \
    aes-128-cbc aes-192-cbc aes-256-cbc rsa2048 dsa2048 | tee /tmp/sslspeed

RAM

with stress

date
stress --vm 8 --vm-keep

DISK I/O

draft

with stress

date
stress ...

NIC TX/RX

with iperf3

on the server

iperf3 -s

on the client

iperf3 -c SERVER-ADDRESS

Resources

cpu w/ openssl

https://openwrt.org/docs/guide-user/perf_and_log/benchmark.openssl

https://openwrt.org/docs/guide-user/advanced/snippets#ellipticcurvesinopenssh

ram & disk

https://www.yugabyte.com/blog/linux-performance-tuning-memory-disk-io/


HOME | GUIDES | LECTURES | LAB | SMTP HEALTH | HTML5
Copyright © 2022 Pierre-Philipp Braun