From cadbf8367ca692ff8edbccbaf85c8b6909f14ba3 Mon Sep 17 00:00:00 2001 From: Suraj Devatha <42767118+surajdm123@users.noreply.github.com> Date: Mon, 30 Jun 2025 20:24:07 -0700 Subject: [PATCH] stress-ng: add page (#16993) --- pages/common/stress-ng.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pages/common/stress-ng.md diff --git a/pages/common/stress-ng.md b/pages/common/stress-ng.md new file mode 100644 index 0000000000..23db81673a --- /dev/null +++ b/pages/common/stress-ng.md @@ -0,0 +1,21 @@ +# stress-ng + +> Load and stress a Linux system in various ways (CPU, memory, I/O, etc.). +> Useful for benchmarking, hardware validation, and stability testing. +> More information: . + +- Stress all CPUs with 4 workers for 60 seconds: + +`stress-ng {{[-c|--cpu]}} 4 {{[-t|--timeout]}} 60s` + +- Stress virtual memory with 2 workers for 30 seconds: + +`stress-ng {{[-m|--vm]}} 2 --vm-bytes {{512M}} {{[-t|--timeout]}} 30s` + +- Stress the I/O subsystem with 3 workers for 45 seconds: + +`stress-ng {{[-i|--io]}} 3 {{[-t|--timeout]}} 45s` + +- Run all stress tests for 2 minutes: + +`stress-ng {{[-a|--all]}} {{1}} {{[-t|--timeout]}} 2m`