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

A method and device for reducing CPU resource consumption by using huge page mapping

A technology of CPU resource and page mapping, applied in the field of using huge page mapping to reduce CPU resource consumption, can solve problems such as CPU resource consumption, and achieve the effects of improving system performance, strong scalability, and simple and convenient application

Active Publication Date: 2015-08-12
ZTE CORP
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a method and device for reducing CPU resource consumption by using huge page mapping, to solve the problem in the prior art that CPU resources are consumed in large quantities due to TLB MISS exceptions.

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
  • A method and device for reducing CPU resource consumption by using huge page mapping
  • A method and device for reducing CPU resource consumption by using huge page mapping
  • A method and device for reducing CPU resource consumption by using huge page mapping

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0041] In order to conveniently reduce the TLB processing time in the LINUX operating system without affecting the powerful functions provided by the operating system, the present invention provides a method and device for reducing CPU resource consumption by utilizing huge page mapping.

[0042] Such as figure 1 As shown, a method for utilizing huge page mapping to reduce CPU resource consumption provided by the present invention specifically includes:

[00...

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

Disclosed are a method and apparatus for reducing CPU resource consumption using giant page mapping, the method comprising: generating a giant page mapping table recording a mapping relationship from a virtual address to a physical address for each system process (S101); when a system process accesses some virtual address, if a page miss procedure occurs, searching in the giant page mapping table, and after obtaining the mapping relationship from the virtual address to the physical address, loading the mapping relationship into a translation lookaside buffer (TLB) entry (S102). Giant page mapping some segment of memory greatly reduces the requirement for the number of TLBs, making the TLB self-carried in a memory management unit of a common CPU capable of mapping very large memory space and making a service processing process generate no TLB MISS abnormality after achieving a stable state in a short time during the operation, thus greatly improving performance, and thus can not only use the powerful functions provided by an operating system, but also improve system performance so that it is capable of processing large traffic communication.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for reducing CPU resource consumption by using huge page mapping. Background technique [0002] Currently, the Linux operating system is widely used in embedded fields, such as data communication, medical equipment, industrial control and other fields. With the continuous growth of demand, more and more powerful processors are used in these fields, and multi-core processors are more and more widely used, playing more and more roles in various industries. [0003] However, in some application fields that require high performance, such as data communication, media processing, etc., there are extremely high requirements for performance; while Linux provides powerful memory management functions, it also brings an unavoidable disadvantage:( Segment) The performance degradation caused by TLB (Translation Lookaside Buffer) switching caused by page memory managemen...

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/10G06F12/1009G06F12/1027
CPCG06F2212/652G06F12/1027G06F12/1009
Inventor 刘强
Owner ZTE 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