runzhiwang opened a new pull request #1034:
URL: https://github.com/apache/hadoop-ozone/pull/1034


   ## What changes were proposed in this pull request?
   
   I start a ozone cluster with 1000 datanodes and 10 s3gateway, and run two 
weeks with heavy workload, and perf om. There are 3 places use stream.collect 
which cost 3% cpu.
   
   1. stream.collect in Pipeline::getFromProtobuf
   
![image](https://user-images.githubusercontent.com/51938049/84002528-255b8000-a99b-11ea-9aed-25f5fd8eaa92.png)
   
   2. stream.collect in OmKeyInfo::getProtobuf
   
![image](https://user-images.githubusercontent.com/51938049/84002623-4cb24d00-a99b-11ea-8acb-e485efcba658.png)
   
![image](https://user-images.githubusercontent.com/51938049/84002730-74091a00-a99b-11ea-9da6-046a3145d01d.png)
   
   3. stream.collect in OMKeyCommitRequest::validateAndUpdateCache
   
![image](https://user-images.githubusercontent.com/51938049/84002874-b5012e80-a99b-11ea-89fb-0df6fb731e5b.png)
   
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-3749
   
   ## How was this patch tested?
   
   Existed tests.
   


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

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