diff --git a/S3-API-Benchmark.md b/S3-API-Benchmark.md index 2002449..b887d8d 100644 --- a/S3-API-Benchmark.md +++ b/S3-API-Benchmark.md @@ -1,3 +1,50 @@ +# Test with Warp +https://github.com/minio/warp + +Warp is a more complete test suite. It needs identity access management. So you would need to configure authentication info with `weed s3 -conf=...` or `weed filer -s3 -s3.conf=...`. See https://github.com/chrislusf/seaweedfs/wiki/Amazon-S3-API#authentication + +Here is the results from my local laptop written to an external SSD via USB 3.1: + +``` +$ warp mixed --host localhost:8333 --access-key some_access_key1 --secret-key some_secret_key1 --duration=1m --obj.size 1024B --concurrent 4 +warp: Benchmark data written to "warp-mixed-2020-11-21[145531]-iPQO.csv.zst" +Mixed operations. +Operation: DELETE, 10%, Concurrency: 4, Duration: 59s. + * Throughput: 419.91 obj/s + +Operation: GET, 45%, Concurrency: 4, Duration: 59s. + * Throughput: 1.85 MiB/s, 1889.68 obj/s + +Operation: PUT, 15%, Concurrency: 4, Duration: 59s. + * Throughput: 0.62 MiB/s, 629.96 obj/s + +Operation: STAT, 30%, Concurrency: 4, Duration: 59s. + * Throughput: 1259.79 obj/s + +Cluster Total: 2.46 MiB/s, 4199.28 obj/s +warp: Cleanup Done. + +$ warp mixed --host localhost:8333 --access-key some_access_key1 --secret-key some_secret_key1 --duration=1m --obj.size 102400B --concurrent 4 +warp: Benchmark data written to "warp-mixed-2020-11-21[145817]-YvKD.csv.zst" +Mixed operations. +Operation: DELETE, 10%, Concurrency: 4, Duration: 59s. + * Throughput: 309.05 obj/s + +Operation: GET, 45%, Concurrency: 4, Duration: 1m0s. + * Throughput: 135.82 MiB/s, 1390.75 obj/s + +Operation: PUT, 15%, Concurrency: 4, Duration: 59s. + * Throughput: 45.28 MiB/s, 463.71 obj/s + +Operation: STAT, 30%, Concurrency: 4, Duration: 59s. + * Throughput: 927.00 obj/s + +Cluster Total: 181.10 MiB/s, 3090.45 obj/s +warp: Cleanup Done. + +``` + +# Test with Hotsauce S3 Benchmark Found this https://github.com/markhpc/hsbench tool which seems easy to use.