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

Docker dynamic scheduling method for typical containers

A dynamic scheduling and static scheduling technology, which is applied in the direction of instruments, multi-programming devices, program control design, etc., can solve the problem of resource allocation of container instances that are difficult to change in service intensity, difficult to determine the type of resources and the size of corresponding parameter values, Low resource utilization and other issues, to achieve the effect of improving system resource utilization, reducing container resource competition, and maximizing resource utilization

Active Publication Date: 2021-11-09
NANJING SUPERSTACK INFORMATION TECH CO LTD
View PDF10 Cites 0 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 method for typical containers
  • Docker dynamic scheduling method for typical containers
  • Docker dynamic scheduling method 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 typical containers, including the following steps: S1: The scenarios of typical application containers include CPU-intensive / batch-processing, memory-intensive / batch-processing, I / O-intensive / batch Processing type and CPU-intensive / real-time type, which respectively select the corresponding application container, and analyze the resource usage and performance of each application container running independently or in multiple concurrent operations in the Docker environment; S2: Scheduling algorithm includes container static scheduling mode And the container dynamic scheduling method based on runtime monitoring; according to the user's needs, the container static scheduling method and the container dynamic scheduling method are adopted according to the situation. The beneficial effect of the present invention is that the dynamic scheduling algorithm can improve the utilization rate of system resources while not 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 Patents(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products