You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2022/08/23 02:01:00 UTC

[jira] [Updated] (HDDS-7161) Make Checksum.int2ByteString() zero-copy

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

Wei-Chiu Chuang updated HDDS-7161:
----------------------------------
    Summary: Make Checksum.int2ByteString() zero-copy  (was: Checksum.int2ByteString() is expensive)

> Make Checksum.int2ByteString() zero-copy
> ----------------------------------------
>
>                 Key: HDDS-7161
>                 URL: https://issues.apache.org/jira/browse/HDDS-7161
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: Ozone Client
>    Affects Versions: 1.3.0
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>         Attachments: Screen Shot 2022-08-22 at 6.56.03 PM.png, impalad-rhel12.ozone.cisco.local.html
>
>
> Checksum.int2ByteString() allocates a temporary byte array and then make a copy of it, which is very expensive.
> It can be replaced with a zero copy wrapper, using UnsafeByteOperations.unsafeWrap() API.



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