Master selection method based on multiple computing devices

A computing device and multi-computing technology, applied in the computer field, can solve problems such as waste of power consumption, long distance of computing devices, large delay, etc., and achieve the effect of improving information interaction efficiency, wide use value, and minimum delay

Active Publication Date: 2022-05-27
沐曦科技北京有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are at least the following disadvantages in the existing technology: (1) The existing technology usually selects the master at random, which may cause some computing devices to be far away from the master, resulting in a large delay, which affects the efficiency of power allocation. Considering the delay of each computing device, however, since the number of computing devices may change, the original master can no longer guarantee a reasonable delay after the number of computing devices changes, which in turn will affect the power consumption between multiple computing devices distribute
(2) In the prior art, in the process of allocating power consumption for multiple computing devices, the static allocation is usually only based on the TDP value of the computing devices, without fully considering the real-time working status of each computing device, thus resulting in waste of power consumption , low power utilization

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
  • Master selection method based on multiple computing devices
  • Master selection method based on multiple computing devices
  • Master selection method based on multiple computing devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0015] Embodiment 1 provides a master selection method based on multiple computing devices, such as figure 1 shown, including:

[0016] Step S1, when the server is powered on, obtain the computing device topology information {G 1 , G 2 ,…G N }, if G 1 , G 2 ,…G N Connect sequentially to form a linear topology structure, then execute step S2;

[0017] Among them, when the server is powered on, that is, when the server is started, when the computing devices inside the server need to increase, decrease or adjust the topology, the server needs to be shut down, and the number of computing devices needs to be adjusted and then powered on again. The method described in the embodiment can also adaptively determine the optimal master based on the current latest number of computing devices and the topology structure of computing devices. The server is specifically a single server, or a cluster composed of multiple servers. The CPU in the server can be connected to one computing d...

Embodiment 2

[0051] Embodiment 2 provides a method for allocating power consumption based on multiple computing devices, such as figure 2 shown, including:

[0052] Step C1. When the server is powered on, all G i Send static power consumption parameters to the master, the master is each G i Set the initial allocation power consumption, the master is one of the multiple computing devices corresponding to the server, G i is the i-th computing device in the server, the value of i ranges from 1 to N, and N is the total number of computing devices in the server;

[0053] where the initial allocated power can be based on G i The static power consumption parameters of the server and the total power consumption of the server can be directly allocated, or the default value can be set directly. Since the master can be quickly determined after power-on, the process of dynamically allocating power consumption will soon enter. Therefore, set a reasonable initial value. Allocate the power consumpti...

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 relates to a master selection method based on multiple computing devices, which comprises the following steps: S1, when a server is powered on, acquiring topological structure information {G1, G2,... GN} of the computing devices, if G1, G2,... GN are sequentially connected to form a linear topological structure, executing the step S2, generating a request data packet Ri by each Gi, the Ri comprising id of the Gi, and sequentially transmitting the Ri to G1 from Gi-1 along a first direction of the linear topological structure by the Gi, the Gi sequentially transmits the Ri to the GN from the Gi + 1 along the second direction of the linear topological structure; after the Gj receives the Ri, a reply data packet Qij is generated, the Qij comprises the id of the Gj and a target parameter of the Gj, and the Gj transmits the Qij to the Gi along a linear structure; and S3, obtaining the number Mi1 of the Qij received by the Ri sent along the first direction of the linear topological structure and the number Mi2 of the Qij received by the Ri sent along the second direction of the linear topological structure, and if Mi1 = Mi2, or Mi1 + 1 = Mi2, determining the Gi as master. According to the invention, the information interaction efficiency among a plurality of computing devices is improved.

Description

technical field [0001] The invention relates to the technical field of computers, and in particular to a method for selecting a master based on multiple computing devices. Background technique [0002] AI computing devices such as GPUs, FPGAs, DSPs, and AI accelerators in servers need to maintain power consumption near Thermal Design Power (TDP) during normal operation. Existing servers or server clusters usually include For multiple computing devices, how to reasonably allocate power consumption to the multiple computing devices is very important during the operation of the multiple computing devices. In the prior art, a master (main computing device) is usually selected among multiple computing devices, and power consumption is allocated to the multiple computing devices through the master. However, there are at least the following shortcomings in the prior art: (1) The prior art usually randomly selects the master, which may lead to a long distance between some computing...

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): G06F1/3203G06F1/3234
CPCG06F1/3203G06F1/3234Y02D10/00
Inventor 不公告发明人
Owner 沐曦科技北京有限公司
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