sravani-revuri opened a new pull request, #10569:
URL: https://github.com/apache/ozone/pull/10569

   ## What changes were proposed in this pull request?
   while running tracing while creating 100000 keys.
   with tracing enabled it currently takes around 25-30 min but with it off it 
takes around 1-2 min.
   currently we are using simplespanprocessor which works synchronously for 
spans being exported , therefore taking so long.
   
   We should change usage to batchspanprocessor which does the same thing 
asynchronously
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-15579
   
   ## How was this patch tested?
   
   Manual test.
   #### Command:
   ```
   bash-5.1$ ozone freon rk --num-of-volumes 1 --num-of-buckets 1 --num-of-keys 
100000 --num-of-threads 24 --key-size 1KB
   ```
   #### BEFORE:
   ```
   ***************************************************
   Status: Success
   Git Base Revision: 9d50c6884666e794e45102260a4017bb31802e1b
   Number of Volumes created: 1
   Number of Buckets created: 1
   Number of Keys added: 100000
   Average Time spent in volume creation: 00:00:00,002
   Average Time spent in bucket creation: 00:00:00,000
   Average Time spent in key creation: 00:07:39,104
   Average Time spent in key write: 00:00:00,298
   Total bytes written: 102400000
   Total Execution time: 00:36:29,767
   ***************************************************
   ```
   
   #### AFTER:
   ```
   ***************************************************
   Status: Success
   Git Base Revision: 9d50c6884666e794e45102260a4017bb31802e1b
   Number of Volumes created: 1
   Number of Buckets created: 1
   Number of Keys added: 100000
   Average Time spent in volume creation: 00:00:00,001
   Average Time spent in bucket creation: 00:00:00,000
   Average Time spent in key creation: 00:00:11,312
   Average Time spent in key write: 00:00:00,216
   Total bytes written: 102400000
   Total Execution time: 00:00:57,661
   ***************************************************
   ```
   


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