aryangupta1998 commented on PR #7349:
URL: https://github.com/apache/ozone/pull/7349#issuecomment-2474466981

   ### Performance Test Results: Directory Deletion
   
   I tested the deletion of **200,000** directories in a multi-level structure 
under various configurations. Below are my observations:
   
   Configuration:
   Path limit per task: 7,000 
   Ratis log appender: 32 MB
   Deletion interval: 3 seconds
   Threads: 10 threads
   
   **Single-threaded vs Multi-threaded Performance:**
   **Single-threaded (1 thread):**
   Time taken: 15 minutes
   Directories deleted: 45,000 directories
   
   **Multi-threaded (10 threads):**
   Time taken: 7 minutes
   Directories deleted: 200,000 directories
   
   Performance improvement:
   Achieved nearly 10x faster deletion with multi-threading.
   
   **Testing with More Threads:**
   I also tested with 30 threads and 50 threads, keeping other configurations 
the same.
   
   With 30 threads:
   Time taken: 3 minutes
   Directories deleted: 200,000 directories
   
   With 50 threads:
   Time taken: 1 minute 50 seconds
   Directories deleted: 200,000 directories
   
   


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