发明授权
- 专利标题: Method for operating system support for memory compression
- 专利标题(中): 操作系统支持内存压缩的方法
-
申请号: US09584033申请日: 2000-05-30
-
公开(公告)号: US06681305B1公开(公告)日: 2004-01-20
- 发明人: Hubertus Franke , Bulent Abali , Lorraine M. Herger , Dan E. Poff , Robert A. Saccone, Jr. , T. Basil Smith
- 申请人: Hubertus Franke , Bulent Abali , Lorraine M. Herger , Dan E. Poff , Robert A. Saccone, Jr. , T. Basil Smith
- 主分类号: G06F1200
- IPC分类号: G06F1200
摘要:
In a system with hardware main memory compression, the method of this invention monitors the physical memory utilization and if physical memory is near exhaustion it forces memory to be paged out, thus freeing up real memory pages. These pages are then zeroed, thus they are highly compressible and therefore reduce the physical memory utilization. Pages that have been forced out due to high physical memory utilization are not made available for allocation. In systems where operating system changes are permitted, this invention dynamically controls the minimum size of the free page pool and zeros pages upon freeing. When the physical memory utilization falls below a critical threshold the mechanism reduces the minimum size of the free pool to allow further allocation. In systems where operating system changes are not possible, pages are allocated by a module (e.g. Device driver) and then zeroed. When the physical memory utilization falls below a critical threshold this method frees some of the explicitly set aside pages.