shy-share commented on PR #4903:
URL: https://github.com/apache/rocketmq/pull/4903#issuecomment-1229413684

   > The existing solution is to write one byte per page as warming. According 
to 
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_for_real_time/7/html/reference_guide/using_mlock_to_avoid_page_io,
 it looks sufficient to mlock;
   
   I checked some information, and some places said that mlock alone cannot 
guarantee that memory can be locked, because there may be copy-on-write 
problems. I'm not sure if this is the problem.
   [refer to this article](https://www.cnblogs.com/lixiaofei1987/p/3205002.html)


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to