franz1981 commented 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 are: - tune differently `lowWaterMark` and `highWaterMark` > 1 MB - split the file in smaller chunks (ie 1 MB now, probably 32K is better, configurable, even better) when `-Dio.netty.file.region=false` - 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: us...@infra.apache.org With regards, Apache Git Services