[ 
https://issues.apache.org/jira/browse/HDDS-15098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18076118#comment-18076118
 ] 

Siyao Meng edited comment on HDDS-15098 at 4/24/26 10:10 PM:
-------------------------------------------------------------

Thanks for filing this [~szetszwo]

It looks like Ozone prod code already uses JDK CRC (via 
ChecksumByteBufferFactory)

The only invocations of PureJavaCrc32ByteBuffer/PureJavaCrc32CByteBuffer are 
from tests/benchmarks as far as I can tell.

The switch was done by [~sodonnell] in HDDS-4138.

Actually, we might consider removing PureJavaCrc32ByteBuffer and 
PureJavaCrc32CByteBuffer from Ozone if it is not being used anymore, unless it 
should be kept for any compatibility reasons (which I couldn't see atm).


was (Author: smeng):
Thanks for filing this [~szetszwo]

It looks like Ozone prod code already uses JDK CRC (via 
ChecksumByteBufferFactory)

The only invocations of PureJavaCrc32ByteBuffer/PureJavaCrc32CByteBuffer are 
from tests/benchmarks as far as I can tell.

> Port HADOOP-19839 to Ozone: PureJavaCrc32/Crc32C delegate to JDK CRC32/CRC32C
> -----------------------------------------------------------------------------
>
>                 Key: HDDS-15098
>                 URL: https://issues.apache.org/jira/browse/HDDS-15098
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: common
>            Reporter: Tsz-wo Sze
>            Priority: Major
>
> HADOOP-19839 claimed that modern JDKs have much better CRC performance.  We 
> should verify it and then make a similar change in Ozone.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to