From 7cd28cf8b64411848ab376b7d18500879563e1d1 Mon Sep 17 00:00:00 2001 From: allesklardy <55097459+allesklardy@users.noreply.github.com> Date: Mon, 10 Oct 2022 15:55:28 +0200 Subject: [PATCH] sysbench: add page (#8797) --- pages/common/sysbench.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/sysbench.md diff --git a/pages/common/sysbench.md b/pages/common/sysbench.md new file mode 100644 index 000000000..aba10044d --- /dev/null +++ b/pages/common/sysbench.md @@ -0,0 +1,24 @@ +# sysbench + +> Benchmark a System's CPU, IO and memory. +> More information: . + +- Run a CPU benchmark with 1 thread for 10 seconds: + +`sysbench cpu run` + +- Run a CPU benchmark with multiple threads for a specified time: + +`sysbench --threads={{number_of_threads}} --time={{seconds}}` + +- Run a memory benchmark with 1 thread for 10 seconds: + +`sysbench memory run` + +- Prepare a filesystem-level read benchmark: + +`sysbench fileio prepare` + +- Run a filesystem-level benchmark: + +`sysbench --file-test-mode={{rndrd|rndrw|rndwr|seqrd|seqrewr|seqwr}} fileio run`