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

Attila Doroszlai resolved HDDS-9668.
------------------------------------
    Fix Version/s: 1.4.0
       Resolution: Implemented

> Zero-Copy in EC GRPC (write)
> ----------------------------
>
>                 Key: HDDS-9668
>                 URL: https://issues.apache.org/jira/browse/HDDS-9668
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: Ozone Datanode
>            Reporter: Duong
>            Assignee: Duong
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.4.0
>
>         Attachments: datanode-on-write-ec-ncopies.html, 
> datanode-on-write-ec-zerocopies.html, ec-dn-io-comparison.png, 
> ec-ncopies.png, ec_jvm_metric_comparison.png
>
>
> Today EC with GRPC copies input data buffer several times:
>  * when parsing protobuf objects from the input network stream, data is 
> copied from the original netty direct buffer to heap.
>  * when writing data to files, the heap buffer needs to be copied to direct 
> buffers by NIO.
> The cost of buffer copies themself is inefficient, it comes with GC 
> consequences of cleaning up the intermediate buffers. Those together slow EC 
> I/O down.
> !ec-ncopies.png|width=807,height=292!
> We can use the ZeroCopyMarshaller from RATIS-1932 to avoid all those issues.



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