benchmarks/mknet/bench_minio.sh

16 lines
350 B
Bash
Raw Normal View History

2021-12-08 16:09:17 +00:00
#!/bin/bash
2021-12-09 17:41:50 +00:00
echo "sleep 3 min to wait for minio bootstrap"
sleep 180
2021-12-08 17:28:13 +00:00
2021-12-09 17:41:50 +00:00
export ENDPOINT=localhost:9000
2021-12-08 16:09:17 +00:00
export AWS_ACCESS_KEY_ID=minioadmin
export AWS_SECRET_ACCESS_KEY=minioadmin
2021-12-08 17:28:13 +00:00
mc alias set minio-bench http://$ENDPOINT $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY
for i in $(seq 1 10); do
mc mb minio-bench/bench$i
done
2021-12-08 16:09:17 +00:00
s3lat | tee 50ms.minio.csv