[
https://issues.apache.org/jira/browse/HDDS-10382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duong updated HDDS-10382:
-------------------------
Description:
Add "-Dorg.apache.ratis.thirdparty.io.netty.tryReflectionSetAccessible=true" to
the ozone script to allow Netty unsafe memory allocation.
According to Netty doc.
{quote}When a new {{java.nio.ByteBuffer}} is allocated, its content is filled
with zeroes. This "zeroing" consumes CPU cycles and memory bandwidth. Normally,
the buffer is then immediately filled from some data source, so the zeroing did
no good.
{quote}
was:Add
"-Dorg.apache.ratis.thirdparty.io.netty.tryReflectionSetAccessible=true" to the
ozone script to allow Netty unsafe memory allocation.
> Optimize Netty memory allocation by avoiding zero assignment in Java 9+
> -----------------------------------------------------------------------
>
> Key: HDDS-10382
> URL: https://issues.apache.org/jira/browse/HDDS-10382
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Duong
> Priority: Major
>
> Add "-Dorg.apache.ratis.thirdparty.io.netty.tryReflectionSetAccessible=true"
> to the ozone script to allow Netty unsafe memory allocation.
>
> According to Netty doc.
> {quote}When a new {{java.nio.ByteBuffer}} is allocated, its content is filled
> with zeroes. This "zeroing" consumes CPU cycles and memory bandwidth.
> Normally, the buffer is then immediately filled from some data source, so the
> zeroing did no good.
> {quote}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]