runzhiwang opened a new pull request #1035:
URL: https://github.com/apache/hadoop-ozone/pull/1035
## What changes were proposed in this pull request?
start a ozone cluster with 1000 datanodes and 10 s3gateway, and run two
weeks with heavy workload, and perf scm. There are 3 places use stream.collect
which cost 3.2% cpu.
1. stream.collect in PipelineStateMap.getPipelines cost 1.81%

2. stream.collect in Pipeline.getProtobufMessage cost 0.77%

3. stream.collect in SCMClientProtocolServer.getContainerWithPipelineBatch
cost 0.64%

## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3750
Please replace this section with the link to the Apache JIRA)
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]