Needing recommendations for programs to use to stress test servers.

Priest_Apostate

Active Member
Joined
Nov 7, 2023
Messages
139
Reaction score
32
Credits
1,579
Due to being willing to learn about Linux (and the admin left for greener pastures), I was "voted" to set up a project for automating load testing of Ubuntu servers - even though I haven't had any experience doing either.

I have been studying Bash and Python scripting - and am currently experimenting with automating the installation of a package...but what package do you recommend (or actively use) to stress test servers (not just web-based servers)?
 
Last edited:


stress testing servers?
why servers? why not programs for testing?

I never heard of stress testing over a server.
 
stress testing servers?
why servers? why not programs for testing?

I never heard of stress testing over a server.
Their desire is to have someone stress-test their unused servers in the back-room, to determine if they can be used for production workloads - or RMA'ed.

(I'm hoping that from your response, that I wasn't given a wild goose chase of a project.)
 
Last edited:
Their idea is to test if servers in their back-room can be screened for production loads, or RMA'ed.

(I'm hoping that from your response, that I wasn't given a wild goose chase of a project.)
Sorry, I misunderstood, it appeared as if you're looking for servers that do stress testing.

There is something you can experiment with:
Measure Packets Per Second generated on a NIC
Bash:
# Launch attack in one terminal
sudo hping3 --udp --flood 10.10.10.10

# Measure PPS in another terminal
vnstat -i eth0 -tr

PPS stands for Packets Per Second, which is one kind of a DDOS attack, you can launch the attack from VM and then see how your server defense (if you have any) deals with it.

For e.g. try accessing your server to see if it's accessible during attack.
 
Most of these are actually for benchmarking, but you could put the tests in a loop. It will defintely
put a load on them.





If you want to stress video cards....

glmark2 is in most distro repos.
 
Thanks for the suggestions!

I'm leaning towards setting up Ansible to push the stress-testing application to said servers (was looking up stress-ng, Tsung, and Locust prior to asking for recommendations here) - along with a script to initiate the testing.
 

 
Linpack has stress testing, though I can't recall if it is only for Intel's stuff or if it works on AMD's stuff as well.
 
Artificial intelligence could generate a HUGE stress, prompted properly. I'm not sure how you'd quantify the stress... but that's my grain of salt for you.
 


Members online


Top