You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/10/03 14:16:00 UTC

[jira] [Updated] (HDDS-9380) Reduce the number of system calls when DN writes a key

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

ASF GitHub Bot updated HDDS-9380:
---------------------------------
    Labels: pull-request-available  (was: )

> Reduce the number of system calls when DN writes a key
> ------------------------------------------------------
>
>                 Key: HDDS-9380
>                 URL: https://issues.apache.org/jira/browse/HDDS-9380
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: ChenXi
>            Assignee: ChenXi
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: cpu_dn_create_key2_long.html, image-2023-10-03-21-54-25-419.png
>
>
> To execute `HddsDispatcher.sendCloseContainerActionIfNeeded` once, need to call `getCapacity()` 3 times and `getAvailable()` 2 times.
> The `getCapacity()` and `getAvailable()` are System call, we need reduce the System calls.
>  Here reduces the number of `getCapacity()` and `getAvailable()` calls to one each.
> !image-2023-10-03-21-54-25-419.png|width=1413,height=949!



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