Methods and systems for dynamically allocating resources within a high-performance computing cluster.

The method and system dynamically reallocate resources in HPC clusters by identifying workloads and nodes across queues, enhancing efficiency and resource management through intelligent node relocation and blockchain tracking.

JP2026185793APending Publication Date: 2026-11-27CLUNIX
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2026072271
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-14
Filing Date
2026-04-24
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In high-performance computing (HPC) systems, administrators manually check work completion times for each node and perform relocation operations, which is inefficient and time-consuming.

Method used

A method and system for dynamically reallocating resources by identifying workloads and nodes across multiple queues, using a control device to relocate nodes based on workload matching, time intervals, and priority, with blockchain-based tracking.

Benefits of technology

Enhances efficient management of queue-specific job status and node reallocation in HPC clusters, improving administrative efficiency and resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2026185793000001_ABST
    Figure 2026185793000001_ABST
Patent Text Reader

Abstract

This invention provides a method and system for dynamically allocating or reallocating resources within a high-performance computing (HPC) cluster. [Solution] The method includes the steps of: identifying information for a first workload to be assigned to a first queue among a plurality of queues; assigning a first workload or a second workload to each of the queues excluding the first queue among the plurality of queues; relocating at least one first node from a plurality of nodes assigned to a second queue that performs only the first workload or the second workload among at least one queue to the first queue; and relocating at least one second node from a plurality of nodes assigned to a third queue that performs only the first workload or the second workload among at least one queue to the first queue, based on the fact that the workload that can be processed by at least one first node does not match the first workload.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to high performance computing (HPC) related technologies, and more particularly, to a method and system for dynamically allocating or reallocating resources in an HPC cluster.

Background Art

[0002] HPC generally refers to a method that uses resources based on computer clusters to achieve higher performance than a single computer, server, or workstation.

[0003] A queue, which is a queue for adjusting the work execution order within HPC, is defined, and a work scheduler can adjust the execution order after inputting and assigning submitted jobs into the queue.

[0004] Generally, in order to improve work efficiency in HPC, it is necessary to relocate nodes of queues with low availability to partitions with high availability. Conventionally, an administrator monitors a plurality of queues in HPC, checks whether the work of nodes assigned in the queue is completed, and then performs a node relocation operation.

[0005] That is, there is a problem in that the administrator must check the work completion time for each node one by one, and must perform the relocation operation of the corresponding node according to the completion time.

Summary of the Invention

Problems to be Solved by the Invention

[0006] The present disclosure has been devised to solve the above-mentioned problems, and an object of the present disclosure is to provide a method and system for dynamically allocating or reallocating resources in an HPC cluster.

[0007] The issues that this disclosure seeks to address are not limited to those mentioned above, and other issues not mentioned can be clearly understood by an average engineer from the following description. [Means for solving the problem]

[0008] A method performed by a control device according to one embodiment of the present disclosure may include the steps of: identifying information for a first workload to be assigned to a first queue among a plurality of queues; assigning the first workload or the second workload to each of the plurality of queues excluding the first queue; relocating at least one first node from a plurality of nodes assigned to a second queue that performs only the first workload or the second workload among the at least one queue to the first queue; and relocating at least one second node from a plurality of nodes assigned to a third queue that performs only the first workload or the second workload among the at least one queue to the first queue, based on the fact that the workload that the at least one first node can process does not match the first workload.

[0009] The method may further include the step of transmitting a control signal to the at least one queue to interrupt the work assigned to the at least one queue, based on the fact that the amount of work that can be processed by the at least one first node matches the first amount of work.

[0010] Furthermore, based on the fact that the time at which the first workload is assigned to the first queue falls within a first time interval, the maximum number of nodes assigned to the first queue may be determined to a first value, and based on the fact that the time at which the first workload is assigned to the first queue falls within a second time interval, the maximum number of nodes assigned to the first queue may be determined to a second value different from the first value.

[0011] Furthermore, based on the fact that the second workload is assigned to each of the at least one queue, the first workload may be the sum of the second workloads assigned to each of the at least one queue.

[0012] Furthermore, based on the fact that the time at which the third workload is assigned to the first queue falls within the third time interval, at least one third node may be assigned to the first queue as a dedicated node, and based on the elapsed time interval, the at least one third node may be set as a general-purpose node that can be assigned to the plurality of queues.

[0013] The size of at least one third node may be determined based on the type of specific task corresponding to the third workload assigned to the first queue, the importance of the specific task, and the size of the node that matches the first workload.

[0014] Then, a first intermediate value is obtained by applying a first weight to a numerical value indicating the importance of the specific task, and a final value is obtained by adding a predefined second intermediate value to the first intermediate value based on the fact that the type of specific task corresponding to the third workload assigned to the first queue is associated with the third time interval, and the size of the at least one third node can be determined by adding the final value to the size of the node matched to the first workload.

[0015] The method may further include the steps of: generating a first block based on a first hash value corresponding to information associated with the at least one first node and the at least one second node that have been relocated to the first queue; generating a second block based on a second hash value corresponding to information associated with the at least one third node; and concatenating the second block to the first block to construct a blockchain associated with the first queue.

[0016] The method may further include the steps of: identifying a fourth queue among the plurality of queues that does not have a dedicated node set, based on the fact that the priority of the second task due to the fourth workload assigned to the first queue exceeds a first critical value; and reassigning the nodes corresponding to the fourth workload from among the plurality of nodes assigned to the fourth queue to the first queue.

[0017] Furthermore, the method described above can be configured so that when a queue is rearranged, the rearrangement is maintained for a specific period of time before being restored to the existing queue state.

[0018] Furthermore, the aforementioned method can rearrange the queue by additionally considering at least one of the following: the number of GPUs, hardware specifications, network range, node-specific software installation status, and software licenses.

[0019] A control device according to one embodiment of the present disclosure includes at least one memory and at least one processor, the at least one processor being configured to identify information for a first workload to be assigned to a first queue among a plurality of queues; to assign the first workload or a second workload to each of the at least one queues excluding the first queue; to relocate at least one first node from a plurality of nodes assigned to a second queue that performs only the first workload or the second workload among the at least one queue to the first queue; and to relocate at least one second node from a plurality of nodes assigned to a third queue that performs only the first workload or the second workload among the at least one queue to the first queue based on the fact that the workload that the at least one first node can process does not match the first workload. [Effects of the Invention]

[0020] According to various embodiments of the present disclosure, a method and system for dynamically allocating or reallocating resources in an HPC cluster may be provided.

[0021] Also, according to various embodiments of the present disclosure, an administrator may more efficiently manage queue-specific job status in an HPC cluster and perform node reallocation operations.

[0022] The effects of the present disclosure are not limited to the effects mentioned above, and other effects not mentioned can be clearly understood by those of ordinary skill in the art from the following description. [Brief Description of Drawings]

[0023] [Figure 1] A diagram schematically illustrating a method and system for dynamically allocating resources in a high-performance computing cluster according to an embodiment of the present disclosure. [Figure 2] A block diagram schematically illustrating the configuration of an apparatus for performing a method for dynamically allocating resources in a high-performance computing cluster according to an embodiment of the present disclosure. [Figure 3] A flowchart illustrating a method for dynamically allocating resources in a high-performance computing cluster according to an embodiment of the present disclosure. [Mode for Carrying out the Invention]

[0024] Advantages and features of the present disclosure, and methods of achieving them, may become apparent with reference to the embodiments described below in detail in conjunction with the accompanying drawings. However, the present disclosure is not limited to the embodiments disclosed below, but may be embodied in various different forms, and the present embodiments merely serve to complete the disclosure of the present disclosure and to fully inform those of ordinary skill in the art to which the present disclosure pertains of the scope of the present disclosure, and the present disclosure is only defined by the scope of the claims.

[0025] The terminology used herein is for the purpose of describing the embodiments only and is not intended to limit the present disclosure. In this specification, the singular forms also include the plural forms unless the context clearly dictates otherwise. As used herein, the terms "comprises" and / or "comprising" do not exclude the presence or addition of one or more other components in addition to the mentioned components.

[0026] Throughout the specification, the same reference numerals refer to the same components, and the term "and / or" includes each of the mentioned components and all combinations of one or more thereof. Although terms such as "first" and "second" are used to describe various components, these components are not limited by these terms. These terms are only used to distinguish one component from another component. Therefore, it goes without saying that the first component mentioned below may be the second component within the technical idea of the present disclosure.

[0027] Unless otherwise defined, all terms (including technical and scientific terms) used herein may be used with the meaning commonly understood by those of ordinary skill in the art to which the present disclosure belongs. In addition, terms defined in commonly used dictionaries are not to be interpreted ideally or excessively unless explicitly and specifically defined.

[0028] Spatially relative terms such as "below", "beneath", "lower", "above", and "upper" may be used to easily describe the correlation between one component and another component as shown in the drawings. Spatially relative terms are to be understood as terms including different orientations of the components during use or operation in addition to the orientation shown in the drawings.

[0029] For example, if the elements shown in the drawing are reversed, an element described as "below" or "beneath" another element may be placed "above" that element. Therefore, the exemplary term "below" can encompass both downward and upward directions. Elements can also be oriented in other directions, and thus spatially relative terms are interpreted by orientation.

[0030] The following sections, with reference to diagrams, specifically describe how resources are dynamically allocated within a high-performance computing cluster and the system itself.

[0031] Figure 1 is a simplified diagram illustrating a system for dynamically allocating resources within a high-performance computing cluster according to one embodiment of the present disclosure.

[0032] As shown in Figure 1, a system 1000 that dynamically allocates resources within a high-performance computing (HPC) cluster may include a control unit 100, multiple servers 200-1, 200-2, ..., 200-N (where N is a natural number greater than or equal to 2), multiple organizational management devices 300-1, 300-2, and terminal devices 400 used by administrators.

[0033] In describing this disclosure, a server can be configured to perform various tasks (e.g., computational operations corresponding to those tasks). Within an HPC cluster, one server may correspond to one node, but is not limited to this; one or more servers may correspond to a single node. That is, a node may correspond to a physical or virtual server that actually performs the work.

[0034] Organizational management devices 300-1 and 300-2 may refer to devices used by specific organizations to manage and perform specific tasks. Organizational management devices 300-1 and 300-2 may subscribe to and participate in HPC-based services managed and controlled by control device 100 and / or multiple servers 200-1, 200-2, ..., 200-N.

[0035] On the other hand, an organization can refer to a variety of units, such as a company, institution, school, or team within a company. Figure 1 shows management devices used by two organizations, but it is not limited to this, and there may be more than two organizations.

[0036] Furthermore, the amount of work can be calculated and / or determined on a node (and / or core) basis, depending on the type of work. For example, if 120 core operations can be performed per node, then 240 core operations can be represented as 2 node operations.

[0037] Each device can be embodied in various types of electronic devices (e.g., notebooks, desktops, laptops, tablet PCs, slate PCs, server devices, etc.), or in groups of devices consisting of one or more types of devices linked together.

[0038] The control unit 100, multiple servers 200-1, 200-2, ..., 200-N (where N is a natural number greater than or equal to 2), multiple organizational management devices 300-1, 300-2, and terminal devices 400 used by administrators, all included in system 1000, can communicate with each other via a network.

[0039] Here, a network can include both wired and wireless networks. For example, a network can include various types of networks such as local area networks (LANs), metropolitan area networks (MANs), and wide area networks (WANs).

[0040] Furthermore, the network may include the well-known World Wide Web (WWW). However, the network according to embodiments of this disclosure is not limited to the networks listed above, and may include, at least in part, well-known wireless data networks, well-known telephone networks, and well-known wired and wireless television networks.

[0041] The control device 100 may include a workload exchange module and a scheduler module that determine resource reallocation. Here, a module may refer to software and / or hardware that perform unit operations. The workload exchange module and / or scheduler module may be controlled by the control device 100.

[0042] The workload exchange module can determine node placement plans and the feasibility of reassignment for each of multiple queues. Here, a queue can be a general term for a waiting line that manages work and adjusts the execution order within the HPC system. When one or more tasks are entered into the control unit, the workload exchange module can determine node and / or work placement / assignment plans for at least one queue. The scheduler module can then perform the node and / or work placement / assignment plans determined by the workload exchange module.

[0043] The following section specifically describes how control devices perform resource reallocation within an HPC system.

[0044] Figure 2 is a simplified block diagram showing the configuration of a control device that performs a method for dynamically allocating resources within a high-performance computing cluster according to one embodiment of the present disclosure.

[0045] As shown in Figure 2, the control device 100 may include a memory 110, a communication module 120, a display 130, and a processor 140.

[0046] However, the configuration shown in Figure 2 is an illustrative diagram for illustrating embodiments of the present disclosure, and the control unit 100 may include additional appropriate hardware and software configurations that are obvious to the average person.

[0047] Memory 110 can store one or more instructions for the processor 140 to perform various operations. Memory 110 can store data that supports the various functions of the control device 100, programs for the operation of the processor 140, and input / output data.

[0048] The memory 110 may include at least one type of storage medium from among flash memory type, hard disk type, SSD type (Solid State Disk type), SDD type (Silicon Disk Drive type), multimedia card micro type, card type memory (e.g., SD or XD memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), EEPROM (electrically erasable programmable read-only memory), PROM (programmable read-only read memory), magnetic memory, magnetic disk, and optical disk.

[0049] The communication module 120 may include one or more components, including circuits that enable communication with external devices. For example, the communication module 120 may include at least one of the following: a broadcast receiving module, a wired communication module, a wireless communication module, a short-range communication module, and a location information module.

[0050] The display 130 displays (outputs) information processed by the control device 100. For example, the display 130 can display execution screen information of an application program driven by the control device 100, or UI (User Interface) or GUI (Graphic User Interface) information based on such execution screen information.

[0051] The processor 140 can execute a method for dynamically allocating resources within a high-performance computing cluster by executing one or more instructions stored in memory 110. In other words, the processor 140 can control the overall operation and functionality by utilizing each component of the control unit 100.

[0052] Specifically, the processor 140 may be implemented with a memory for storing data for an algorithm or a program that reproduces the algorithm for controlling the operation of components within the control unit 100, and at least one processor that performs the aforementioned operation using the data stored in the memory. In this case, the memory and the processor may be implemented on separate chips, or the memory and processor may be implemented on a single chip.

[0053] Furthermore, the processor 140 can control any one or more of the aforementioned components in combination in order to implement the various embodiments of this disclosure, as described in Figure 3 below, on the control device 100.

[0054] Figure 3 is a flowchart illustrating a method for dynamically allocating resources within a high-performance computing cluster according to one embodiment of the present disclosure.

[0055] The control device can identify information for the first workload assigned to the first queue among multiple queues (S310).

[0056] Specifically, the management device managed by the first organization can input / submit information for the first task to the control device, and the magnitude of the workload for the first task may be the "first workload." When the management device managed by the first organization inputs the first task to the control device, it means that the first organization inputs information for the first task onto the HPC system.

[0057] The control unit can identify the resources and / or nodes to allocate to the first work based on the information about the first work that has been input / submitted. The control unit can decide to allocate the first workload of the first work to the first queue among several queues via the workload exchange module. The control unit can then identify information about the first workload to be allocated to the first queue via the workload exchange module (e.g., the size of the first workload, the importance of the first work having the first workload, the type of the first work, etc.).

[0058] Additionally or alternatively, the maximum number of nodes that can be assigned to the first queue may be determined to a first value based on the fact that the time at which the first workload is assigned to the first queue falls within the first time interval. The maximum number of nodes that can be assigned to the first queue may be determined to a second value, different from the first value, based on the fact that the time at which the first workload is assigned to the first queue falls within the second time interval. The maximum number of nodes that can be assigned to the first queue may be managed by the control unit.

[0059] Specifically, the first queue can be set up / defined as a queue for performing work for a particular organization (or department). The amount of work assigned to the first queue may vary depending on when the work is assigned to it. As an example, let's assume that the first queue is a queue for performing work for a particular organization (e.g., a university department), the first time interval is the semester, and the second time interval is the holiday period.

[0060] In this case, the first value, which is the maximum number of nodes that can be allocated to the first queue within the first time interval, can be managed and controlled so that it is greater than the second value, which is the maximum number of nodes that can be allocated to the first queue within the second time interval.

[0061] The control device can assign a first or second workload to each of the multiple queues, excluding the first queue (S320).

[0062] Here, the amount of work assigned to each of the multiple queues, excluding the first queue, may be dummy work, but is not limited to this. Furthermore, the second amount of work may be smaller than the first amount of work, but is not limited to this, and may be larger than the first amount of work.

[0063] Additionally or alternatively, the size of the second workload can, but is not limited to, be arbitrarily determined by the control device. The control device can determine the size of the second workload to input into at least one queue in proportion to the size of at least one of the queues remaining from the first queue among a plurality of queues. For example, the control device can determine the size of the second workload to input into each of at least one queue in proportion to the size of at least one queue.

[0064] As an example of this disclosure, suppose a control device assigns a first workload to each of at least one of a group of queues, excluding the first queue. If the workload of the first workload (i.e., the first workload) is 240 cores, the control device can assign 240 cores to each of the remaining queues, excluding the first queue. Here, the expression that the control device assigns work to a particular queue may be replaced with the expression that the control device inputs or places work into a particular queue.

[0065] As yet another example of this disclosure, suppose a control device assigns a first workload and / or a second workload to each of at least one of a group of queues, excluding the first queue. If the workload of the first workload (i.e., the first workload) is 240 cores of work, the control device may assign 240 cores of work to the second queue and 360 cores of work to the third queue.

[0066] In this case, the size and / or maximum utilization rate of the second queue may be 2 / 3 of the size and / or maximum utilization rate of the third queue. That is, the control device can assign the first workload to the second queue among the multiple queues and set the second queue as the reference queue. The control device can then assign a second workload, which is 3 / 2 times the first workload, to the third queue, which is 3 / 2 of the size and / or maximum utilization rate of the second queue. That is, the control device can determine the amount of workload to be assigned to each of the remaining queues based on the size and / or maximum utilization rate of the remaining queues, excluding the first queue.

[0067] When a first or second workload is assigned to at least one queue among several queues, excluding the first queue, if the second queue performs only the first or second workload, this may mean that the remaining nodes are located / assigned to the second queue. In other words, the second queue may contain the remaining nodes, excluding the node that performs only the first or second workload.

[0068] As an example of this disclosure, if a second workload is assigned to each of at least one queue, the first workload may be the sum of the second workloads assigned to each of at least one queue. In other words, the control device may also divide and assign / distribute the first workload to each of at least one queue.

[0069] The control device can relocate at least one of the multiple nodes assigned to the second queue, which performs only the first or second workload from at least one queue (i.e., the remaining queues excluding the first queue among multiple queues), to the first queue (S330).

[0070] In other words, having identified that there are residual nodes in the second queue, the control unit can generate an instruction signal to relocate at least one of the multiple nodes (e.g., one or more residual nodes) assigned to the second queue via the workload exchange module to the first queue, and can transmit the generated instruction signal to the first and / or second queues. The control unit can then relocate at least one of the first nodes assigned to the second queue to the first queue via the scheduler module.

[0071] As an example of this disclosure, based on the fact that the amount of work that can be processed by at least one first node does not match the first amount of work, the control device may relocate at least one second node from among a plurality of nodes that have been assigned to a third queue that performs only the first or second amount of work out of at least one queue to the first queue (S340).

[0072] Specifically, if the processing capacity of at least one first node reassigned to the first queue is insufficient to cover the first workload, the control unit may reassign at least one second node from another queue (for example, a third queue among at least one queue to which the first and / or second workloads are assigned) to the first queue.

[0073] As an example, let's assume that the first workload is 240 cores and the maximum workload per node is 120 cores. In this case, if a single node (i.e., at least one first node) is placed in the first queue from the second queue, the workload that at least one first node can process (e.g., 120 cores) will not match the first workload (e.g., 240 cores). Therefore, the control unit can reassign one node from the second queue to the first queue.

[0074] Another example of this disclosure may include a queue relocation step for efficiently managing node resources allocated to multiple queues. The queue relocation step may optionally include first setting a minimum or maximum number of nodes for queue-specific relocation, or a minimum or maximum resource limit such as CPU or GPU for each queue.

[0075] For example, one or more queues can be selected for relocation. To select queues, monitoring can be performed on the queues to check the availability and standby information of each queue. To select queues, spare nodes not included in the queues can be managed. Spare nodes can be relocated and used depending on the queue availability and standby information. Spare nodes can be automatically relocated, reclaimed by reservation, or reclaimed by manual relocation when the queue availability decreases. Spare nodes can also be reclaimed in bulk for multi-queue management.

[0076] Queue reallocation can be performed automatically or manually. When reallocating automatically, reallocation conditions can be set to maximize availability or to perform tasks quickly, and a list of queues to be automatically reallocated or excluded can be managed. Automatic queue reallocation can be performed based on the set conditions, and queue reallocation may be monitored using work execution information accumulated through AI learning and pending work information. Manual reallocation may involve an administrator directly selecting queues and nodes to add or remove them during the reallocation process.

[0077] Queue relocation can be performed as needed, with the assistance of the scheduler, according to the relocation conditions of the queue. This is generally applicable when relocation is possible when no work is currently running on the queue. Queues selected for relocation can be automatically scheduled so that no additional work is assigned to them other than the work currently running, and the actual relocation can be performed when no work is running on the selected queues. The queue relocation history can be recorded when a queue relocation is performed.

[0078] Additionally or alternatively, based on the fact that the amount of work that can be processed by at least one first node is matched to the first amount of work, the control device may transmit a control signal to at least one queue to interrupt the work assigned to at least one queue (i.e., the remaining queues of a plurality of queues excluding the first queue).

[0079] Additionally or alternatively, at least one third node can be assigned to the first queue as a dedicated node based on the fact that the time at which the third workload is assigned to the first queue falls within the third time interval. That is, if the time at which the third workload is assigned to the first queue due to a new task falls within the third time interval, the control device can assign a separate dedicated node to the first queue.

[0080] For example, an organization (or department) corresponding to the first queue must complete a large amount of work on the third node within the third time interval. Therefore, the control device can set at least one third node as a dedicated node for the first queue based on the entry of the third time interval, and assign the set at least one third node to the first queue.

[0081] Then, based on the elapsed third time interval, the control device can configure at least one third node as a general-purpose node that can be assigned to all of the queues. That is, after the elapsed third time interval, the control device can check whether at least one third node is performing work in the first queue. If at least one third node is not performing work in the first queue, the control device can release / recover at least one third node from the first queue and configure at least one third node as a general-purpose node that can be assigned to a specific node.

[0082] As an example of this disclosure, the size of at least one third node may be determined based on the type of specific task corresponding to the third workload assigned to the first queue, the importance of the specific task, and the size of the node matched to the first workload. That is, the control device can determine the size of a dedicated node to be assigned to the first queue within the third time interval based on the type of specific task corresponding to the third workload assigned to the first queue, the importance of the specific task, and the size of the node matched to the first workload. Here, the node matched to the first workload can function as a reference node for determining the size of at least one third node.

[0083] For example, the control device can obtain a first intermediate value by applying a first weight to a numerical value indicating the importance of the first task. Based on the fact that the type of specific task corresponding to the third workload assigned to the first queue is associated with the third time interval, the control device can obtain a final value by adding a predefined second intermediate value to the first intermediate value.

[0084] Here, the control device can input text indicating a specific type of work and text indicating information related to the third time interval into an artificial intelligence (AI) model. The AI ​​model can be trained to calculate a numerical value indicating the correlation between the two input texts. For example, the AI ​​model can be trained to perform word embeddings for each of the two input texts to calculate vector data corresponding to each of the two texts, and then calculate a numerical value indicating the correlation between the two texts based on the similarity between the calculated vector data.

[0085] If the numerical value indicating the correlation between the text indicating the type of specific work and the text indicating information related to the third time interval exceeds the second threshold, the control device can determine that the type of specific work corresponding to the third workload assigned to the first queue is related to the third time interval.

[0086] Here, an artificial intelligence model can consist of multiple layers of neural networks. Each layer of the neural network has multiple weight values, and neural network operations are performed through calculations between the results of calculations in previous layers and these multiple weights. The multiple weights of the multiple layers of the neural network can be optimized by the learning results of the artificial intelligence model. For example, the multiple weights may be updated so that the loss value or cost value acquired by the artificial intelligence model during the learning process is reduced or minimized. Artificial neural networks can include deep neural networks (DNNs), such as CNNs (Convolutional Neural Networks), DNNs (Deep Neural Networks), RNNs (Recurrent Neural Networks), RBMs (Restricted Boltzmann Machines), DBNs (Deep Belief Networks), BRDNNs (Bidirectional Recurrent Deep Neural Networks), or Deep Q-Networks, but are not limited to the examples mentioned above.

[0087] The control device can determine the size (or number) of at least one third node by adding the final value to the size (or number) of nodes matched to the first workload. That is, if the importance of the first work is high based on the number of reference nodes (e.g., nodes matched to the first workload), and / or if a particular work corresponding to the third workload assigned to the first queue is associated with the third time interval, then the size of at least one third node can be larger than the size of the reference node.

[0088] Additionally or alternatively, the controller may generate a first block based on a first hash value corresponding to information associated with at least one first node and at least one second node that have been relocated to the first queue. For example, the information regarding at least one first node and at least one second node may include the identification index of the queue in which each of the at least one first node and at least one second node was originally located, the size of the at least one first node and at least one second node, and text indicating the time of relocation. The controller may obtain a first hash value by applying a predefined hash function to the information associated with at least one first node and at least one second node that have been relocated to the first queue.

[0089] The control device can generate a second block based on a second hash value corresponding to information associated with at least one third node. For example, the information associated with at least one third node may include the size of at least one third node, text indicating the type of work corresponding to the third workload performed by at least one third node, etc. The control device can obtain a second hash value by applying a predefined hash function to the information associated with at least one third node.

[0090] The control device can then connect the second block to the first block to construct a blockchain associated with the first queue (for example, a blockchain associated with the node placement history of the first queue).

[0091] Here, blockchain is a general term for data forgery prevention technology based on distributed computing technology. In other words, blockchain is a distributed ledger technology in which transaction data authenticated by consensus of nodes connected via P2P is stored in a distributed form, and each block is linked in a chain form. Here, a block means a bundle of valid information and may include a block hash value that acts as an identifier for the block, previous block hash values, Merkle root, and transaction information. A hash function can be a general term for a function that maps data of any length to data of a fixed length.

[0092] Additionally or alternatively, based on the fact that the priority of the second task due to the fourth workload assigned to the first queue exceeds the first critical value, the control unit can identify the fourth queue among the multiple queues that does not have a dedicated node assigned to it. The control unit can then reallocate the nodes corresponding to the fourth workload from among the multiple nodes assigned to the fourth queue to the first queue.

[0093] Specifically, when a second task is input to the control unit, a numerical value indicating the priority of the second task may also be input. If the priority of the second task exceeds the first critical value, the control unit can determine that it is unavoidable to allocate additional nodes to the first queue, where the second task will be executed even if tasks in other queues are interrupted. As a result, the control unit can determine that the fourth queue, which does not have dedicated nodes (i.e., nodes specifically configured for use in the fourth queue), is not a critical node. Therefore, the control unit can reallocate the nodes corresponding to the fourth workload from among the multiple nodes assigned to the fourth queue to the first queue.

[0094] The control device can be configured to maintain the relocation for a specific period of time before restoring the queue to its original state when a queue relocation is performed.

[0095] Specifically, queue relocation can support time-scheduled and restore functions. For example, it is possible to schedule automatic relocation of a specific queue on a specific day, maintain the relocated state for a specific period, and then automatically restore it to a predefined existing queue state. It is also possible to provide a function that allows the user to select a history from the queue relocation change history recorded in the system and restore the queue state to that point in time. It is also possible to implement a system where the system operates using automatic relocation logic for a specific period, and then switches the operating mode to allow manual relocation by the administrator after that period has elapsed.

[0096] The control unit can rearrange queues by additionally considering at least one of the following: the number of GPUs, hardware specifications, network range, node-specific software installation status, and software licenses. During automatic rearrangement, in addition to CPU resources, the control unit can comprehensively consider resource types and quantities such as memory and the number of GPUs to select queues to rearrange and determine resource allocation amounts. Furthermore, the efficiency and suitability of automatic rearrangement can be improved by considering rearrangement between queues with the same hardware specifications, rearrangement within the same network range, rearrangement based on software information installed on each node, and rearrangement based on other node-specific identical items (e.g., hardware configuration, software licenses). Manual rearrangement allows the administrator to directly select queues and nodes and rearrange by adding or removing nodes.

[0097] The various embodiments described above allow the administrator of the control device to perform resource reallocation operations for executing tasks within the HPC more efficiently.

[0098] On the other hand, the disclosed embodiments can be embodied in the form of a recording medium that stores computer-executable instruction words. The instruction words can be stored in the form of program code, which, when executed by a processor, can generate a program module that performs the operations of the disclosed embodiments. The recording medium can be embodied in a computer-readable recording medium.

[0099] Computer-readable storage media include all types of storage media that store computer-decipherable instruction codes. Examples include ROM (Read Only Memory), RAM (Random Access Memory), magnetic tape, magnetic disks, flash memory, and optical data storage devices.

[0100] The embodiments disclosed have been described above with reference to the attached drawings. A person with ordinary skill in the art to which this disclosure belongs may carry out this disclosure in a form different from the disclosed embodiments without altering the technical idea or essential features of this disclosure. The disclosed embodiments are illustrative and should not be construed as restrictive. [Explanation of symbols]

[0101] 110 ···Memory 120 ···Communication module 130 ···Display 140 ... processors

Claims

1. A method performed by a control device, The aforementioned method, The stage of identifying information for the first workload to be assigned to the first queue among multiple queues; A step of assigning the first or second workload to each of the multiple queues, excluding the first queue; The step of reassigning at least one first node from among a plurality of nodes assigned to a second queue that performs only the first or second workload from the at least one queue to the first queue; and, A step of rearranging at least one second node to the first queue, based on the fact that the amount of work that can be processed by at least one first node does not match the first amount of work; including A method characterized by the following:

2. The step further includes transmitting a control signal to the at least one queue to interrupt the work assigned to the at least one queue, based on the fact that the amount of work that can be processed by the at least one first node matches the first amount of work. The method according to claim 1.

3. Based on the fact that the time at which the first workload is assigned to the first queue falls within the first time interval, the maximum number of nodes that can be assigned to the first queue is determined to be a first value. Based on the fact that the time at which the first workload is assigned to the first queue falls within the second time interval, the maximum number of nodes that can be assigned to the first queue is determined to be a second value different from the first value. The method according to claim 1.

4. Based on the fact that the second workload is assigned to each of the at least one queue, the first workload is the sum of the second workloads assigned to each of the at least one queue. The method according to claim 1.

5. Based on the fact that the time at which the third workload is assigned to the first queue falls within the third time interval, at least one third node is assigned to the first queue as a dedicated node. Based on the elapsed third time interval, at least one third node is set as a general-purpose node that can be assigned to the plurality of queues. The method according to claim 3.

6. The size of at least one third node is determined based on the type of specific task corresponding to the third workload assigned to the first queue, the importance of the specific task, and the size of the node matched to the first workload. The method according to claim 5.

7. A first intermediate value is obtained by applying a first weight to a numerical value indicating the importance of the aforementioned specific task. Based on the fact that the type of specific work corresponding to the third workload assigned to the first queue is associated with the third time interval, the final value is obtained by adding a predefined second intermediate value to the first intermediate value. The size of at least one third node is determined by adding the final value to the size of the node that matches the first workload. The method according to claim 6.

8. A step of generating a first block based on a first hash value corresponding to information associated with the at least one first node and the at least one second node that have been relocated to the first queue; A step of generating a second block based on a second hash value corresponding to information associated with at least one third node; and, The step of constructing a blockchain associated with the first queue by linking the second block to the first block; Includes The method according to claim 5.

9. A step of identifying a fourth queue among the plurality of queues that does not have a dedicated node set, based on the fact that the priority of the second task, based on the fourth workload assigned to the first queue, exceeds a first critical value; and, A step of rearranging the nodes corresponding to the fourth workload from among the multiple nodes assigned to the fourth queue to the first queue; Includes The method according to claim 1.

10. The process of performing a queue relocation further includes a step to configure the relocation to be maintained for a specific period of time before restoring the queue to its original state. The method according to claim 1.

11. This further includes a step to relocate the queue, taking into account at least one of the following: the number of GPUs, hardware specifications, network coverage, per-node software installation status, and software licenses. The method according to claim 1.

12. At least one memory; and, At least one processor; Includes, The at least one processor is Identify information for the first workload assigned to the first queue among multiple queues, The first or second workload is assigned to each of the queues, excluding the first queue, among the plurality of queues; Relocate at least one first node from among the multiple nodes assigned to the second queue that performs only the first or second workload from the at least one queue to the first queue; and, Based on the fact that the amount of work that can be processed by at least one first node does not match the first amount of work, the system is configured to reassign at least one second node from among the multiple nodes that have been assigned to a third queue that performs only the first or second amount of work from the at least one queue to the first queue. A control device characterized by the following features.