ChenSammi commented on PR #8360:
URL: https://github.com/apache/ozone/pull/8360#issuecomment-2861460932

   @peterxcli , can we only measure the time spend by 
   
   ```
   for (int j = 0; j < NUM_ITERATIONS; j++) {
               try {
                 HddsVolume volume = policy.chooseVolume(volumes, 
CONTAINER_SIZE);
                 if (volume != null) {
                   successCount.incrementAndGet();
                 }
               } catch (Exception e) {
                 failureCount.incrementAndGet();
               }
             }
   ```
   
   So we can avoid to count the thread start/stop time?  The two polices, they 
are expected to have the same trend. 


-- 
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: issues-unsubscr...@ozone.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to