multi-threaded benchmark tool for evaluating Docker performance. thanks: https://github.com/ljishen/BSFD
# 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
Content type
Image
Digest
Size
129.6 MB
Last updated
over 5 years ago
docker pull tabito/sysbench