tanvipenumudy opened a new pull request #3266:
URL: https://github.com/apache/ozone/pull/3266


   ## What changes were proposed in this pull request?
   
   To develop a new Ozone Freon tool command where one can configure or pass an 
argument to generate/run a synthetic read and write operation mix workload on a 
bucket and print the lock read/write waiting/held time metrics.
   
   **Step 1:**  Create `fileCountForRead` (defaultValue = 1000)  files under 
_rootPath/readPath_ directory
   **Step 2:**  Start `readThreadCount` (defaultValue = 90) concurrent read 
threads
         each new Thread (() -> {
                  for(1...`numOfReadOperations` (defaultValue = 50))
                        
   fileSystem.listStatus(_rootPath/readPath_)
         }
   **Step 3:**  Start `writeThreadCount` (defaultValue = 10) concurrent write 
threads
         each new Thread (() -> {
                  for(1...`numOfWriteOperations` (defaultValue = 10))
                        
   createFile(_rootPath/writePath/file-random-keypath_)
         }
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-6457
   
   ## How was this patch tested?
   
   Added integration tests.
   


-- 
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