You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Duong (Jira)" <ji...@apache.org> on 2024/01/11 00:48:00 UTC

[jira] [Resolved] (HDDS-9536) Datanode perf: Copying (heap) buffers is costly

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

Duong resolved HDDS-9536.
-------------------------
    Resolution: Duplicate

> Datanode perf: Copying (heap) buffers is costly
> -----------------------------------------------
>
>                 Key: HDDS-9536
>                 URL: https://issues.apache.org/jira/browse/HDDS-9536
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: Ozone Datanode
>            Reporter: Duong
>            Assignee: Tsz-wo Sze
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: Screenshot 2023-10-25 at 8.44.16 AM.png, datanode-on-write2.html, datanode-read-ratis-after-mapped-buffer.html, datanode-read-ratis.html
>
>
> Today, datanodes don't use direct buffers for WriteChunk data. When the chunks are written to disk, NIO converts those buffers to direct ones and the conversion seems to be very costly (please see attached [^datanode-on-write2.html]).
> Chunk data proto should be serialized from network/ratis using (pooled) direct buffers. That would avoid lots of extra costs not only from buffer copying but also from GCing the immediate buffers.
> !Screenshot 2023-10-25 at 8.44.16 AM.png|width=853,height=467!



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