Information processing apparatus, information processing system, GPU counting method, control method, and program
By calculating the minimum number of GPUs needed for a learning process and dynamically managing their power states, the system enhances power efficiency and reduces unnecessary consumption in distributed deep learning systems.
Patent Information
- Application Number
- JP2023043138
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-17
- Publication Date
- 2024-10-01
AI Technical Summary
In distributed deep learning systems, the power efficiency of GPUs decreases as the number of GPUs increases, and idle GPUs consume unnecessary power, leading to inefficiencies.
An information processing device and system that calculates the minimum number of GPUs required for a learning process by extracting a portion of the data, measuring execution times, and dynamically turning on/off GPU power based on the calculated need.
Improves power efficiency and reduces total power consumption by optimizing GPU usage, ensuring the process is completed within a predetermined time.
Smart Images

Figure 2024132396000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, an information processing system, a GPU number calculation method, a control method, and a program. [Background technology]
[0002] In distributed deep learning learning processes, performance (throughput) does not scale with the number of GPUs (Graphics Processing Units). As the number of GPUs increases, the performance per GPU decreases, so the more GPUs you use, the worse the power efficiency becomes. Therefore, the power efficiency of a single GPU becomes higher the fewer GPUs you use for learning. Also, GPUs consume power even when idle, so unused GPUs waste power.
[0003] Patent Document 1 discloses a technology for reducing power consumption by lowering the operating frequency of a processor in a waiting state, addressing the issue of increased power consumption when multiple processors are operating in a multiprocessor system. The technology in Patent Document 1 targets a CPU (Central Processing Unit), but cannot apply control for reducing power consumption by changing the operating frequency on a processor-by-processor basis to a GPU in a distributed deep learning system.
[0004] Generally, in distributed deep learning, the number of GPUs to be used during learning processing is explicitly specified, and learning is performed using the specified number of GPUs. At this time, GPUs not used for learning are always in an idle state. Also, depending on the learning content, processing can be performed sufficiently fast without using many GPUs, but even in such cases, all unused GPUs will be in an idle state, wasting power. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2008-77640 A Summary of the Invention [Problem to be solved by the invention]
[0006] To improve the power efficiency of GPUs, it is preferable to use only the GPUs used for training and turn off the power of the remaining GPUs. To do this, it is necessary to know the number of GPUs to be used for training.
[0007] Therefore, an object of the present invention is to provide an information processing device, an information processing system, a GPU number calculation method, a control method, and a program that solve the above-mentioned problems. [Means for solving the problem]
[0008] According to one aspect of the present invention, an information processing device includes a means for extracting a portion of all data to be processed, and calculating the minimum number of GPUs that can complete the processing within a predetermined expected execution time based on measured values of execution time for each number of GPUs when processing is executed with different numbers of GPUs using the extracted data as the processing target, and the number of GPUs used for the processing.
[0009] According to one aspect of the present invention, an information processing system includes the above-mentioned information processing device, and a server equipped with multiple GPUs, or one or more servers equipped with one or more GPUs, wherein the information processing device further includes means for instructing to power on the GPUs equivalent to the minimum number of the GPUs and to power off the remaining GPUs, and the server includes means for controlling the powering on and off of the GPUs based on the instruction.
[0010] According to one aspect of the present invention, a GPU number calculation method extracts a portion of all data to be processed, and uses the extracted data as the processing target while changing the number of GPUs to execute processing. Based on the measured execution time for each number of GPUs and the number of GPUs used for the processing, the method calculates the minimum number of GPUs that can complete the processing within a specified expected execution time.
[0011] According to one aspect of the present invention, a control method is a control method for an information processing system including a server equipped with multiple GPUs, or one or more servers equipped with one or more GPUs, and includes the steps of executing the above-mentioned GPU number calculation method, and turning on the power to the GPUs equivalent to the minimum number of GPUs and turning off the power to the other GPUs.
[0012] According to one aspect of the present invention, the program causes a computer to execute a process of extracting a portion of all data to be processed, and calculating the minimum number of GPUs that can complete the processing within a specified expected execution time based on measured values of execution time for each number of GPUs when processing is executed using the extracted data and changing the number of GPUs, and the number of GPUs used for the processing. Effect of the Invention
[0013] According to the present invention, it is possible to know the number of GPUs required to execute a process. [Brief description of the drawings]
[0014] [Figure 1] FIG. 1 illustrates an example of a distributed deep learning system according to an embodiment. [Diagram 2] FIG. 1 is a block diagram of a main part of a distributed deep learning system according to an embodiment. [Diagram 3] 1 is a flowchart illustrating an example of an operation of a distributed deep learning system according to an embodiment. [Figure 4] 11 is a flowchart illustrating an example of a GPU number calculation process according to the embodiment. [Diagram 5] FIG. 1 is a block diagram showing a configuration of an information processing device having a minimum configuration. [Figure 6] 1 is a flowchart of a method for calculating the number of GPUs having a minimum configuration. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] Hereinafter, an analysis device according to each embodiment of the present invention will be described with reference to the drawings. In the drawings used in the following description, the configuration of parts that are not related to the present invention may be omitted or not illustrated.
[0016] <Embodiment> (composition) FIG. 1 is a diagram showing an example of a distributed deep learning system according to an embodiment of the present invention. In general, a distributed deep learning system has a system configuration in which a plurality of GPU servers equipped with a plurality of GPUs are connected by InfiniBand or the like. As shown in FIG. 1, a distributed deep learning system 10 includes servers 1 to 5 and a client terminal 6. The servers 1 to 4 are equipped with GPUs. The servers 1 to 4 are called GPU servers 1 to 4. The GPU servers 1 to 4 are equipped with one or more GPUs. FIG. 1 shows an example of a configuration including four GPU servers, but the number of GPU servers may be one or five or more. In addition, the number of GPUs installed in one GPU server may be one or more. However, in the case of one server, the GPU server is assumed to be equipped with multiple GPUs. As an example, the description will be given on the premise that the GPU servers 1 to 4 are equipped with multiple GPUs. In addition, it is assumed that all the GPUs installed in the GPU servers 1 to 4 are the same model (same performance).
[0017] The GPU servers 1 to 4 are connected to each other through a hub 7 so that they can communicate with each other. The GPU servers 1 to 4 are also connected to a server 5 through the hub 7 so that they can communicate with each other. The server 5 uses the GPU servers 1 to 4 to control the execution of distributed deep learning. The server 5 is called a management server 5. For example, when the GPU servers 1 to 4 each have three GPUs and there is a process that can be learned using three GPUs, the learning may be performed using the three GPUs of one GPU server (for example, GPU server 1), or the learning process may be performed using two GPUs of the GPU server 1 and one GPU of another GPU server (for example, GPU server 2). The management server 5 and the client terminal 6 are connected to each other so that they can communicate with each other. The client terminal 6 is used for user operations. For example, the user operates the client terminal 6 to instruct the management server 5 to execute or stop distributed deep learning.
[0018] Fig. 2 is a block diagram showing the functions of the main parts of the distributed deep learning system 10. Fig. 2 shows an example configuration of the GPU server 1 as a representative of the GPU servers 1 to 4, but the same is true for the GPU servers 2 to 4.
[0019] The management server 5 includes a GPU number calculation unit 51, a control unit 52, and a communication unit 53. The GPU number calculation unit 51 calculates the optimal number (minimum number) of GPUs required for distributed deep learning. The algorithm for this calculation will be described in detail later with reference to FIG. The control unit 52 controls the distributed deep learning process. For example, the control unit 52 causes the GPU number calculation unit 51 to calculate the optimal number of GPUs, and based on the calculation result, instructs the GPU servers 1 to 4 to power on a required number of GPUs and to power off the remaining GPUs. Then, the control unit 52 causes the GPU servers 1 to 4 to execute distributed deep learning. The communication unit 53 performs data communication with other devices such as the GPU server 1. For example, when the control unit 52 instructs the GPU servers 1 to 4 to power on or off the GPUs, or to execute deep learning, the control unit 52 transmits such instruction information to the GPU servers 1 to 4 through the communication unit 53.
[0020] The GPU server 1 includes a GPU power control unit 11, a learning execution unit 12, a communication unit 13, and a GPU 14. The GPU power control unit 11 switches the power of the GPU 14 on and off. The learning execution unit 12 performs distributed deep learning based on instructions from the management server 5. The communication unit 13 performs data communication with other devices such as the management server 5. For example, when receiving an instruction to power on or off the GPU 14 or an instruction to execute deep learning from the management server 5, the GPU server 1 receives these instruction information through the communication unit 13.
[0021] The GPU 14 is a GPU mounted on the GPU server 1. In the block diagram of Fig. 2, it is shown that there is one GPU 14, but this does not mean one GPU, but represents all the GPUs mounted on the GPU server 1. In other words, when the GPU server 1 is mounted with multiple GPUs, the GPU 14 includes multiple GPUs. When the GPU 14 includes multiple GPUs, the GPU power control unit 11 can individually switch the power on and off for each GPU.
[0022] (operation) Next, the operation of the information processing system when the power saving control of the present embodiment is applied will be described with reference to Figures 3 and 4. The distributed deep learning system 10 performs learning processing while improving the power efficiency of the GPU and suppressing the total power consumption of the entire system through the control described below.
[0023] (1) Overall learning process flow FIG. 3 is a flowchart showing an example of the operation of the information processing system according to the embodiment. FIG. 3 shows the overall flow of the learning process of the distributed deep learning system 10 to which the power saving control according to this embodiment is applied. First, data required for the learning process, such as a learning program, a dataset, and an expected learning time, is sent from the client terminal 6 to the management server 5, which then transfers the data to the GPU servers 1 to 4 via the management server 5, and requests the management server to start the learning process (step S101).
[0024] Next, management server 5 instructs GPU servers 1-4 to power on all GPUs (step S102). Control unit 52 transmits power-on instruction information to GPU servers 1-4 via communication unit 53. Each of GPU servers 1-4 receives the instruction from management server 5 and powers on all GPUs mounted therein (step S103). For example, in GPU server 1, GPU power control unit 11 powers on GPU 14.
[0025] Next, the GPU number calculation unit 51 of the management server 5 calculates the number of GPUs to be used for learning using an algorithm for the GPU number calculation process according to this embodiment (step S104). Details of the algorithm for the GPU number calculation method will be described below with reference to FIG.
[0026] Next, the control unit 52 of the management server 5 instructs the GPU servers 1-4 to power off the unused GPUs based on the calculation result of the number of GPUs (step S105). Each of the GPU servers 1-4 receives the power-off instruction from the management server 5 and powers off the unused GPUs mounted on the own device (step S106). For example, in the GPU server 1, the GPU power control unit 11 powers off the unused GPUs among the GPUs 14.
[0027] Next, the control unit 52 of the management server 5 instructs the GPU servers 1 to 4 to execute the learning process (step S107). Each of the GPU servers 1 to 4 receives the instruction to execute the learning process from the management server 5 and executes the learning process (step S108).
[0028] Next, when the execution of the learning process is completed, the control unit 52 of the management server 5 instructs the GPU servers 1 to 4 to power off all GPUs used in the learning process (step S109). Each of the GPU servers 1 to 4 receives the power-off instruction from the management server 5 and powers off all GPUs used in the learning process (step S110). For example, in the GPU server 1, the GPU power control unit 11 powers off the GPUs of the GPUs 14 that were used in the learning process. Finally, the client terminal 6 outputs the learning results (step S111).
[0029] (2) GPU number calculation process flow Next, we will explain the process of calculating the optimal number of GPUs required for learning. FIG. 4 is a flowchart illustrating an example of a GPU number calculation process according to the embodiment. First, the GPU number calculation unit 51 of the management server 5 extracts a portion from the learning dataset and creates a dataset with a small number of data (step S201). For example, the GPU number calculation unit 51 randomly selects a dataset from the entire learning dataset.
[0030] Next, the GPU number calculation unit 51 of the management server 5 sets the maximum number of GPUs to be used for learning, and the control unit 52 transfers a data set with a small amount of data to the GPU servers 1 to 4, and causes learning to be performed with this data set. The GPU number calculation unit 51 measures the learning time (step S202). Here, the GPU servers 1 to 4 are equipped with GPUs of the same performance. Furthermore, configurations other than the GPU (CPU, memory, disk, etc.) have little effect on performance. Therefore, the performance difference between the GPU servers 1 to 4 can be ignored.
[0031] Next, the GPU number calculation unit 51 of the management server 5 predicts the learning time for the data set used for actual learning when the number of GPUs is maximum, based on the measurement result of the learning time (step S203). For example, when learning with SGD (Stochastic Gradient Descent), the learning time per epoch is proportional to the number of data, so the final execution time is approximately the product of "the time required for learning with a data set with a small number of data" multiplied by the ratio of "the number of data in the actual data set" to "the number of data in the data set with a small number of data", and then multiplied by the number of epochs that is the termination condition. In addition to SDG, optimization methods used to measure the learning time include batch gradient descent and mini-batch gradient descent, and the learning time may be measured using these methods instead of SGD. In batch gradient descent and mini-batch gradient descent, the calculation method of the final execution time is the same as the calculation method described above.
[0032] In addition, if the data extracted in step S201 has characteristics or if the AI model to be trained has characteristics, the above calculation method may not be able to calculate the learning time required to train the entire data set. This can be solved by increasing the amount of data extracted. However, since it is difficult to detect such cases, in the case of an AI model or data set that may cause this, for example, the user can deal with it by setting in advance to increase the number of data sets to be extracted in step S201.
[0033] Next, the GPU number calculation unit 51 judges whether the predicted learning time is within a predetermined expected learning time (step S204). If the predicted learning time exceeds the expected learning time (step S204; No), the GPU number calculation unit 51 outputs the predicted learning time and ends the process (step S205). In this case, since learning is executed using all GPUs mounted on the GPU servers 1 to 4, no GPU is instructed to be powered off in step S105 of FIG. 3.
[0034] On the other hand, if the predicted learning time is within the expected learning time (step S204; Yes), the GPU number calculation unit 51 changes the number of GPUs used in the learning process to 1, 2, 4, 8, . . . and measures the learning time when learning the data set extracted in step S201 with each number of GPUs (step S206). For example, assume that each of the GPU servers 1 to 4 is equipped with three GPUs. When the number of GPUs to be changed is 1 or 2, for example, the control unit 52 makes the GPU server 1 learn using one or two GPUs, and the GPU number calculation unit 51 measures the learning time for each. When the number of GPUs to be changed is 4, the management server 5 makes the GPU server 1 learn using three GPUs and the GPU server 2 learn using one GPU, and measures the learning time at this time. Similarly, when the number of GPUs is eight, the management server 5 specifies eight of the GPUs mounted on the GPU servers 1 to 4, and measures the learning time when learning a data set with a small number of data. Note that the allocation of GPUs to the GPU servers 1 to 4 shown here is an example and is not limited to this. For example, when the number of GPUs is two, learning may be performed using one GPU each on the GPU servers 1 to 2, and the learning time at that time may be measured. Furthermore, the allocation of GPUs used to measure the learning time may be determined on the side of the GPU servers 1 to 4.
[0035] After the learning time is measured, the management server 5 next derives an approximation formula for the relationship between the number of GPUs obtained by the measurement and the learning time using the least squares method or the like (step S207). The GPU number calculation unit 51 predicts the learning time when learning the entire data set from the measured learning time using the method described in step S203. The GPU number calculation unit 51 derives an approximation formula showing the relationship between the number of GPUs and the time required for learning (predicted value of the learning time for the entire data set). Finally, the GPU number calculation unit 51 calculates the minimum number of GPUs that completes learning within a predetermined expected learning time from the derived approximation formula (step S208). The control unit 52 of the management server 5 determines the allocation of the minimum number of GPUs calculated in step S208 to the GPU servers 1 to 4, and instructs the GPU servers 1 to 4 to power off the GPUs that are not allocated in step S105 of FIG. 3.
[0036] In general, the total power consumption is reduced by reducing the number of servers and installing more GPUs on each server. This is because the power consumed by components other than GPUs (e.g., CPU, memory, disk, etc.) can be reduced. In addition, since communication between servers is likely to become a bottleneck, the learning time tends to be shorter if the GPUs used are concentrated on one server. For example, if the minimum number of GPUs calculated in step S208 is three, the management server 5 may concentrate the allocation of the three GPUs used for learning on the GPU server 1. In this case, in step S105 of FIG. 3, the management server 5 does not instruct the GPU server 1 to power off the GPUs, but instructs the GPU servers 2 to 4 to power off all the GPUs.
[0037] The above GPU allocation is an example. The management server 5 may allocate three GPUs, such as allocating one GPU to GPU server 1 and two to GPU server 2, or may determine the allocation in some other way (for example, allocating so that the GPUs are turned on for equal periods). When allocating one GPU to GPU server 1 and two to GPU server 2, the management server 5 instructs GPU server 1 to power off two GPUs, instructs GPU server 2 to power off one GPU, and instructs GPU servers 3 and 4 to power off all GPUs in step S105 of FIG. 3.
[0038] Also, in step S105 of FIG. 3, management server 5 may send the number of unused GPUs and an instruction to power them off to GPU servers 1 to 4, and GPU servers 1 to 4 may determine the allocation of GPUs to be powered off (for example, by allocating the GPUs so that the times that they are powered on are even).
[0039] 4, the output process of step S205 can be omitted. The number of GPUs for measuring the learning time in step S206 does not have to be 1, 2, 4, 8, .... For example, it may be 1, 3, 5, ..., or the number of GPUs may be gradually decreased to 10, 8, 6, .... In addition, when deriving an approximation formula in step S207, the least absolute value method may be used instead of the least squares method.
[0040] (effect) In a typical distributed deep learning system, it is necessary to explicitly specify the number of GPUs to be used, which can result in situations such as the learning process being completed faster than necessary but with poor power efficiency, or the learning process being more power efficient but taking too long. In addition, unused GPUs will be idle, wasting power.
[0041] In contrast, according to the present embodiment, a part of the data set used for learning is used to predict the learning time, and the minimum number of GPUs required to complete learning within the expected learning time is calculated. By applying this algorithm to a distributed deep learning system and turning off the power of unused GPUs, it is possible to improve the power efficiency of GPUs in learning processing and reduce the total power consumption of the entire system.
[0042] The power saving control of this embodiment, that is, the control of calculating the required number of GPUs by the GPU number calculation process in Fig. 4 and turning off the power of unnecessary GPUs, can be applied not only to distributed deep learning systems but also to various GPU cluster systems and GPU servers (which may be one GPU server equipped with multiple GPUs, or one GPU server group equipped with one or multiple GPUs). For example, in disaggregated computing, a resource configuration is created according to the requirements of an application, so that the number of GPUs that meets the requirements of the application can be calculated by the GPU number calculation process of this embodiment, and the number of GPUs to be powered on can be used to optimize the number of GPUs to be powered on.
[0043] (Minimum configuration) FIG. 5 is a block diagram showing the configuration of an information processing device having a minimum configuration. The information processing device 800 includes a GPU number calculation means 810 . The GPU number calculation means 810 extracts a part of the data to be processed, and calculates the minimum number of GPUs that can complete the process within a predetermined expected time from the measured execution time for each number of GPUs when the extracted data is processed and the number of GPUs is changed and the number of GPUs used in the process. This makes it possible to calculate the number of GPUs that maximizes power efficiency, thereby improving the power efficiency of the GPUs and suppressing power consumption. The management server 5 is an example of an information processing device 800. The GPU number calculation unit 51 is an example of a GPU number calculation means 810.
[0044] FIG. 6 is a flowchart of a method for calculating the number of GPUs having a minimum configuration. The GPU number calculation means 810 extracts a portion of the data to be processed, and obtains measured values of execution time for each number of GPUs when the extracted data is used to process the above-mentioned process while changing the number of GPUs (step S801). Next, the GPU number calculation means 810 calculates the minimum number of GPUs that can complete the processing within a specified expected time from the measured execution time for each number of GPUs and the number of GPUs used for the processing (step S802).
[0045] Note that the GPU servers 1-4, management server 5, and client terminal 6 in the above-described embodiment may be partially realized by a computer. In this case, a program for realizing the functions may be recorded in a computer-readable recording medium, and the program recorded in the recording medium may be read into a computer system and executed to realize the functions. Note that the "computer system" referred to here is a computer system built into the GPU servers 1-4, management server 5, and client terminal 6, and includes an OS (Operating System) and hardware such as peripheral devices.
[0046] In addition, "computer-readable recording medium" refers to portable media such as flexible disks, optical magnetic disks, ROMs, and CD-ROMs, and storage devices such as hard disks built into computer systems. Furthermore, "computer-readable recording medium" may also include devices that dynamically hold a program for a short period of time, such as a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line, and devices that hold a program for a certain period of time, such as volatile memory inside a computer system that serves as a server or client in such cases. Furthermore, the above program may be one that realizes part of the above-mentioned functions, or may be one that can realize the above-mentioned functions in combination with a program already recorded in the computer system.
[0047] In addition, the GPU servers 1 to 4, the management server 5, and the client terminal 6 in the above-described embodiment may be partly or entirely implemented as integrated circuits such as LSI (Large Scale Integration). Each functional unit of the GPU servers 1 to 4, the management server 5, and the client terminal 6 may be individually implemented as a processor, or partly or entirely integrated into a processor. The integrated circuit implementation method is not limited to LSI, and may be implemented using a dedicated circuit or a general-purpose processor. In addition, when an integrated circuit implementation technology that replaces LSI appears due to the advancement of semiconductor technology, an integrated circuit based on that technology may be used.
[0048] Although one embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to the above, and various design changes and the like can be made within the scope of the gist of the present invention. In addition, one aspect of the present invention can be modified in various ways within the scope of the claims, and embodiments obtained by appropriately combining the technical means disclosed in different embodiments are also included in the technical scope of the present invention. In addition, configurations in which elements described in the above embodiments and modified examples are replaced with elements that have the same effect are also included.
[0049] A part or all of the above-described embodiments can be described as, but are not limited to, the following supplementary notes.
[0050] (Appendix 1) The information processing device comprises a means for extracting a portion of all data to be processed, and using the extracted data as the processing target, deriving an approximation equation showing the relationship between the number of GPUs and the execution time based on measured values of execution time for each number of GPUs when processing is executed with different numbers of GPUs and the number of GPUs used in the processing, and calculating the minimum number of GPUs that can complete the processing within a specified expected execution time.
[0051] (Appendix 2) The calculating means is an information processing device as described in Appendix 1, which derives an approximation formula showing the relationship between the number of GPUs and the execution time based on measured values of execution time for each number of GPUs when processing the extracted data by changing the number of GPUs and the number of GPUs used in the processing, and calculates the minimum number of GPUs based on the approximation formula.
[0052] (Appendix 3) The calculating means is an information processing device described in Appendix 1 that calculates a relationship between the number of GPUs and the execution time based on measured values of execution time for each number of GPUs when processing the extracted data by changing the number of GPUs and the number of GPUs used in the processing, and calculates a minimum value for the number of GPUs based on the relationship.
[0053] (Appendix 4) The information processing device according to any one of Appendix 1 to Appendix 3, further comprising a means for predicting a total execution time when the processing is executed using all of the data as the processing target based on a ratio of the number of data items in the total data to the number of data items in the extracted data, and the execution time, wherein the means for calculating the minimum value compares the total execution time with the expected execution time to calculate the minimum number of GPUs that can complete the processing within the expected execution time.
[0054] (Appendix 5) The predicting means predicts the total execution time when all of the GPUs are used; The information processing device according to claim 4, wherein the means for calculating the minimum value calculates the minimum value of the number of GPUs when the predicted value of the total execution time is within the expected execution time.
[0055] (Appendix 6) The information processing device according to any one of Supplementary Note 1 to Supplementary Note 5, wherein the processing is a deep learning processing.
[0056] (Appendix 7) An information processing system comprising: an information processing device as described in Supplementary Notes 1 to 6; and a server equipped with multiple GPUs, or one or multiple servers equipped with one or multiple GPUs, wherein the information processing device further comprises means for instructing to power on the GPUs equivalent to the minimum number of the GPUs and to power off the remaining GPUs, and the server comprises means for controlling the powering on and off of the GPUs based on the instruction.
[0057] (Appendix 8) The information processing device is an information processing system described in Appendix 5, further comprising: a means for changing the number of GPUs equipped in the server to execute the processing; and a means for measuring the execution time for each number of GPUs.
[0058] (Appendix 9) This is a method for calculating the number of GPUs, which extracts a portion of all data to be processed, and executes processing on the extracted data by changing the number of GPUs. Based on the measured execution time for each number of GPUs and the number of GPUs used for the processing, the method calculates the minimum number of GPUs that can complete the processing within a specified expected execution time.
[0059] (Appendix 10) A control method for an information processing system including a server equipped with multiple GPUs, or one or more servers equipped with one or more GPUs, the control method comprising the steps of: executing the GPU number calculation method described in Appendix 9; and turning on the power to the GPUs equivalent to the minimum number of the GPUs, and turning off the power to the other GPUs.
[0060] (Appendix 11) This is a program that causes a computer to execute a process of extracting a portion of all data to be processed, and calculating the minimum number of GPUs that can complete the processing within a specified expected execution time based on the measured execution time for each number of GPUs when processing the extracted data with different numbers of GPUs, and the number of GPUs used for the processing. [Explanation of symbols]
[0061] 1,2,3,4...GPU Server 11 GPU power control unit 12. Learning Execution Department 13. Communications Department 14. GPU 5. Management Server 51 GPU number calculation section 52 Control section 53 Communications Department 6. Client terminal 7. Hub
Claims
1. a means for extracting a portion of all data to be processed, and calculating a minimum number of GPUs that can complete the processing within a predetermined expected execution time based on measured values of execution time for each number of GPUs when processing is executed with the extracted data being processed and the number of GPUs being changed, and the number of GPUs used in the processing; An information processing device comprising:
2. the calculating means derives an approximation formula showing the relationship between the number of GPUs and the execution time based on a measured value of the execution time for each number of GPUs when the extracted data is processed and the number of GPUs is changed, and the number of GPUs used in the processing, and calculates a minimum value of the number of GPUs based on the approximation formula; The information processing device according to claim 1 .
3. a means for predicting a total execution time when the processing is executed on all of the data, based on a ratio of the number of data in the total data to the number of data in the extracted data, and the execution time; Further equipped with the means for calculating the minimum value compares the total execution time with the expected execution time to calculate the minimum value of the number of GPUs that can complete the process within the expected execution time.
3. The information processing device according to claim 1 or 2.
4. The predicting means predicts the total execution time when all of the GPUs are used; the means for calculating the minimum value calculates the minimum value of the number of GPUs when the predicted value of the total execution time is within the expected execution time; The information processing device according to claim 3 .
5. The process is a deep learning process.
3. The information processing device according to claim 1 or 2.
6. An information processing system comprising: the information processing device according to claim 1 or 2; and one server equipped with a plurality of GPUs; or one or a plurality of servers equipped with one or a plurality of GPUs; The information processing device includes: a means for instructing the server to turn on the power of the GPUs corresponding to the minimum number of the GPUs and to turn off the power of the remaining GPUs; Further equipped with The server, means for controlling power on and off of the GPU based on the instruction; An information processing system comprising:
7. The information processing device includes: a means for changing the number of the GPUs included in the server and causing the server to execute the process; means for measuring the execution time for each of the number of GPUs; The information processing system according to claim 6 , further comprising:
8. extracting a portion of all data to be processed, and executing a process using the extracted data as the processing target while changing the number of GPUs; and calculating a minimum number of GPUs that can complete the process within a predetermined expected execution time based on measured values of execution time for each number of GPUs and the number of GPUs used in the process. How to calculate the number of GPUs.
9. A method for controlling an information processing system including one server equipped with multiple GPUs, or one or more servers equipped with one or more GPUs, comprising: Executing the GPU number calculation method according to claim 8; turning on the power of the GPUs corresponding to the minimum number of the GPUs and turning off the power of the remaining GPUs; The control method includes:
10. On the computer, A process of extracting a portion of all data to be processed, and calculating a minimum number of GPUs that can complete the process within a predetermined expected execution time based on measured values of execution time for each number of GPUs when the number of GPUs is changed and a process is executed using the extracted data as the processing target, and the number of GPUs used in the process; A program that executes the following.
Citation Information
Patent Citations
Method and device for power consumption reduction in multiprocessor system
JP2008077640A
Cited By
GPU control device and GPU control program
WO2026191148A1
