sysbench: add page (#8797)

pull/1/head
allesklardy 2022-10-10 15:55:28 +02:00 committed by GitHub
parent e1e04a397d
commit 7cd28cf8b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 24 additions and 0 deletions

24
pages/common/sysbench.md Normal file
View File

@ -0,0 +1,24 @@
# sysbench
> Benchmark a System's CPU, IO and memory.
> More information: <https://github.com/akopytov/sysbench/>.
- 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`