tech_documents:linux:stress_ng

I use this to load test servers where I want to verify the hardware.

Generic script that will use 4 cores to stress the CPU, 2 for IO, 1 for memory and to use 100% of memory, 2 for mixed read/write of sequential and random data on drives and to use up to 50% of drive, run for 28800 seconds. Note, to test the drive that you want IO run on, cd to that mount point first then run stress-ng from there.

stress-ng --cpu 4 --io 2 --vm 1 --vm-bytes 100% --iomix 2 --iomix-bytes 50% --timeout 28800s
  • tech_documents/linux/stress_ng.txt
  • Last modified: 2020/10/27 22:22
  • by jacob.hydeman