adoroszlai opened a new pull request, #4982:
URL: https://github.com/apache/ozone/pull/4982

   ## What changes were proposed in this pull request?
   
   Add replication-related options to the `ozone freon stb` SCM benchmark.
   
   https://issues.apache.org/jira/browse/HDDS-8921
   
   ## How was this patch tested?
   
   Replaced config in `ozone` environment:
   
   ```
   OZONE-SITE.XML_ozone.scm.stale.node.interval=1d
   OZONE-SITE.XML_ozone.scm.dead.node.interval=2d
   OZONE-SITE.XML_hdds.heartbeat.interval=1h
   OZONE-SITE.XML_ozone.scm.heartbeat.thread.interval=1h
   ```
   
   ```
   $ OZONE_DATANODES=5 ./run.sh -d
   ...
   
   $ docker-compose exec -T s3g ozone freon stb --scm-host scm --benchmark 
AllocateBlocks --num-threads 1 --num-blocks 1 --type EC --replication 
rs-3-2-1024k
   ...
   Total allocated blocks: 1
   Total failed blocks: 0
   Execution Time: 00:00:05,000
   Throughput: 0.200000 (ops)
   
   $ docker-compose exec -T s3g ozone freon stb --scm-host scm --benchmark 
AllocateBlocks --num-threads 8 --num-blocks 1024 --type EC --replication 
rs-3-2-1024k
   ...
   Total allocated blocks: 1024
   Total failed blocks: 0
   Execution Time: 00:00:05,006
   Throughput: 204.800003 (ops)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to