You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Arafat Khan (Jira)" <ji...@apache.org> on 2025/08/11 05:14:00 UTC

[jira] [Resolved] (HDDS-13432) Accelerating Namespace Usage Calculation in Recon

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

Arafat Khan resolved HDDS-13432.
--------------------------------
    Fix Version/s: 2.0.1
       Resolution: Fixed

> Accelerating Namespace Usage Calculation in Recon
> -------------------------------------------------
>
>                 Key: HDDS-13432
>                 URL: https://issues.apache.org/jira/browse/HDDS-13432
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: Ozone Recon
>            Reporter: Arafat Khan
>            Assignee: Arafat Khan
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 2.0.1
>
>
> Recon calculates disk usage by recursively traversing the entire directory tree for a given bucket or volume, performing a RocksDB lookup for every directory. This process involves millions of individual reads for large buckets with deep and wide directory structures, causing:
>  * Extremely high latency (e.g., 54 seconds for 5.6 million directories).
>  * Poor performance due to millions of RocksDB Get operations, many hitting disk rather than cache.
>  * Single-threaded traversal leading to underutilization of CPU resources.
>  * Poor RocksDB key locality causing inefficient disk seeks and block-cache misses because directory summaries are stored with random keys.
> These issues result in slow and inefficient disk usage calculations, especially for very large and complex datasets.



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

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