在地址映射过程中,若在页面中发现所要访问的页面不在内存中,则产生缺页中断。当发生缺页中断时,如果操作系统内存中没有空闲页面,则操作系统必须在内存选择一个页面将其移出内存,以便为即将调入的页面让出空间。而用来选择淘汰哪一页的规则叫做页面置换算法。
可以使用 VMM 的页面置换算法来选择要重新分配页帧的虚拟内存页面。
The virtual memory pages whose page frames are to be reassigned are selected using the VMM's page replacement algorithm.
改进页面置换算法,可以降低页面失败率,从而有效地提高系统性能。
Improving virtual memory page replacement can reduce page fault rate, and therefore improve the performance of the system.
VMM一直在后台运行,尝试使用前面介绍的页面置换算法偷取最近没有引用过的页帧。
VMM is constantly lurking and working in the background trying to steal frames that have not been recently referenced, using the page replacement algorithm discussed earlier.
应用推荐