[ 
https://issues.apache.org/jira/browse/HDDS-6832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uma Maheswara Rao G reassigned HDDS-6832:
-----------------------------------------

    Assignee: Ritesh Shukla

> Avoid blockToken creation for listKey in OM
> -------------------------------------------
>
>                 Key: HDDS-6832
>                 URL: https://issues.apache.org/jira/browse/HDDS-6832
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Rajesh Balamohan
>            Assignee: Ritesh Shukla
>            Priority: Major
>              Labels: performance
>         Attachments: Screenshot 2022-06-03 at 11.14.11 AM.png
>
>
> {color:#172b4d}This is based on a pure lookup test done based on "warp" 
> client ([https://github.com/minio/warp).] Lookup test can be performed via 
> "stat" option in warp.{color}
> {color:#172b4d}Issue: {color}
> {color:#172b4d}===={color}
> Block tokens are added even when performing listKey in 
> OzoneManagerRequestHandler.
>  
> Reference: 
> [https://github.com/apache/ozone/blob/master/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java#L387-L388]
>   !Screenshot 2022-06-03 at 11.14.11 AM.png|width=2590,height=1469!
> BlockTokens are needed mainly for input/outputstreams. It may be alright not 
> to generate blocktokens for listKeys. It should be made optional on when to 
> generate block tokens depending on incoming request.
>  
> Here is the profiler snapshot showing *80-90% of CPU getting burnt out* only 
> in generating the blocktoken in listKey.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to