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

Andrey Yarovoy resolved HDDS-15592.
-----------------------------------
    Resolution: Abandoned

The proposed performance fix increases heap memory pressure, as result 
performance benefits from the fix are getting diminished and overall system 
performance due to back pressure caused by writes latency with a combination of 
the heap memory pressure and garbage collection time. Observations are 
confirmed by the testing on the real hw as well as modified benchmark code.

> Allocate direct in ChunkBuffer code slows down GRPC serialization
> -----------------------------------------------------------------
>
>                 Key: HDDS-15592
>                 URL: https://issues.apache.org/jira/browse/HDDS-15592
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Andrey Yarovoy
>            Assignee: Andrey Yarovoy
>            Priority: Major
>              Labels: pull-request-available
>
> Allocate direct in ChunkBuffer triggers slow byte-by-byte NioByteString path, 
> in case if it is replaced by heap allocation 
> UnsafeByteOperations.unsafeWrap() would return a BoundedByteString with a 
> backing array, enabling a single System.arraycopy into the gRPC/Netty wire 
> buffer.



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