Sign inSign up

tabito/sysbench

By tabito

•Updated over 5 years ago

Image
0

184

tabito/sysbench repository overview

⁠Sysbench

multi-threaded benchmark tool for evaluating Docker performance. thanks: https://github.com/ljishen/BSFD⁠

⁠Usage

# Run CPU performance test
docker run --rm \
    -v `pwd`:/root/results \
    tabito/sysbench \
    /root/results/output_cpu.prof \
    --test=cpu \
    --cpu-max-prime=20000 \
    run

# Run Memory functions speed test
docker run --rm \
    -v `pwd`:/root/results \
    tabito/sysbench \
    /root/results/output_memory.prof \
    --test=memory \
    run

# Run File I/O test
docker run --rm \
    -v `pwd`/workdir:/root/workdir \ 
    tabito/sysbench \
    /root/results/output_fileio.prof \
    --test=fileio \
    --file-num=64 \
    prepare

docker run --rm \
    -v `pwd`:/root/results \
    -v `pwd`/workdir:/root/workdir \ 
    tabito/sysbench \
    /root/results/output_fileio.prof \
    --test=fileio \
    --file-num=64 \
    --file-test-mode=seqrewr \
    run

docker run --rm \
    -v `pwd`/workdir:/root/workdir \ 
    tabito/sysbench \
    /root/results/output_fileio.prof \
    --test=fileio \
    cleanup

Tag summary

Content type

Image

Digest

Size

129.6 MB

Last updated

over 5 years ago

docker pull tabito/sysbench