Stress test CPU

shared requirements for all kinds of resources (CPU RAM I/O TX/RX)

    # debian/ubuntu
    apt install -y stress iperf3 hdparm

    # slackware
    slackpkg update
    slackpkg install screen-4 utempter
    slackpkg install rsync cyrus-sasl curl lz4 zstd xxHash nghttp2 brotli
    slackpkg install kernel-headers patch gcc-11 automake autoconf-2 binutils make guile gc
    wget https://github.com/sbopkg/sbopkg/releases/download/0.38.2/sbopkg-0.38.2-noarch-1_wsr.tgz
    installpkg --terse sbopkg-0.38.2-noarch-1_wsr.tgz
    sbopkg -r
    sbopkg -i stress
    sbopkg -i perf3
    slackpkg install hdparm

and proceed

grep ^proc /proc/cpuinfo
stress --cpu 2

Additional notes

magic command cpu performance tuning

echo "%CPU %MEM ARGS $(date)" && ps -e -o pcpu,pmem,args --sort=pcpu | cut -d" " -f1-5 | tail

Resources

magic command

https://stackoverflow.com/questions/42445293/elastic-beanstalk-high-cpu-load-after-a-week-of-running


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