You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Kirill Sizov (Jira)" <ji...@apache.org> on 2023/09/26 13:31:00 UTC

[jira] [Updated] (HDDS-7228) ChecksumByteBufferImpl.update() is expensive

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

Kirill Sizov updated HDDS-7228:
-------------------------------
    Attachment: before.png

> ChecksumByteBufferImpl.update() is expensive
> --------------------------------------------
>
>                 Key: HDDS-7228
>                 URL: https://issues.apache.org/jira/browse/HDDS-7228
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: Ozone Client
>    Affects Versions: 1.3.0
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: Screen Shot 2022-08-22 at 7.04.42 PM.png, after.png, before.png
>
>
> ChecksumByteBufferImpl.update() involves memory copy.
> It looks like the memory copy is redundant, and checksum should be able to compute directly.
> I have a hack to force it to skip the memory copy so I'll post it as a demo.



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