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

Method and apparatus for automatically using huge pages

A page and automatic technology, applied in the direction of memory address/allocation/relocation, instrumentation, calculation, etc., can solve problems such as unreasonable reading

Inactive Publication Date: 2017-03-29
INT BUSINESS MASCH CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

For 4KB pages, copy-on-write and / or read-on-demand are reasonable; however, for 1GB pages, copy-on-write and / or read-on-demand are not reasonable

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
  • Method and apparatus for automatically using huge pages
  • Method and apparatus for automatically using huge pages
  • Method and apparatus for automatically using huge pages

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] The illustrative embodiments provide mechanisms for automatically using huge pages. In an illustrative embodiment, the operating system loader performs aggressive contiguous allocation, and then pages and / or prefetches small pages on demand into as contiguous as possible and naturally aligned physical address ranges sized for large pages. The operating system detects when huge pages fill up and switches mappings to use huge pages.

[0016] In one illustrative embodiment, the operating system may start with huge pages and only validate paged-in small pages. The operating system can exclude small pages by masking the page protection bits to show that the excluded pages are invalid. If the operating system is running with a low amount of memory, the operating system can free up parts and degrade gracefully. In one illustrative embodiment, the operating system may break up huge pages and switch to small page mappings in response to copy-on-write conditions and / or read-on-...

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

Provides a mechanism for automatically using huge pages. The OS loader performs aggressive contiguous allocation and then pages out small pages on demand into as contiguous and naturally aligned physical address ranges as possible of the size set for large pages. The operating system detects when huge pages are full and switches mappings to use huge pages. If the operating system is running with a low amount of memory, the operating system can free up parts and degrade gracefully.

Description

technical field [0001] The present application relates generally to an improved data processing apparatus and method, and more particularly to mechanisms for automatic use of huge pages. Background technique [0002] A page, memory page, or virtual page is a fixed-length contiguous block of virtual memory that is the minimum size used for memory allocation by the operating system for program execution and transfer between main memory and any other secondary storage device, such as a hard drive. data unit. Virtual memory allows pages that are not currently resident in main memory to be addressed and used. If a program attempts to access a location in such a page, an exception known as a page fault is generated. The hardware or operating system is notified and automatically loads the required pages from secondary storage. The memory addressed to the memory is unaware of the page fault or the process behind it. Thus, a program may address more (virtual) RAM that is physical...

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 Patents(China)
IPC IPC(8): G06F12/02
CPCG06F12/023
Inventor A·格赫斯E·范赫恩斯伯根J·赞尼迪斯
Owner INT BUSINESS MASCH CORP
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