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

resource deployment method and system for a Linux container

A resource and container technology, applied in the computer field, can solve problems such as a lot of memory remaining, running out of CPU, waste of resources, etc., to achieve the effect of avoiding waste of resources, small amount of calculation, and easy screening

Active Publication Date: 2019-04-05
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF10 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the resources in the cluster are usually multi-dimensional, such as CPU, memory, network bandwidth, GPU, block I / O bandwidth, storage, etc. If the balanced use of multi-dimensional resources is not guaranteed during resource deployment, it is easy to cause cluster failure. Resource fragmentation occurs in
Assuming that only the three-dimensional resources in the cluster, CPU, memory and storage are considered, based on the existing strategy, the CPU may run out and the memory still has a lot of memory, which will cause a waste of resources

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
  • resource deployment method and system for a Linux container
  • resource deployment method and system for a Linux container
  • resource deployment method and system for a Linux container

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] Since resource deployment for Linux containers needs to be considered from a large number of physical hosts to select deployment strategies for multiple containers, and the resource category that each physical host needs to consider is also multi-dimensional, by traversing each physical host and each Containers match the resources of each dimension of each container, and the amount of calculation and time-consuming are often difficult to meet the requirements of building a system. Therefore, the prior art generally adopts a greedy algorithm when performing resource deployment for Linux containers, that is, only performs a search with a limited amount of computation, and determines an optimal resource deployment solution within the search range.

[0042]The inventor found through research that based on the traditional resource deployment scheme using the greedy algorithm, there are many fragmented resources that cannot be used when the host resources are close to saturati...

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 provides a resource deployment method and system for a Linux container. The method comprises the steps that (1) for each physical host, the matching degree of the physical host and the container in each dimension of resource is calculated according to the requirement condition of the container to be built for N-dimensional resources and the condition that the physical host can provide the N-dimensional resources, and N is larger than 1; And 2) in the N-dimensional space, based on the feasible domain range determined by the set feasible domain boundary value m, one or more physical hosts of which the matching degrees is or are screened with the container on the resources of each dimension are in the feasible domain range, and m is greater than 0. According to the invention, resource fragments can be effectively reduced, the resource utilization rate of the host under the condition of close full load is improved, and resource waste is avoided. And moreover, compared with the traditional greedy strategy deployment, the resource balance degree of the method is improved by about 100% through testing.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a resource deployment solution for Linux containers. Background technique [0002] As an important technology to realize the functions of the linux kernel, Linux container technology (LXC) has a development history of more than ten years. This technology isolates different processes from each other by building toolkits, and such isolation does not require hardware virtualization. reference here figure 1 Explain the principle of Linux container technology. As shown in the figure, the resources of the host machine (that is, the physical machine entity) are divided into different regions through the container as an isolation mechanism. Multiple containers share the same Linux kernel. Each container Accommodating one application makes the execution of programs for different applications independent of each other. It can be considered that the container is a layer of soft...

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
IPC IPC(8): G06F9/50
CPCG06F9/505
Inventor 王煜炜刘畅刘敏
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI
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