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

Method and device for offloading memory exhaustion process to user space

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

Active Publication Date: 2018-06-01
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF2 Cites 0 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 device for offloading memory exhaustion process to user space
  • Method and device for offloading memory exhaustion process to user space
  • Method and device for offloading memory exhaustion process to user space

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the related invention, but not to limit the invention. In addition, it should 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 the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict. The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the 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 ...

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 application discloses a method and a device for offloading a memory exhaustion processing flow to user space. A specific implementation of the method includes: when a process triggers a memory exhaustion event, writing the relevant information of the memory exhaustion event into a memory page shared by the user space and the kernel space; the memory exhaustion service of the user space The process obtains the relevant information of the memory exhaustion event through the memory page; the memory exhaustion service process of the user space uses the relevant information of the memory exhaustion event to process the memory exhaustion event. This implementation method realizes offloading the memory exhaustion processing in the kernel state to the user state for execution, and handing over the entire memory exhaustion processing process to a user state process to complete, reducing the complexity of memory exhaustion processing execution and making it easy to run out of memory Adjustment of processing strategies and upgrade and replacement of business.

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 Patents(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