wy96f edited a comment on issue #2845: ARTEMIS-2336 Use zero copy to replicate 
journal/page/large message file (AGAIN)
URL: https://github.com/apache/activemq-artemis/pull/2845#issuecomment-535777939
 
 
   @franz1981 Hi, I made tests with writeBufferHighWaterMark=2MB, 10MB, 100MB, 
200MB,  the replication still failed(shocked).
   After some analysis, i think results might be reasonable. Whatever 
writeBufferHighWaterMark value we tune to, the total time with channel writable 
is similar(If using big value, it would take long to saturate channel; If using 
small value, it would take more times to saturate channel although shorter 
time). Considering netty thread would read chunk file to add ByteBuf in 
outboundbuffer(size will be added) and artemis thread just put the packets into 
netty executor(that's more fast), packets will definitely build up in the chunk 
writer queue.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to