franz1981 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-535443555
 
 
   @wy96f 
   Good analysis :)
   Yep, so the possible solutions I see are:
   - tune differently `lowWaterMark` and `highWaterMark`  > 1 MB to allow chunk 
writer queue to be drained faster (hopefully)
   - split the file in smaller chunks (ie 1 MB now, probably 32K is better, 
configurable, even better) when `-Dio.netty.file.region=false`: not sure it 
would work TBH
   - flow control sync file sends by using the received sync file responses 
instead of using the Netty one (that as u have noticed require more 
configuration/tuning and behave differently depending if using the file region 
or not...)

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to