Dynamic partitioning method, system, equipment and medium

A dynamic partitioning and partitioning technology, applied in the computer field, can solve the problems of processor starvation, low efficiency, and reduced processor performance, and achieve the effects of alleviating task migration, improving performance, and alleviating starvation competition.

Pending Publication Date: 2022-03-11
ALIBABA (CHINA) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, after the deployment density of this shared processor reaches a certain level, processor starvation occurs, such as cache and TLB competition leading to additional processor overhead.
In addition, partitioning the processors of the whole machine according to NUMA nodes, and performing dynamic partitioning work based on task migration on a single node, due to the high affinity, the efficiency is very low when tasks need to be migrated between partitions, which will cause processor reduced performance

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
  • Dynamic partitioning method, system, equipment and medium
  • Dynamic partitioning method, system, equipment and medium
  • Dynamic partitioning method, system, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In an embedded operating system with multiple processors, in order to improve the overall performance of the system, a shared processor is used to complete specified tasks. Although in the processor sharing solution, the performance of the overall processor has been significantly improved, but in some cases (for example, the load level of the whole machine breaks through the safety warning line), the performance of the processor will still be reduced (for example, a cache TLB contention causes processor overhead). Although in the prior art NUMABalancer, NUMA Affine and other solutions, partitions are made according to NUMA nodes, and all control groups (Cgroups) are bound to these partitions by dynamic binding or static binding, thereby improving the affinity of NUMA nodes. and sex. However, when there is a need for task adjustment, it is not very friendly to adjust tasks across affinity domains, or does not support cross-affinity domains, resulting in a higher cost or...

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 embodiment of the invention provides a dynamic partitioning method, system and device and a medium. The method comprises the following steps: acquiring a first partition level of a first partition; wherein the system processing resource has a hierarchical structure, the hierarchical structure comprises layers corresponding to different partition levels, and the first partition is located in a first layer in the hierarchical structure; determining working parameters of a plurality of control groups contained in the first partition; determining a second partition level according to the working parameters of the plurality of control groups; and when the second partition level is not matched with the partition level, adjusting the plurality of control groups into the partitions contained in the layer corresponding to the second partition level. When dynamic partitioning needs to be carried out, adjustment can be carried out among layers corresponding to different partition levels of the same partition branch according to the processor pressure of the partition level corresponding to the first partition. And when the cross-affinity domain adjustment demand is carried out, the control group is taken as a division unit to carry out overall migration between different partitions of the layer where the same partition level is located, so that the performance of the overall processor can be effectively improved.

Description

technical field [0001] The present application relates to the field of computers, in particular to a dynamic partition method, system, equipment and media. Background technique [0002] With the development of embedded operating system technology, the demand for the processing capability of the operating system is also gradually increasing. For example, multi-processors (CPU) will be used to achieve a corresponding improvement in processing performance. [0003] In order to improve the processor utilization rate of the whole machine, a control group (control group, Cgroup) is configured to share the processor, and the deployment density is increased to fill the processor fragments. However, after the deployment density of this shared processor reaches a certain level, processor starvation occurs, such as cache and TLB competition leading to additional processor overhead. In addition, partitioning the processors of the whole machine according to NUMA nodes, and performing dy...

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/5088G06F9/5027
Inventor 王贇赵鑫鹏王鹏
Owner ALIBABA (CHINA) 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