Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Integration method for large memory pages based on bitmap alteration of memory pages

A memory page and page bitmap technology, which is applied in the field of operating system memory management, can solve problems such as waste of memory resources and increase the internal fragmentation of memory pages, and achieve the effects of avoiding waste of memory, speeding up memory access speed, and improving memory access efficiency

Active Publication Date: 2015-11-25
ZHEJIANG UNIV
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] However, if the size of all memory pages is set to 2MB, the internal fragmentation of the memory pages will be greatly increased. Although the memory can be used more efficiently, it will also cause a great waste of memory resources.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Integration method for large memory pages based on bitmap alteration of memory pages

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] The present invention will be described in detail below with reference to the drawings and specific embodiments.

[0058] Such as figure 1 As shown, the large memory page integration method based on the change of the memory page bitmap in this embodiment performs the following operations:

[0059] Obtain the page fault frequency of the system memory regularly according to the preset cycle, and determine whether to integrate:

[0060] If the page fault frequency is greater than the first threshold (in this embodiment, the first threshold is 6000 times / second), it means that the allocation of memory pages in the current system is unreasonable, and large page memory integration is required, and the memory integration is performed through the following steps For memory consolidation (i.e. splitting or merging):

[0061] S1: Obtain the access information of each memory page in the system. The access information of each memory page includes the frequency that the memory pag...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an integration method for large memory pages based on bitmap alteration of memory pages. The method comprises following steps: acquiring page fault frequency of a system memory according to the preset period when page fault frequency is larger than a first threshold value; obtaining access information of all memory pages in the period and calculating access heat rate of all the memory pages based on access information of all the memory pages; and renewing a bitmap of a system according to access heat rate of all the memory pages, calculating the digit number of difference before and after renewal of the bitmap, and splitting large pages or merging small pages to the system memory when the digit number of difference is larger than a second threshold value according to a renewed bitmap.The integration method for large memory pages based on bitmap alteration of memory pages has following beneficial effects: based on access heat rate of all the memory pages in the system memory, splitting of large pages or merging of small pages are carried out in order to match an allocation scheme with a practical situation of the system memory; flexibility in use and access speed of the system memory are improved; and final integration operation is performed or not based on threshold values for page fault frequency and the digit number of the bitmap so that bumping effect possibly caused by fluctuation of load is reduced.

Description

technical field [0001] The invention relates to the technical field of operating system memory management, in particular to a large memory page integration method based on memory page bitmap changes. Background technique [0002] With the continuous development of computer hardware technology, the memory configured on personal computers and servers is getting larger and larger. At present, the commonly configured memory can reach several gigabytes, and some services can reach hundreds of gigabytes or even terabytes of memory. [0003] In order to improve the flexibility and efficiency of memory usage, modern operating systems often use a memory paging mechanism, which divides all the physical memory of the system into several fixed-size memory pages. When an application needs to use memory, it applies to the operating system, and the operating system allocates several physical memory pages according to the request, and maps these physical pages to the virtual address space o...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F12/02
Inventor 王备杨策陈建海程雨夏何钦铭吴双
Owner ZHEJIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products