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

Method and apparatus for offloading out of memory processing process to user space

A user space and processing flow technology, applied in the field of unloading the memory exhaustion processing flow to the user space field, can solve the problems of time-consuming OOM processing, complex OOM processing logic, difficult business upgrade and deployment, etc., to achieve easy adjustment, reduce The effect of complexity

Active Publication Date: 2016-10-12
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF2 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These policy changes will make the OOM processing logic more complicated, and the OOM processing process will become more time-consuming, and implementing these policies in the kernel will also bring certain difficulties to business upgrades and deployments.

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 offloading out of memory processing process to user space
  • Method and apparatus for offloading out of memory processing process to user space
  • Method and apparatus for offloading out of memory processing process to user space

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0028] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0029] figure 1 An exemplary system architecture 100 of an embodiment of the method for offloading a memory exhaustion process flow to a user space or an apparatus for offloading a memory exhaustion process process to a user space of the present application is shown.

[003...

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 present invention discloses a method and an apparatus for offloading an out of memory processing process to a user space. A specific implementation manner of the method includes the steps that when a process triggers an out of memory event, related information of the out of memory event is written into a memory page shared by the user space and a kernel space; an out of memory service process of the user space acquires the related information of the out of memory event through the memory page; and the out of memory service process of the user space processes the out of memory event by using the related information of the out of memory event. Through adoption of the method, out of memory processing is offloaded from a kernel state to a user state to be executed, the whole out of memory processing process is completed by one user state process, so that execution complexity of the out of memory processing is lowered, an out of memory processing policy is easy to adjust, and the service is easy to upgrade and replace.

Description

technical field [0001] The present application relates to the technical field of computers, in particular to the technical field of computer operating systems, and in particular to a method and device for offloading a memory exhaustion processing flow to a user space. Background technique [0002] When the computer is under heavy pressure and high load, in order to improve the resource utilization of the machine, the physical memory of the machine will often be exhausted, and OOM (out of memory, memory exhaustion) processing will be frequently triggered. The kernel's OOM processing becomes the last barrier to reduce system memory pressure. The execution of OOM processing in the standard kernel also becomes complicated due to changes in usage scenarios. The execution process in the kernel mode under heavy pressure and load is also too lengthy, and processing in the kernel mode of the operating system for a long time may cause system deadlock and cause system failure. Downtim...

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): G06F9/50G06F9/445
CPCG06F9/44594G06F9/5016G06F9/5022G06F9/485G06F9/545G06F3/0613G06F3/0647G06F3/0659G06F3/0683G06F9/542
Inventor 袁林思王柏生孙栋李志勇
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
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