[ 
https://issues.apache.org/jira/browse/HDDS-12319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17927945#comment-17927945
 ] 

Krishna Kumar Asawa commented on HDDS-12319:
--------------------------------------------

I believe this is expected as File and Directory Tables are partialcache only 
till it is flushed to RocksDB. [~sumitagrawal] 

> fileTable directoryTable cache hit rate extremely low
> -----------------------------------------------------
>
>                 Key: HDDS-12319
>                 URL: https://issues.apache.org/jira/browse/HDDS-12319
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Wei-Chiu Chuang
>            Priority: Major
>              Labels: ozone-performance
>         Attachments: Screenshot 2025-02-12 at 3.30.08 PM.png, Screenshot 
> 2025-02-12 at 3.30.33 PM.png, Screenshot 2025-02-12 at 3.37.55 PM.png, 
> Screenshot 2025-02-12 at 3.38.13 PM.png
>
>
> I have access to a production cluster. Looking at the fileTable and 
> directoryTable cache metrics, I realized both of them have very low hit rate.
> If the numbers are correct, that means the cache doesn't make much difference:
> fileTable
> table_cache_metrics_hit_count 3524
> table_cache_metrics_miss_count 2564436740
> hit rate: 0.00013741809%
> directoryTable
> table_cache_metrics_hit_count 22190417
> table_cache_metrics_miss_count 8684501508
> hit rate: 0.255517452%
> bucket table and volume table cache are usually hit though



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