Unlock instant, AI-driven research and patent intelligence for your innovation.

Memory allocation method and system and storage medium

A memory allocation and memory technology, applied in the field of storage space management, can solve problems that affect the normal operation of containers and container Pods are unavailable, and achieve the effects of improving stability, reducing interference, and realizing dynamic management

Pending Publication Date: 2021-05-14
LENOVO (BEIJING) LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] On the Kubernetes platform, when the memory capacity requested or occupied by the container in the Pod of any node exceeds the upper limit of the memory capacity that the Pod can use, the Linux Kernel at the bottom of the Kubernetes platform will kill the container and the process corresponding to the Pod, thereby Causes the container and Pod to be unavailable
The processing method of the Kubernetes platform can effectively limit the excessive use of the container's memory capacity, but it also seriously affects the normal operation of the container.

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
  • Memory allocation method and system and storage medium
  • Memory allocation method and system and storage medium
  • Memory allocation method and system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0048] It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0049] The present application relates to the technical field of storage space management, and in particular to a memory allocation method, a memory allocation system, and a computer-readable storage medium.

[0050] In order to ensure the stable operation of the Kubernetes cluster, the Kubernetes cluster needs to obtain and integrate the resource usage of the Kubernetes cluster in real time. Among them, the resource usage includes the memory usage of the Pod of any node, and the memory usage of the Pod is the same as that deployed in the Pod. The number of containers and the running status are ...

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 a memory allocation method and system and a computer readable storage medium. The method comprises the steps: detecting the memory occupation amount of a container, wherein the memory occupation amount of the container is the memory capacity occupied by the container in the first node, and the first node is any one node in a Kubernetes cluster, and the second node is any one node in the Kubernetes cluster; and under the condition that the memory occupation amount of the container is greater than or equal to the early-warning memory usage amount, dynamically allocating memory capacity for the container to maintain the running state of the container.

Description

technical field [0001] The present application relates to the technical field of storage space management, and in particular to a memory allocation method, a memory allocation system, and a computer-readable storage medium. Background technique [0002] On the Kubernetes platform, when the memory capacity requested or occupied by the container in the Pod of any node exceeds the upper limit of the memory capacity that the Pod can use, the Linux Kernel at the bottom of the Kubernetes platform will kill the container and the process corresponding to the Pod, thereby Resulting in the container and Pod being unavailable. The processing method of the Kubernetes platform can effectively limit the excessive use of the container's memory capacity, but it also seriously affects the normal operation of the container. Contents of the invention [0003] Embodiments of the present application provide a memory allocation method, a memory allocation system, and a computer-readable storag...

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/50
CPCG06F9/5016G06F9/5022G06F2209/5018
Inventor 郭庆萍张勇涛
Owner LENOVO (BEIJING) LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More