[solved] CPU Stress Test
-
Hey folks,
just a quicky. I need to stress test the CPU inside a pfsense appliance. It's not productive at the moment; something like cpuburn for Linux. Any recommendation? I just need to spike all cores (testing thermal/ cooling).
Cheers!
-Chris. -
if its not in production, use a livecd that includes the right tools
-
Not necessarily recommended but, in case you want to run the stress test right from your pfSense unit…some options... (from ssh / console)
stress-ng
fetch http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/stress-ng-0.08.14.txz pkg install stress-ng-0.08.14.txz rehash stress-ng --metrics-brief --cpu [# of cores] --timeout 1h
more info http://kernel.ubuntu.com/~cking/stress-ng/
cpuburn (older tool)
fetch http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/cpuburn-1.4_3.txz pkg install cpuburn-1.4_3.txz rehash burnMMX
good luck, let us know results ;)
-
Not necessarily recommended but, in case you want to run the stress test right from your pfSense unit…some options... (from ssh / console)
stress-ng
fetch http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/stress-ng-0.08.14.txz pkg install stress-ng-0.08.14.txz stress-ng --metrics-brief --cpu [# of cores] --timeout 1h
more info http://kernel.ubuntu.com/~cking/stress-ng/
cpuburn (older tool)
fetch http://pkg.freebsd.org/FreeBSD:11:amd64/latest/All/cpuburn-1.4_3.txz pkg install cpuburn-1.4_3.txz burnMMX
good luck, let us know results ;)
That worked like a charm! Besides a missing re-hash that solution worked out of the box!
Kudos and thanks!-Chris.
-
Glad to hear :) I added the rehash command to my earlier post…
-
if its not in production, use a livecd that includes the right tools
Any suggestions as to what would be a good livecd environment that's being actively maintained? Several like Ultimate Boot CD, Hiren's BootCD and StressLinux are years out of date.
-
Hi sparkman123
I prefer partedMagic (solution for all things I need to do) or kali linux. I rarely stresstest my systems, I often need to test the performance, so openvpn/openssl is good to test the stress as well
e.g.: iperf -c IP -t 60
or
openssl speed -elapsed -evp aes-256-cbc [if your CPU/OS supports aes-xyz then you choose some it doesn't so the CPU has to work, not the crypto part alone]
As openssl is often preinstalled it's my first choice for seeking CPU limits
Cheers
Michael