xichen01 opened a new pull request, #4251: URL: https://github.com/apache/ozone/pull/4251
## What changes were proposed in this pull request? - Add a tool to measure the Ozone om performance in `Ozone freon` - Support `Ozone freon` runs for a specified duration of time. - Support real-time display of QPS and MAX QPS for Ozone metadata test GIF:  ```bash [root@Linux /root/ozone]% ozone freon ommg A tool to measure the Ozone om performance support Operation: CREATE_FILE, LOOKUP_FILE, READ_FILE, LIST_STATUS, CREATE_KEY, LOOKUP_KEY, HEAD_KEY, READ_KEY, LIST_KEYS, INFO_BUCKET, INFO_VOLUME, MIXED Example: # create 25000 keys, run time 180s $ bin/ozone freon ommg --operation CREATE_KEY -n 25000 --runtime 180 --timebase # read 25000 keys, run time 180s $ bin/ozone freon ommg --operation READ_KEY -n 25000 --runtime 180 --timebase # 20 threads, list 1000 keys each request, and run time 180s $ bin/ozone freon ommg --operation LIST_KEYS -t 20 --batch-size 1000 --runtime 180 --timebase # 10 threads, 1 threads list keys, 5 threads create file, 4 threads list lookup file and run time 180s $ bin/ozone freon ommg --operation MIXED --ops CREATE_FILE,LOOKUP_FILE,LIST_STATUS --opsNums 5,4,1 -t 10 -n 1000 --runtime 180 --timebase Note that: you must create a sufficient number of objects before executing read-related tests [root@Linux /root/ozone]% ``` ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-7908 ## How was this patch tested? -- 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]
