jojochuang opened a new pull request, #6923: URL: https://github.com/apache/ozone/pull/6923
## What changes were proposed in this pull request? HDDS-10055. [hsync] Optimize FilePerBlockStrategy.writeChunk(). Please describe your PR in detail: Profiler report shows DN repeatedly instantiates File object for the same block file. This is especially problematic for hsync where the same block file is appended over and over again. This PR removes instantiating File object in subsequent hsync requests. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-10055 ## How was this patch tested? No new tests. Benchmark report is attached. <img width="1720" alt="Screenshot 2024-07-10 at 3 08 13 PM" src="https://github.com/apache/ozone/assets/2691807/c7faae45-f11a-427f-adaa-6d0ba6da07f8"> -- 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]
