xichen01 opened a new pull request, #5789: URL: https://github.com/apache/ozone/pull/5789
## What changes were proposed in this pull request? Improving EC perf by eliminating redundant config reads. ### The Root cause The `conf.getObject(OzoneClientConfig.class)` is an expensive operation, because the for in `injectConfigurationToObject` may need to be looped many times and there will be a lot of configuration parsing operations. https://github.com/apache/ozone/blob/8b25c554cbb7a74120f6cf6390ea127bb23f64e2/hadoop-hdds/config/src/main/java/org/apache/hadoop/hdds/conf/ConfigurationReflectionUtil.java#L89-L99 - There may be other places in Ozone where there are similar performance issues, because `getObject` is used heavily. - Maybe this can be solved by caching the computed configurations ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-9913 ## How was this patch tested? existing test Performance testing result https://issues.apache.org/jira/browse/HDDS-9911 -- 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]
