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

Method and device for allocating memory

A technology for allocating memory and memory, applied in the storage field, can solve problems such as reducing the flexibility of memory resource allocation, and achieve the effect of saving disk storage space and improving flexibility

Active Publication Date: 2021-08-31
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the memory of the process in the running carrier of the running function is specified by the user, it is necessary to create various image files based on the various memory sizes occupied by the process, which greatly reduces the flexibility of memory resource allocation. For example, if the new To increase a memory size, a new image file needs to be created

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 allocating memory
  • Method and device for allocating memory
  • Method and device for allocating memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The technical solution in this application will be described below with reference to the accompanying drawings.

[0040] The embodiments of the present application may be implemented based on virtualization technology. Virtualization technology is a resource management technology that abstracts and converts various physical resources of computers, such as servers, networks, memory and storage, etc. Use these resources in a better way than the original configuration.

[0041] Among them, virtualization technologies include virtual machines and containers. In the following, a brief introduction will be given to these two scenarios respectively.

[0042] virtual machine

[0043] A virtual machine refers to a complete computer system that is simulated by software and has complete hardware system functions and runs in a completely isolated environment. It is a logical computer. That is to say, the virtual machine has its own imaginary hardware, such as processors, stacks...

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

This application provides a method for allocating memory. The method includes: generating an image file describing an operating carrier used to carry a virtual machine or a container; deploying a memory balloon used by the operating carrier in the operating carrier based on the image file; The size of the memory required to run the function, and thus, allocate memory for the function to run based on the memory balloon. In this way, memory balloons are used to allocate memory on demand according to the memory size required for function operation, effectively improving the flexibility of memory resource allocation.

Description

technical field [0001] The present application relates to the field of storage, and more specifically, to a method and device for allocating memory in the field of storage. Background technique [0002] At present, serverless computing technology is the realization of a new generation of cloud services and development architecture. Functions as a service (functions as a service, FaaS) is a business type of serverless computing technology. Among them, function service (function stage ) is the core technology of serverless computing technology, which supports online editing and running of functions in multiple languages, allowing multiple functions to run in the same host. [0003] In serverless computing technology, less memory resources occupied and fast function startup are two key indicators. In order to improve the above performance of the function service technology, a technology is currently provided. In this technology, the relevant data used to describe the running ...

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/50
CPCG06F9/5016G06F9/5077
Inventor 李朋王愷婷鲁广顺杨宝库
Owner HUAWEI CLOUD COMPUTING 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