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
CN109324893BActive Publication Date: 2021-08-31HUAWEI CLOUD COMPUTING TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUAWEI CLOUD COMPUTING TECH CO LTD
Publication Date
2021-08-31

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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