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

Duong commented on RATIS-2096:
------------------------------

[~szetszwo] I don't think memory impact is the problem here, as I explained in 
the thread, the memory usage is shifted from on-heap to off-heap and that's the 
optimization. The total memory used (process RSS) should be just like before. 
If that's not true, there's a problem with the zero-copy implementation and 
disable zero-copy parsing it would not solve the problem. 

 

 

> Add a conf to enable/disable zero copy.
> ---------------------------------------
>
>                 Key: RATIS-2096
>                 URL: https://issues.apache.org/jira/browse/RATIS-2096
>             Project: Ratis
>          Issue Type: Sub-task
>            Reporter: Tsz-wo Sze
>            Priority: Major
>
> As reported by [~William Song] in 
> https://lists.apache.org/thread/hxop0csk5zd2rgk4jqps02j002hqnzvh .  Zero-copy 
> may have a memory impact and it may not be suitable for some applications.  
> We should have a conf to enable/disable it.
> Cc [~duongnguyen].



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

Reply via email to