Docker dynamic scheduling algorithm for typical containers

A dynamic scheduling algorithm and dynamic scheduling technology, applied in the field of computer applications, can solve the problems of difficult resource allocation of container instances with changes in service intensity, difficulty in determining the type of heavy resources and corresponding parameter values, and low resource utilization, etc. Improve system resource utilization, reduce container resource competition, and maximize resource utilization

Active Publication Date: 2018-11-27
NANJING SUPERSTACK INFORMATION TECH CO LTD
View PDF10 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing Docker resource management mechanism is relatively simple, providing users with two methods: default resource configuration and manual configuration of container instance resources through parameters.
However, there is no distinction between application container instance types, and the resource allocation for each container instance is relatively average
When real-time application containers and batch-processing application containers are running on the physical machine at the same time, it is difficult to quickly and dynamically adjust the resource configuration of the container instance according to the change of the service intensity of the real-time application container, so the service performance of the real-time application container cannot be guaranteed
[0003] Currently, Docker's existing resource management strategy does not perform resource limit checks based on the overall resource usage on the current physical machine, and does not limit the increase of container instances.
When multiple application containers with the same or similar resource types are running at the same time, the resource type used by the container is relatively single, which may easily lead to low utilization of other system resources; at the same time, due to resource competition, the resource requirements of the application container cannot be met, resulting in the container running poor performance
In addition, when the total memory resources used by the running container instances reach the system memory limit, the system may kill the normally running container due to insufficient current memory.
[0004] When a container instance is created and running, Docker provides users with a way to set the CPU share and disk I / O weight. However, if the user does not know the resource usage characteristics of the test application during use, it is difficult to determine the weight of resources. The type and the size of the corresponding parameter value

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
  • Docker dynamic scheduling algorithm for typical containers
  • Docker dynamic scheduling algorithm for typical containers
  • Docker dynamic scheduling algorithm for typical containers

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] Attached below Figure 1-4 And examples, the specific implementation mode of the present invention is described further. The following examples are only used to illustrate the technical solution of the present invention more clearly, but not to limit the protection scope of the present invention.

[0042] The technical scheme of concrete implementation of the present invention is:

[0043] For ease of understanding, the terms involved in the present invention are explained as follows:

[0044] Container: It is a resource-isolated operating environment provided for applications, and can package the complete components of running applications into images for easy reuse.

[0045] Docker: It is a tool for deploying, executing, and managing containers. Using the standard images provided by the official Docker hub can quickly build containers and achieve second-level startup. At the same time, it is more portable and low-cost in version preservation.

[0046] Memcached: It...

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 Docker dynamic scheduling algorithm for a typical container, includes the following steps: S1: Typical application container scenarios include CPU intensive/batch, Memory-intensive/batch, I/O-intensive/batch and CPU-intensive/real-time, which respectively select the corresponding application containers and analyze the resource usage and performance of each application container when it runs separately and concurrently in the Docker environment; S2: The scheduling algorithm comprises a container static scheduling mode and a container dynamic scheduling mode based on runtime monitoring; Container static scheduling mode and container dynamic scheduling mode are adopted according to user's demand. The invention has the beneficial effect that the dynamic scheduling algorithm can improve the utilization rate of the system resources without affecting the running performance of the application container.

Description

technical field [0001] The invention relates to the technical field of computer applications, in particular to a Docker dynamic scheduling algorithm for typical containers. Background technique [0002] Container technology is a lightweight alternative to virtual machines. While ensuring resource isolation between containers, its processing power, memory, and network throughput are close to the original performance of physical machines. As an application engine for containers, Docker can efficiently deploy, execute and manage containers. However, the existing Docker resource management mechanism is relatively simple, providing users with two methods: default resource configuration and manual configuration of container instance resources through parameters. However, there is no distinction between application container instance types, and the resource allocation for each type of container instance is relatively average. When real-time application containers and batch-proces...

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/505
Inventor 曹强姚杰刘逸麟
Owner NANJING SUPERSTACK INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products