You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Oliverwqcwrw (via GitHub)" <gi...@apache.org> on 2023/03/31 10:27:30 UTC

[GitHub] [rocketmq] Oliverwqcwrw commented on issue #5571: MappedFile#warmMappedFile there may be code that doesn't work

Oliverwqcwrw commented on issue #5571:
URL: https://github.com/apache/rocketmq/issues/5571#issuecomment-1491697584

   @jianglianggithub 我的理解是mlock在锁定内存的时候,操作系统会确保物理内存足够来容纳这个区域,因此在使用mlock时,不会触发缺页中断。但如果内存不足,操作系统将无法保证所有被mlock锁定的内存都可以驻留在物理内存中,这时会出现一定的概率触发缺页中断。
   所以我觉得这块预热是OK的


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org