Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Process migration method, computing device and storage medium

A technology for computing equipment and processes, applied in computing, program control design, multi-programming devices, etc., can solve the problems of short execution cycle process, short running time, increasing the number of memory pages migrated by the NUMA automatic balancing mechanism, and process cache invalidation.

Active Publication Date: 2021-10-26
UNIONTECH SOFTWARE TECH CO LTD
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the existing technology, the load of each process is calculated by the method of time decay, and the running time of the short execution cycle process is very short, and the CPU is reselected according to the load when waking up, which will cause frequent migration of processes between CPUs.
Frequent migration of processes will increase the load of the system, invalidate the cache of the process, increase the probability of accessing memory across NUMA nodes, increase the number of memory pages migrated by the NUMA automatic balancing mechanism, and reduce system 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
  • Process migration method, computing device and storage medium
  • Process migration method, computing device and storage medium
  • Process migration method, computing device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art. Like reference numbers generally refer to like parts or elements.

[0025] figure 1 A schematic diagram showing a processor deployed in a computing device according to an exemplary embodiment of the present invention. Such as figure 1 As shown, processors 110 - 130 are deployed in computing device 100 . figure 1 The manner and quantity of processors deployed in the computing device 100 shown in FIG. The multiple processors 110 - 130 in the co...

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 process migration method, a computing device and a storage medium, and the process migration method comprises the following steps of calculating the predicted running time of each process in a processor according to the running information of the processes; according to the predicted running time of the processes, determining the process with the predicted running time smaller than a running time threshold value as a short running process; acquiring the running information of the processor, and determining whether the short running process is used as a to-be-migrated process according to the running information of the processor; if the short running process is the to-be-migrated process, determining a target processor for migrating the to-be-migrated process according to the running information of other processors; and migrating the to-be-migrated process to the target processor for operation. According to the present invention, the migration of all the short running processes can be avoided, the migration frequency of the short running processes is reduced, the problem of invalidation of cache and memory affinity caused by migration is reduced, and it is guaranteed that when the short running processes are migrated, the system performance can be improved, and the use efficiency of the processor is improved.

Description

technical field [0001] The invention relates to the field of processors, in particular to a process migration method, computing equipment and storage media. Background technique [0002] With the development of computer technology, in order to further improve the working efficiency of the processor in the computer equipment and the processing speed of the computer to the task, a multi-core load balancing mechanism will be adopted in the process of executing many tasks. The multi-core load balancing mechanism refers to migrating processes between processors. Specifically, a scheduling algorithm (such as the PELT algorithm) is periodically used to calculate the load of each process in the processor scheduling queue to obtain the processor load. The load of a processor is the sum of the loads of all processes in the scheduling queue of the processor. When the kernel finds that the load distribution on each processor is significantly different, it will migrate the process from ...

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/48
CPCG06F9/4875
Inventor 王晓华孟杰卢彦
Owner UNIONTECH SOFTWARE 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
Eureka Blog
Learn More
PatSnap group products