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 2021/09/27 08:31:38 UTC

[GitHub] [ozone] ChenSammi opened a new pull request #2679: HDDS-5785. containerCreationLock is a severe bottleneck when there are many containers to create

ChenSammi opened a new pull request #2679:
URL: https://github.com/apache/ozone/pull/2679


   https://issues.apache.org/jira/browse/HDDS-578 
   
   With this striped lock, the contension is dropped to a low state.  The average create container time is dropped from 60s to 1s in the same test. 
   
   
      `---ts=2021-09-26 11:48:12;thread_name=ChunkWriter-101-0;id=ec;is_daemon=true;priority=5;TCCL=sun.misc.Launcher$AppClassLoader@6659c656
       `---[1401.227154ms] org.apache.hadoop.ozone.container.keyvalue.KeyValueHandler:handleCreateContainer()
           +---[0.001033ms] org.apache.hadoop.hdds.protocol.datanode.proto.ContainerProtos$ContainerCommandRequestProto:hasCreateContainer() #252
           +---[7.8E-4ms] com.google.common.base.Preconditions:checkArgument() #261
           +---[0.001397ms] org.apache.hadoop.hdds.protocol.datanode.proto.ContainerProtos$ContainerCommandRequestProto:getContainerID() #263
           +---[0.003679ms] org.apache.hadoop.ozone.container.common.impl.ChunkLayOutVersion:getConfiguredVersion() #266
           +---[0.001038ms] org.apache.hadoop.hdds.protocol.datanode.proto.ContainerProtos$ContainerCommandRequestProto:getPipelineID() #268
           +---[9.06E-4ms] org.apache.hadoop.ozone.container.keyvalue.KeyValueHandler:getDatanodeId() #269
           +---[0.00287ms] org.apache.hadoop.ozone.container.keyvalue.KeyValueContainerData:<init>() #269
           +---[0.002747ms] org.apache.hadoop.ozone.container.keyvalue.KeyValueContainer:<init>() #272
           +---[0.0041ms] com.google.common.util.concurrent.Striped:get() #277
           +---[0.001554ms] org.apache.hadoop.ozone.container.common.impl.ContainerSet:getContainer() #280
           +---[1401.138626ms] org.apache.hadoop.ozone.container.keyvalue.KeyValueContainer:create() #281
           +---[0.008657ms] org.apache.hadoop.ozone.container.common.impl.ContainerSet:addContainer() #282
           +---[0.024103ms] org.apache.hadoop.ozone.container.keyvalue.KeyValueHandler:sendICR() #297
           `---[0.002756ms] org.apache.hadoop.hdds.scm.protocolPB.ContainerCommandResponseBuilders:getSuccessResponse() #302


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [ozone] bshashikant edited a comment on pull request #2679: HDDS-5785. containerCreationLock is a severe bottleneck when there are many containers to create

Posted by GitBox <gi...@apache.org>.
bshashikant edited a comment on pull request #2679:
URL: https://github.com/apache/ozone/pull/2679#issuecomment-939676072


   Thanks @ChenSammi for the contribution and @bharatviswa504  for the review..


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [ozone] bshashikant merged pull request #2679: HDDS-5785. containerCreationLock is a severe bottleneck when there are many containers to create

Posted by GitBox <gi...@apache.org>.
bshashikant merged pull request #2679:
URL: https://github.com/apache/ozone/pull/2679


   


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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


[GitHub] [ozone] bshashikant commented on pull request #2679: HDDS-5785. containerCreationLock is a severe bottleneck when there are many containers to create

Posted by GitBox <gi...@apache.org>.
bshashikant commented on pull request #2679:
URL: https://github.com/apache/ozone/pull/2679#issuecomment-939676072


   Thanks @ChenSammi for the review.


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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