You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/06/09 16:17:15 UTC

[GitHub] [hadoop-ozone] runzhiwang opened a new pull request #1042: HDDS-3759. Avoid UUID#toString call in PipelineID#getProtobuf

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


   ## What changes were proposed in this pull request?
   I start a ozone cluster with 1000 datanodes, and run two weeks with heavy workload, and perf scm.
   `UUID.toString` in `PipelineID::getProtobuf` cost 0.13% cpu, and `getContainerWithPipelineBatch` cost 1.76%, so `UUID.toString` cost about 0.13 / 1.76 = 7.4% in `getContainerWithPipelineBatch`. Because `getContainerWithPipelineBatch` happens in the main chain of read, so we need to improve it.
   
   ![image](https://user-images.githubusercontent.com/51938049/84117318-ec3b1280-aa63-11ea-85e5-bf3860511bea.png)
   
   ![image](https://user-images.githubusercontent.com/51938049/84117326-efce9980-aa63-11ea-970d-953481cd43bd.png)
   
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-3759
   
   ## 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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org


[GitHub] [hadoop-ozone] nandakumar131 merged pull request #1042: HDDS-3759. Avoid UUID#toString call in PipelineID#getProtobuf

Posted by GitBox <gi...@apache.org>.
nandakumar131 merged pull request #1042:
URL: https://github.com/apache/hadoop-ozone/pull/1042


   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org


[GitHub] [hadoop-ozone] nandakumar131 commented on pull request #1042: HDDS-3759. Avoid UUID#toString call in PipelineID#getProtobuf

Posted by GitBox <gi...@apache.org>.
nandakumar131 commented on pull request #1042:
URL: https://github.com/apache/hadoop-ozone/pull/1042#issuecomment-641121643


   Thanks @runzhiwang for the contribution.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org