Load balancing method and device

A load balancing and process technology, applied in the field of communication, can solve problems such as NUMA system performance degradation, achieve the effect of avoiding frequent access to remote memory and improving system performance
CN104035823BActive Publication Date: 2018-06-26XFUSION DIGITAL TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
XFUSION DIGITAL TECH CO LTD
Publication Date
2018-06-26

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

An embodiment of the invention provides a load balancing method and device. The method includes: a source CPU judges whether the corresponding remote internal memory dependence of a first process is larger than local internal memory dependence or not; if so, a second internal memory is judged to be a non-exclusive internal memory or an exclusive internal memory larger than a preset threshold, and the source CPU jointly moves the first progress and a first internal memory to a target CPU so as to allow the target CPU to execute the first progress according to the first internal memory and the second internal memory, wherein the preset threshold is a value set by the source CPU according to the remote internal memory dependence. The method has the advantages that when remote internal memory visiting frequency is larger than local internal memory visiting frequency during progress execution by the CPU, the progress and the local internal memory are jointly moved to the CPU where the remote internal memory is, the CPU is prevented from frequently visiting the remote internal memory, and NUMA system performance is increased.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] Embodiments of the present invention relate to communication technologies, and in particular to a load balancing method and device. Background technique

[0002] The Non Uniform Memory Access Architecture (NUMA for short) system includes multiple central processing units (Central Processing Units, CPU for short), each CPU can execute multiple processes, and multiple CPUs are executing multiple processes. Some CPUs may have more execution processes and some CPUs may have fewer execution processes. The prior art adopts the scheduling domain load balancing technology to solve the situation that the execution processes of multiple CPUs are not balanced.

[0003] The scheduling domain load balancing technology processes the scheduling domain. The structure of the scheduling domain is as follows: figure 1 As shown, it is divided into four levels from top to bottom: NUMA domain, physical domain, Core domain, and CPU, and each upper-level domain contains seve...

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