Job scheduling program, job scheduling method and information processing device
The job scheduling program in parallel processing systems addresses the issue of user job delays by prioritizing execution based on compatible software versions, enhancing system efficiency and reducing waiting times.
Patent Information
- Application Number
- JP2023036387
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-09
- Publication Date
- 2024-09-20
AI Technical Summary
In parallel processing systems, update jobs for control software such as OS or middleware can cause user jobs to wait for extended periods due to varying start times across nodes, leading to inefficiencies and delayed execution.
A job scheduling program identifies update jobs and user jobs based on control software versions and scheduled end times, calculating the startable time for user jobs when nodes with the same version become available, and prioritizing execution to minimize delays.
This approach reduces user job waiting times by ensuring nodes with compatible software versions are allocated together, improving system availability and preventing errors, while allowing update jobs to be executed at different times across nodes.
Smart Images

Figure 2024127312000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a job scheduling program, a job scheduling method, and an information processing apparatus. [Background technology]
[0002] One type of information processing system is a parallel processing system that includes multiple nodes that can execute threads in parallel. The parallel processing system may accept a user job from a user with a specified number of nodes to be used, and execute the user job by allocating the specified number of free nodes to the user job. If the specified number of free nodes are not available, the parallel processing system registers the user job in an execution queue and waits until the specified number of free nodes can be secured. The parallel processing system allocates nodes to multiple user jobs according to an appropriate scheduling algorithm, taking into account factors such as the waiting time of the user job and the efficiency of node usage.
[0003] A system has been proposed that dynamically modifies kernel code while an operating system (OS) that manages virtual memory is in operation.A patch application method has also been proposed that prevents two or more slave computers from simultaneously applying patches by selecting slave computers one by one from among multiple computers included in a cluster system and instructing them to apply patches to the OS.
[0004] A distributed processing system that automatically updates OS image data used in virtual machines has also been proposed.An OS update method has also been proposed that divides clients into multiple groups based on the number of clients, the release date of the new OS, and the end of support date of the old OS, and determines the update schedule for each group. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2000-293362 A [Patent Document 2] JP 2006-252437 A [Patent Document 3] US Patent Application Publication No. 2018 / 0349130 [Patent Document 4] US Patent Application Publication No. 2020 / 0241868 Summary of the Invention [Problem to be solved by the invention]
[0006] A parallel processing system may execute an update job for updating control software such as an OS or middleware for each of a plurality of nodes. At this time, since the time at which an active user job ends differs depending on the node, the parallel processing system may allow update jobs to be started at different times depending on the node.
[0007] However, if the start times of update jobs differ depending on the nodes, the update jobs of some nodes may cause user jobs that are registered in the parallel processing system after the update jobs to wait for a long time. Therefore, in one aspect, the present invention aims to shorten the waiting time of user jobs. [Means for solving the problem]
[0008] In one aspect, a job scheduling program is provided that causes a computer to execute the following processes: Identifying, from among a plurality of jobs waiting to be executed, an update job for updating control software of a target node among a plurality of nodes, and a user job specifying a number of nodes to be used, indicating the number of nodes to be used among the plurality of nodes; Calculating a possible start time at which the number of free nodes of a common version among the plurality of nodes is equal to or greater than the number of nodes to be used, based on the version of the control software of each of the plurality of nodes and the scheduled end time of one or more jobs being executed on each of the plurality of nodes; Determining whether to give priority to execution of the update job or the user job, based on the time required to execute the update job and the possible start time.
[0009] In one aspect, a job scheduling method executed by a computer is provided.In another aspect, an information processing device having a storage unit and a processing unit is provided. Effect of the Invention
[0010] On the one hand, the waiting time for user jobs is reduced. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is a diagram illustrating an information processing device according to a first embodiment. [Diagram 2] FIG. 11 illustrates an example of an information processing system according to a second embodiment. [Diagram 3] FIG. 2 is a block diagram showing an example of hardware of a scheduler. [Figure 4] FIG. 2 is a block diagram showing an example of the functions of a scheduler. [Diagram 5] 2 is a block diagram showing an example of functions of a patch processing server; [Figure 6] FIG. 11 is a diagram showing a first example of a job schedule. [Figure 7] FIG. 11 is a diagram showing a second example of a job schedule. [Figure 8] FIG. 13 is a diagram illustrating a third example of a job schedule. [Figure 9] FIG. 4 illustrates an example of a job table. [Figure 10] FIG. 13 illustrates an example of an active user job table. [Figure 11] FIG. 13 is a diagram illustrating an example of a schedule search table. [Figure 12] FIG. 11 is a diagram illustrating an example of a procedure for generating a patch job. [Figure 13] FIG. 4 illustrates an example of a job reception procedure. [Figure 14] FIG. 11 illustrates a first example of a procedure for job scheduling. [Figure 15] This is a diagram (continuation 1) showing a first example of a procedure for job scheduling. [Figure 16] This is a diagram (continuation 2) showing a first example of a procedure for job scheduling. [Figure 17] FIG. 11 illustrates a second example procedure for job scheduling. [Figure 18] This is a diagram (continued 1) showing a second example procedure for job scheduling. [Figure 19] This is a diagram (continued 2) showing a second example procedure for job scheduling. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] The present embodiment will be described below with reference to the drawings. [First embodiment] A first embodiment will be described.
[0013] FIG. 1 is a diagram illustrating an information processing apparatus according to a first embodiment. An information processing device 10 according to the first embodiment performs job scheduling to allocate free nodes to jobs in a parallel processing system including multiple nodes. The information processing device 10 may be a client device or a server device. The information processing device 10 may be called a computer or a job scheduler.
[0014] The information processing device 10 includes a storage unit 11 and a processing unit 12. The storage unit 11 may be a volatile semiconductor memory such as a random access memory (RAM), or may be a non-volatile storage such as a hard disk drive (HDD) or a flash memory.
[0015] The processing unit 12 is, for example, a processor such as a central processing unit (CPU), a graphics processing unit (GPU), or a digital signal processor (DSP). However, the processing unit 12 may include an electronic circuit such as an application specific integrated circuit (ASIC) or a field programmable gate array (FPGA). The processor executes a program stored in a memory such as a RAM (which may be the storage unit 11). A collection of processors may be called a multiprocessor or simply a "processor."
[0016] The storage unit 11 stores job information 13, 15 and node information 14. The job information 13 indicates a plurality of waiting jobs. The waiting jobs may be registered in an execution queue and may be arranged in the order of arrival in principle. The waiting jobs include an update job 13a and a user job 13b. The update job 13a may be at the top of the execution queue and the user job 13b may be a job after the update job 13a.
[0017] The update job 13a is a job for updating control software of a target node among multiple nodes included in a parallel processing system. The multiple nodes are computers that execute threads started by a specified program. A thread may also be called a process. Different nodes can execute different threads in parallel.
[0018] The control software is software used to execute a user program, such as an OS or middleware. The update job 13a, for example, upgrades the control software by applying a correction program indicating an update difference to the control software. The correction program may be called an update or a patch. The update job 13a is generated, for example, in response to a request from an administrator or a management computer of the parallel processing system. The information processing device 10 may generate the update job 13a. The update job is generated on a node-by-node basis, and update jobs that update different nodes may be started at different start times. Here, the update job 13a updates the control software of the second node.
[0019] The user job 13b is a job generated in response to a request from a user or a user computer. The user job 13b specifies, for example, a user program to be executed. The user job 13b specifies the number of nodes to be used. When the number of nodes to be used is two or more, for example, two or more nodes execute two or more threads started from the user program in parallel. Here, the number of nodes to be used specified by the user job 13b is two. The user job 13b may specify a maximum execution time. When the maximum execution time has elapsed from the start time, the execution of the user job 13b may be terminated.
[0020] Here, when the user job 13b uses two or more nodes, if the versions of the control software of the two or more nodes are different, the user job 13b may not be executed correctly due to the difference in the behavior of the control software. Therefore, nodes having a common version of the control software are assigned to the same user job.
[0021] The node information 14 indicates the version of the control software of each of the multiple nodes included in the parallel processing system. The version may be represented by a version number or a flag indicating whether a patch has been applied.
[0022] For example, the first node has version 14a, the second node has version 14b, and the third node has version 14c. Here, version 14a is the new version, and versions 14b and 14c are old versions. The version of each node indicated by the node information 14 changes depending on the execution of an update job. Since the start time of the update job differs depending on the node, the time when the version changes also differs depending on the node.
[0023] The job information 15 indicates the scheduled end time of each of one or more running jobs including the running job 15a. The running job 15a is a job that has been assigned to one or more nodes, started, and has not yet ended. The running job 15a may be a user job or an update job. Here, the running job 15a is being executed on the third node.
[0024] The scheduled end time of a user job is calculated based on, for example, the start time and the maximum execution time specified by the user. The scheduled end time may be the start time plus the maximum execution time. However, the information processing device 10 may refer to the history of past user jobs and estimate the scheduled end time from the type of user job, the size of the user program, etc.
[0025] The processing unit 12 identifies an update job 13a and a user job 13b from the job information 13. The processing unit 12 calculates a possible start time 16 for the user job 13b based on the versions 14a, 14b, and 14c indicated in the node information 14 and the scheduled end time of the running job 15a indicated in the job information 15. The possible start time 16 is the time when the number of free nodes having a common version among the multiple nodes becomes equal to or greater than the number of nodes in use.
[0026] For example, while the running job 15a is running, the first and second nodes are free nodes, and the third node is a used node. The control software of the first node is a new version, and the control software of the second node is an old version. Therefore, before the running job 15a ends, the number of free nodes having a common version is one, which is less than the number of used nodes of the user job 13b.
[0027] When the running job 15a ends, the first node, the second node, and the third node are free nodes. The control software of the first node is a new version, and the control software of the second node and the third node is an old version. Therefore, when the running job 15a ends, the number of free nodes having a common version becomes two, the second node and the third node, which reaches the number of nodes used by the user job 13b. Therefore, the possible start time 16 here is the scheduled end time of the running job 15a.
[0028] The processing unit 12 determines whether to give priority to execution of the update job 13a or the user job 13b, based on the required time 17 and the possible start time 16. The required time 17 is an estimated value of the execution time of the update job 13a. If an update job of the same version as the update job 13a has already been executed in another target node (e.g., the first node), the required time 17 may be a measured value of the execution time of the other target node. If an update job of the same version has not been executed, the required time 17 may be estimated from the contents or size of the update job 13a.
[0029] For example, if the waiting time until the possible start time 16 is shorter than the required time 17, executing update job 13a first may delay the start time of user job 13b by waiting for the end of update job 13a. Therefore, the processing unit 12 may hold update job 13a and determine to execute user job 13b with priority over update job 13a. On the other hand, if the required time 17 is shorter than the waiting time until the possible start time 16, executing update job 13a first is highly likely to not delay the start time of user job 13b. Therefore, the processing unit 12 may determine to execute update job 13a with priority over user job 13b.
[0030] As described above, the information processing device 10 of the first embodiment identifies the update job 13a and the user job 13b from among a plurality of jobs waiting to be executed. Based on the version of the control software of each node and the scheduled end time of the job being executed 15a, the information processing device 10 calculates the possible start time 16 at which the number of free nodes with the same version is equal to or greater than the number of nodes used by the user job 13b. Based on the required time 17 and possible start time 16 of the update job 13a, the information processing device 10 determines which of the update job 13a and the user job 13b is to be preferentially executed.
[0031] As a result, the update jobs are executed at different start times depending on the node. This improves the availability of the parallel processing system compared to a case where the operation of the parallel processing system is temporarily stopped and the update jobs of all the nodes are executed simultaneously. In addition, two or more nodes having a common version of control software are assigned to the user job 13b. This ensures the accuracy of the calculation results of the user job 13b.
[0032] Furthermore, the priority of the update job 13a is adjusted taking into consideration the possible start time 16 of the user job 13b. Therefore, compared to the case where the update job 13a and the user job 13b are simply executed in the order of arrival, delays in the user job 13b are suppressed and the waiting time is shortened.
[0033] The above priority determination may be performed when the update job 13a is the first job in the execution queue and the user job 13b is the job after the update job 13a in the execution queue. This prevents delays in the user job 13b that would occur if the update job 13a and the user job 13b were executed in the order of arrival.
[0034] Furthermore, the information processing device 10 may determine to execute the user job 13b with priority over the update job 13a when the waiting time until the possible start time 16 is shorter than the required time 17. This reduces the delay caused by the user job 13b waiting for the update job 13a to finish.
[0035] Furthermore, when the job information 15 includes other update jobs, the information processing device 10 may determine free nodes with a common version, taking into consideration changes in the versions of other target nodes due to the execution of the other update jobs. This allows the possible start time 16 to be accurately calculated under the constraint that a free node with a common version is assigned to the user job 13b.
[0036] [Second embodiment] Next, a second embodiment will be described. FIG. 2 illustrates an example of an information processing system according to the second embodiment.
[0037] The information processing system of the second embodiment includes a switch 31, a client device 32, a patch distribution server 33, a login server 34, a patch processing server 35, a plurality of nodes including nodes 41 to 45, and a scheduler 100.
[0038] The switch 31, the client device 32, and the patch distribution server 33 are connected to a network 30. The network 30 is, for example, a wide area data communication network such as the Internet. The login server 34, the patch processing server 35, the nodes 41 to 45, and the scheduler 100 are connected to the switch 31. The switch 31 is a wired communication device included in a LAN (Local Area Network). The switch 31 transfers packets. The scheduler 100 corresponds to the information processing device 10 of the first embodiment.
[0039] The client device 32 is a client computer used by a user of the information processing system. The client device 32 logs in to a login server 34 via a network 30. The client device 32 uses the login server to generate a user job request that specifies a user program, the number of nodes to be used, and the maximum execution time.
[0040] The patch distribution server 33 is a server computer that distributes OS patches. A patch may be called a correction program or a correction module. The patch distribution server 33 receives access via the network 30. In response to the access, the patch distribution server 33 transmits the patch itself and specification information such as the patch version number and application conditions.
[0041] The login server 34 is a front-end server computer that accepts access from a user. The login server 34 authenticates the client device 32. If the authentication is successful, the login server 34 accepts specifications such as a user program, the number of nodes to be used, and the maximum execution time from the client device 32. The login server 34 generates a user job request based on these specifications and transmits it to the scheduler 100.
[0042] The patch processing server 35 is a server computer that applies new patches to the nodes 41 to 45. However, the information processing system may have a client computer used by an administrator instead of the patch processing server 35. In addition, the function of the patch processing server 35 may be incorporated into the scheduler 100.
[0043] The patch processing server 35 periodically accesses the patch distribution server 33 to determine whether a new patch has been distributed. If a new patch has been distributed, the patch processing server 35 determines whether the nodes 41 to 45 satisfy the application conditions for the new patch. The patch processing server 35 generates a patch job request for applying a patch to the nodes that satisfy the application conditions, and transmits it to the scheduler 100. A patch job request is generated for each node.
[0044] The nodes 41 to 45 are server computers that execute a specified program. The nodes 41 to 45 are sometimes called computing nodes. An OS is installed in the nodes 41 to 45. The nodes 41 to 45 may be assigned to the same or different user jobs. Each node is not assigned to two or more user jobs at the same time. In addition, the nodes 41 to 45 may be assigned to a patch job. A node that is executing a patch job is not assigned to a user job until the patch job is finished.
[0045] The scheduler 100 is a server computer that performs job scheduling to allocate multiple jobs to nodes 41 to 45. The scheduler 100 accepts a user job request from the login server 34 and registers the user job at the end of the waiting job list. The scheduler 100 also accepts a patch job request from the patch processing server 35 and registers the patch job at the end of the waiting job list.
[0046] The scheduler 100 monitors the execution status of jobs in the nodes 41 to 45. In principle, the scheduler 100 assigns one or more nodes to a job, preferentially from the top of the waiting job list, that is, in principle, in the order of arrival. If the top job is a user job, when there are free nodes equal to or greater than the specified number of nodes to be used, the scheduler 100 assigns free nodes to the user job as many as the number of nodes to be used. However, nodes with different OS versions are not assigned to the same user job. Therefore, all nodes assigned to a user job are either before patches have been applied or after patches have been applied.
[0047] Furthermore, if the leading job is a patch job, when the node to which the patch is to be applied becomes an available node, the scheduler 100 causes the node to which the patch is to be applied to execute the patch job. However, as described below, the scheduler 100 may temporarily hold the patch job and cause a user job that arrives after the patch job to be executed first.
[0048] When a previous user job cannot be executed due to a lack of free nodes, the scheduler 100 applies an arrival time priority policy or an executability priority policy to the subsequent user job. The arrival time priority policy does not execute a subsequent user job that is executable by overtaking a previous user job that is not executable. The executability priority policy may execute a subsequent user job that is executable by overtaking a previous user job that is not executable. The process of a subsequent user job overtaking an earlier user job is sometimes called backfilling.
[0049] The scheduler 100 of the second embodiment selects the arrival time priority policy as the scheduling policy in principle. However, as described later, the scheduler 100 may select the executability priority policy. The scheduler 100 may use these scheduling policies according to instructions from the administrator.
[0050] FIG. 3 is a block diagram illustrating an example of hardware of a scheduler. The scheduler 100 has a CPU 101, a RAM 102, a HDD 103, a GPU 104, an input interface 105, a medium reader 106, and a communication interface 107, all connected to a bus. The CPU 101 corresponds to the processing unit 12 in the first embodiment. The RAM 102 or the HDD 103 corresponds to the storage unit 11 in the first embodiment. The client device 32, the patch distribution server 33, the login server 34, the patch processing server 35, and the nodes 41 to 45 may each have hardware similar to that of the scheduler 100.
[0051] The CPU 101 is a processor that executes instructions of a program. The CPU 101 loads the program and data stored in the HDD 103 into the RAM 102, and executes the program. The scheduler 100 may have multiple processors.
[0052] The RAM 102 is a volatile semiconductor memory that temporarily stores programs executed by the CPU 101 and data used in calculations by the CPU 101. The scheduler 100 may have a type of volatile memory other than a RAM.
[0053] The HDD 103 is a non-volatile storage that stores software programs and other data. The software includes an OS, middleware, application software, etc. The scheduler 100 may have other types of non-volatile storage, such as a flash memory or an SSD (Solid State Drive).
[0054] The GPU 104 performs image processing in cooperation with the CPU 101, and outputs images to a display device 111 connected to the scheduler 100. The display device 111 is, for example, a CRT (Cathode Ray Tube) display, a liquid crystal display, an organic EL (Electro Luminescence) display, or a projector. Other types of output devices, such as a printer, may be connected to the scheduler 100.
[0055] Furthermore, the GPU 104 may be used as a general purpose computing on graphics processing unit (GPGPU). The GPU 104 may execute a program in response to an instruction from the CPU 101. The scheduler 100 may include a volatile semiconductor memory other than the RAM 102 as a GPU memory.
[0056] The input interface 105 receives an input signal from an input device 112 connected to the scheduler 100. The input device 112 is, for example, a mouse, a touch panel, or a keyboard. A plurality of input devices may be connected to the scheduler 100.
[0057] The medium reader 106 is a reading device that reads the program and data recorded on the recording medium 113. The recording medium 113 is, for example, a magnetic disk, an optical disk, or a semiconductor memory. The magnetic disk includes a flexible disk (FD) and a HDD. The optical disk includes a compact disc (CD) and a digital versatile disc (DVD). The medium reader 106 copies the program and data read from the recording medium 113 to another recording medium such as the RAM 102 or the HDD 103. The read program may be executed by the CPU 101.
[0058] The recording medium 113 may be a portable recording medium. The recording medium 113 may be used for distributing programs and data. The recording medium 113 and the HDD 103 may be called computer-readable recording media.
[0059] The communication interface 107 is a wired communication interface connected to the switch 31 via a cable. The communication interface 107 communicates with the login server 34, the patch processing server 35, and the nodes 41 to 45 via the switch 31. However, the scheduler 100 may have a wireless communication interface connected to a wireless communication device such as a base station or an access point.
[0060] FIG. 4 is a block diagram illustrating an example of the functions of the scheduler. The scheduler 100 has a job information storage unit 121, a node information storage unit 122, a job history storage unit 123, and a patch history storage unit 124. These storage units are implemented using, for example, a RAM 102 or a HDD 103. The scheduler 100 also has a job reception unit 131, a job management unit 132, a node management unit 133, a job execution unit 134, an execution feasibility determination unit 135, a start time calculation unit 136, an end time determination unit 137, and a patch time determination unit 138. These processing units are implemented using, for example, a CPU 101, a communication interface 107, and a program.
[0061] The job information storage unit 121 stores information on jobs waiting to be executed and jobs currently being executed. The information on jobs waiting to be executed includes the job type, the number of nodes used, and the required time. The job type is a patch job or a user job. The information on jobs currently being executed includes the job type, the nodes used, the required time, and the start time.
[0062] The node information storage unit 122 stores information indicating the current state of the nodes 41 to 45. The current state information includes the current OS version number. The current state information also includes a flag indicating whether the node is free or not, and if the node is not free, includes the job name of the job being executed.
[0063] The job history storage unit 123 stores the execution history of user jobs. The execution history includes job characteristic information such as the job name and program size. The execution history also includes the measured execution time of the user job. The patch history storage unit 124 stores the execution history of patch jobs. The execution history includes patch characteristic information such as the version number and patch type. The patch type is, for example, the patch purpose such as function addition, security response, bug fix, etc. The execution conditions also include the measured execution time of the patch job.
[0064] The job receiving unit 131 receives a user job request from the login server 34. The job receiving unit 131 also receives a patch job request from the patch processing server 35. The job receiving unit 131 outputs the received job request to the job management unit 132.
[0065] The job management unit 132 manages information on jobs waiting to be executed and jobs currently being executed. The job management unit 132 acquires a job request from the job receiving unit 131, and registers a job that meets the conditions specified by the job request at the end of the waiting job list. When a job is determined to be executable by the execution feasibility determination unit 135, the job management unit 132 assigns a free node to the job. The job management unit 132 deletes the job from the waiting job list and manages it as a currently being executed job, and instructs the job execution unit 134 to execute the job.
[0066] The node management unit 133 collects and manages information on the current state from the nodes 41 to 45. The node management unit 133 may actively collect information by periodically accessing the nodes 41 to 45. Alternatively, the node management unit 133 may passively receive information from the nodes 41 to 45 when the nodes 41 to 45 start a new job or finish an existing job.
[0067] Job execution unit 134 causes nodes 41 to 45 to execute jobs in response to instructions from job management unit 132. Job execution unit 134 notifies the node assigned by job management unit 132 of the job name, the program to be executed, and the maximum execution time. The assigned node starts the notified program. The assigned node ends the job when the program stops or the maximum execution time has elapsed.
[0068] The execution possibility determination unit 135 determines whether a waiting job registered in the waiting job list can be executed. For a user job, the execution possibility determination unit 135 determines that the user job is executable if there are free nodes with the same OS version number equal to or greater than the number of nodes in use. For a patch job, the execution possibility determination unit 135 determines that the patch job is executable if the node to which the patch is to be applied is a free node. However, the execution possibility determination unit 135 may temporarily suspend an executable patch job, as described below.
[0069] The start time calculation unit 136 calculates the earliest possible start time of a waiting user job from information on the job being executed and information on the current state of the nodes 41 to 45. If a user job is not currently executable, the user job can be executed by waiting for other user jobs or patch jobs that are being executed to finish. The earliest possible start time is an estimate of the earliest time that the user job can be executed when the waiting patch jobs are put on hold. The possible start time may be expressed in absolute time, elapsed time from a reference time, or remaining time from the current time.
[0070] The end time determination unit 137 determines the end time of a user job that is being executed. In principle, the end time determination unit 137 calculates the end time by adding the maximum execution time to the start time. However, the end time determination unit 137 may estimate the execution time by referring to the execution history of past user jobs. For example, the end time determination unit 137 estimates the execution time of the user job from the average execution time of past user jobs with similar job names.
[0071] Also, for example, the end time determination unit 137 estimates the execution time from the size of the user program. Also, the end time determination unit 137 may estimate the execution time by acquiring the progress of the user job from the node assigned to the user job. Examples of the progress information include the amount of the executed program and the amount of processed data. Note that the end time may be expressed as an absolute time, an elapsed time from a reference time, or a remaining time from the current time.
[0072] The patch time determination unit 138 determines the required time for a patch job waiting to be executed. When a patch of a certain version has not been applied to any node, the patch time determination unit 138 estimates the required time by referring to the execution history of past patch jobs. For example, the patch time determination unit 138 estimates the required time for the patch job from the average execution time of past patch jobs of the same patch type. When a patch of a certain version has been applied to at least one node, the patch time determination unit 138 uses the execution time of past patch jobs of the same version.
[0073] FIG. 5 is a block diagram illustrating an example of the functions of the patch processing server. The patch processing server 35 includes a patch monitoring unit 141, a patch information receiving unit 142, a patch job generating unit 143, and a patch job requesting unit 144. These processing units are implemented using, for example, a CPU, a communication interface, and a program.
[0074] The patch monitoring unit 141 periodically accesses the patch distribution server 33 to determine whether the patch distribution server 33 has started distributing a new patch. When a new patch is detected by the patch monitoring unit 141, the patch information receiving unit 142 receives specification information from the patch distribution server 33. The patch information receiving unit 142 determines whether each of the nodes 41 to 45 satisfies the application conditions. The application conditions include a hardware condition indicating that specific hardware is included, and a software condition indicating that a specific version of software is included.
[0075] The patch job generator 143 generates a patch job request for applying a new patch to each node that satisfies the application conditions. The patch job request specifies the node to which the patch is to be applied and the patch body. The patch body may be received by the patch processing server 35 or by each individual node.
[0076] The patch job request unit 144 transmits the patch job request generated by the patch job generating unit 143 to the scheduler 100 . Next, job scheduling will be described.
[0077] FIG. 6 is a diagram showing a first example of a job schedule. Here, we consider a case where user jobs and patch jobs are executed in the order in which they arrive, regardless of the patch type. Graph 151 shows an example of a job schedule in this case.
[0078] The scheduler 100 accepts user job a at time t1. Time t1 is a reference time, and represents 0 o'clock (0h). The number of nodes used by user job a is 5, and the execution time is 2 hours. The scheduler 100 assigns nodes 41 to 45 to user job a.
[0079] The scheduler 100 accepts user jobs b, c, d, and e in that order by time t2. User job b uses 1 node and has an execution time of 1 hour. User job c uses 1 node and has an execution time of 3.5 hours. User job d uses 1 node and has an execution time of 2.5 hours. User job e uses 2 nodes and has an execution time of 3 hours. Time t2 represents 2 o'clock (2h). Since nodes 41 to 45 are in use until time t2, user jobs b, c, d, and e are waiting to be executed.
[0080] At time t2, nodes 41 to 45 become free nodes. The scheduler 100 assigns node 41 to user job b, node 42 to user job c, node 43 to user job d, and nodes 44 and 45 to user job e. The scheduler 100 accepts patch job p, which is to be applied to nodes 41 to 45, by time t3 (3h). The execution time of patch job p is 1.2 hours. Since nodes 41 to 45 are in use until time t3, patch job p is in a waiting state for execution.
[0081] At time t3, node 41 becomes an available node. Because patch job p is at the top of the waiting job list, scheduler 100 has node 41 execute patch job p. Scheduler 100 accepts user job f by time t4. The number of nodes using user job f is 3, and the execution time is 2 hours. Time t4 represents 4.2 o'clock (4.2h). Because nodes 41 to 45 are in use until time t4, patch job p and user job f for nodes 42 to 45 are waiting to be executed.
[0082] At time t4, node 41 becomes a free node. However, since node 41 has already been patched and there is only one free patched node, there is no job that can be executed using node 41. At time t5, node 43 becomes a free node. Time t5 represents 4.5 o'clock (4.5h). Here, since patch job p is at the top of the waiting job list, scheduler 100 causes node 43 to execute patch job p.
[0083] At time t6, nodes 44 and 45 become free nodes. Time t6 represents 5 o'clock (5h). Here, patch job p is at the top of the waiting job list, so the scheduler 100 causes nodes 44 and 45 to execute patch job p. After that, nodes 42 and 43 become free nodes. The scheduler 100 causes node 42 to execute patch job p. In addition, node 43 has already been patched, and there are only two free nodes that have been patched, so there are no jobs that can be executed using node 43.
[0084] At time t7, nodes 44 and 45 become free nodes. Time t7 represents 6.2 o'clock (6.2h). Because nodes 44 and 45 have been patched and there are four free patched nodes, the scheduler 100 assigns three of nodes 41, and 43 to 45 to user job f. For example, the scheduler 100 assigns nodes 41, 43, and 44 to user job f. After that, the patch job p at node 42 is completed, and user jobs f at nodes 41, 43, and 44 are completed.
[0085] Here, if patch job p does not exist, user job f can start at time t6. In contrast, in the above example, patch job p arrives at the scheduler 100 before user job f, so the start of user job f is delayed until time t7, and the waiting time is 1.2 hours longer. In addition, the patches that patch job p applies to nodes 41 to 45 are not necessarily patches with a high level of urgency. In this way, the waiting time of user jobs following the patch job may become long.
[0086] Therefore, the scheduler 100 calculates the earliest possible start time of a user job following the patch job, and determines whether or not to execute the subsequent user job with priority based on the relationship between the earliest possible start time and the required time of the patch job. If the waiting time until the earliest possible start time is shorter than the required time, the scheduler 100 puts the patch job on hold to shorten the waiting time of the subsequent user job. On the other hand, if the waiting time until the earliest possible start time is equal to or longer than the required time, the patch job does not affect the subsequent user job, so the scheduler 100 starts the patch job before the subsequent user job.
[0087] FIG. 7 is a diagram showing a second example of a job schedule. Here, consider a case where the scheduler 100 temporarily holds a patch job that arrives before a user job. Graph 152 shows an example of a job schedule in this case. The arrival times of user jobs a, b, c, d, e, and f and patch job p, and the job schedule up to time t5 are the same as those in graph 151.
[0088] At time t5, node 43 becomes a free node. At time t5, there is only one free node with a patch applied, node 41, and only one free node with an unpatched node applied, node 43. Therefore, user job f cannot be executed at time t5. However, nodes 44 and 45 are scheduled to become free nodes at time t6. Then, there are three free nodes with an unpatched node applied, nodes 43 to 45, and user job f can be executed.
[0089] In this way, at time t5, the scheduler 100 calculates that the earliest possible start time for user job f, which follows patch job p, is time t6. The scheduler 100 compares the waiting time from time t5 to time t6, which is 0.5 hours, with the time required for patch job p, which is 1.2 hours, and determines that the former is shorter. Therefore, the scheduler 100 suspends patch job p for node 43.
[0090] At time t6, nodes 44 and 45 become free nodes. At time t6, there is one free node to which the patch has been applied, node 41, and there are three free nodes to which the patch has not been applied, nodes 43 to 45. Therefore, user job f is executable at time t6. Therefore, the scheduler 100 reserves patch job p for nodes 44 and 45, and assigns nodes 43 to 45 to user job f.
[0091] Thereafter, when user job c ends and node 42 becomes an empty node, the scheduler 100 causes node 42 to execute patch job p. Also, when user job f ends and nodes 43 to 45 become empty nodes, the scheduler 100 causes each of nodes 43 to 45 to execute patch job p. In this way, compared to the case of graph 151, the start time of user job f has been brought forward from time t7 to time t6.
[0092] Note that, when the patch to be applied to the nodes 41 to 45 by the patch job p is of high urgency, such as a security patch, the scheduler 100 may start the patch job p with priority over the subsequent user job f. Depending on the situation, the patch job p for some nodes may be executed first to increase the number of nodes to which the patch has been applied, which may result in an earlier start time than if all remaining patch jobs p are put on hold.
[0093] FIG. 8 is a diagram showing a third example of a job schedule. Here, as in graph 152, consider a case where the scheduler 100 temporarily holds a patch job that arrives before a user job. Graph 153 shows an example of a job schedule in this case. However, the execution time of user job c has been extended from 3.5 hours to 4.5 hours. Also, the arrival time of user job f has been delayed from between time t3 and time t4 to between time t5 and time t6.
[0094] At time t5, user job f has not yet arrived, so scheduler 100 has node 43 execute patch job p. At time t6, nodes 44 and 45 become free nodes. If three free nodes to which a patch has not been applied are to be secured, scheduler 100 will suspend patch job p at nodes 44 and 45 and wait for node 42 to become a free node. In this case, the possible start time is 6.5 o'clock (6.5h).
[0095] On the other hand, if three or more free nodes to which the patch has been applied are secured, the scheduler 100 causes nodes 44 and 45 to execute patch job p, and waits for nodes 44 and 45 to become free nodes. In this case, the start time is time t7. Therefore, the earliest start time for user job f is time t7, and the scheduler 100 starts patch job p for nodes 44 and 45 before user job f, without suspending it.
[0096] The job schedule of graph 153 can be achieved within the scope of the scheduling algorithm described in graph 152. If all unexecuted patch jobs p are put on hold at time t6, a maximum of two patched free nodes can be secured, and a maximum of three unpatched free nodes can be secured. Therefore, at time t6, the scheduler 100 considers 6:00, when nodes 42, 44, and 45 become free nodes, to be the earliest possible start time for user job f.
[0097] Since the waiting time until the earliest possible start time is longer than the time required for patch job p, the scheduler 100 causes nodes 44 and 45 to execute patch job p. At time t7, nodes 44 and 45 become free nodes. At time t7, nodes 41, 43 to 45 are free nodes to which the patch has been applied, and therefore user job f can be executed. Therefore, the scheduler 100 assigns nodes 41, 43, and 44 to user job f. As a result, user job f is executed earlier than the earliest possible start time estimated at time t6. However, the scheduler 100 may calculate the earliest possible start time as time t7 by considering a pattern in which patch job p of some nodes is executed first at time t6.
[0098] FIG. 9 is a diagram illustrating an example of a job table. The job table 154 is stored in the job information storage unit 121. The job table 154 includes a number of records, each of which includes a job type, a job name, a required time, and the number of nodes. One record corresponds to one job. However, for simplicity, a patch job for multiple nodes is represented by one record here.
[0099] The job type indicates a user job or a patch job. The job name is an identifier that identifies the job. The required time is an estimate of the execution time of the job. The required time of a user job is, for example, the maximum execution time specified by the user. The required time of a patch job is, for example, the execution time on the node to which the patch was first applied. However, if there is no node to which a patch has been applied, the required time of a patch job is the execution time of a past patch job of the same type. The number of nodes is the number of nodes used by the job. The number of nodes of a user job is the number of nodes used specified by the user. The number of nodes of a patch job is the number of nodes to which the patch should be applied that have not yet been patched.
[0100] FIG. 10 is a diagram illustrating an example of a running user job table. The active user job table 155 is stored in the job information storage unit 121. The active user job table 155 includes a plurality of records, each of which includes a job name, the number of nodes, and the remaining time. One record corresponds to one user job.
[0101] The job name is an identifier that identifies the user job. The number of nodes is the number of nodes assigned to the user job. The remaining time is the time from the current time to the scheduled end time. The scheduled end time is the time obtained by adding the required time to the start time.
[0102] FIG. 11 is a diagram illustrating an example of a schedule search table. The schedule search table 156 may be generated by the start time calculation unit 136. The schedule search table 156 is used to calculate the earliest possible start time of a user job. The example of the schedule search table 156 in FIG. 11 is for calculating the earliest possible start time of a user job f at time t5 in the graph 152.
[0103] The schedule search table 156 includes a plurality of records each including a pattern number, a node set, a node requiring patch, a patch end time, a job end time, and a possible start time. One record corresponds to one pattern of nodes to be assigned to a user job.
[0104] The pattern number is an identification number that identifies the pattern. The node set is a combination of nodes to be assigned to a user job. The node set includes the number of nodes required by the user job. If the node set includes both patched nodes and unpatched nodes, the nodes that need to be patched are the nodes in the node set that are unpatched. A node that is running a patch job is classified as a patched node. If the node set includes only patched nodes or only unpatched nodes, there are no nodes that need to be patched.
[0105] The patch end time is the scheduled end time of the latest patch job that will finish when a patch job is executed by a node requiring a patch. The job end time is the scheduled end time of the latest job that will finish among the jobs currently being executed by a node group. Jobs currently being executed include user jobs and patch jobs. The possible start time is the later of the patch end time and the job end time. The earliest possible start time among the possible start times listed in the schedule search table 156 is the shortest possible start time of the user job.
[0106] Next, the processing procedure of the information processing system will be described. FIG. 12 is a diagram showing an example of a procedure for generating a patch job. (S10) The patch monitoring unit 141 accesses the patch distribution server 33 and checks whether the patch distribution server 33 has started distributing a new patch.
[0107] (S11) The patch monitoring unit 141 determines whether or not there is a new patch. If there is a new patch, the process proceeds to step S12, and if there is no new patch, the process ends. (S12) The patch information receiving unit 142 receives specification information of a new patch. The patch information receiving unit 142 selects one node. The patch information receiving unit 142 determines whether the selected node is a target for patch application. If the selected node is a target for patch application, the process proceeds to step S13; if the selected node is not a target for patch application, the process proceeds to step S17.
[0108] (S13) The patch job generating unit 143 determines the urgency of the patch from the specification information. (S14) The patch job generating unit 143 generates a patch job request for updating the OS of the node selected in step S12. The patch job request specifies the node to which the patch is to be applied and the modification program to be executed.
[0109] (S15) The patch job generation unit 143 assigns a priority to the patch job request according to the urgency determined in step S13. For example, if the urgency of the patch is high, the patch job generation unit 143 assigns a priority indicating the urgency level to the patch job request, and if the urgency of the patch is medium or low, the patch job generation unit 143 assigns a priority indicating the normal level to the patch job request.
[0110] (S16) The patch job request unit 144 transmits the patch job request generated in steps S13 to S15 to the scheduler 100. (S17) The patch information receiving unit 142 determines whether all nodes have been confirmed in step S12. If all nodes have been confirmed, the process ends. If there are unconfirmed nodes, the process returns to step S12, and another node is selected.
[0111] FIG. 13 is a diagram showing an example of a job reception procedure. (S20) The job receiving unit 131 receives a job request. The received job request is the above-mentioned patch job request or a user job request from the login server 34. The user job request specifies a user program, the number of nodes to be used, and the maximum execution time.
[0112] (S21) The job management unit 132 registers the job indicated by the job request received in step S20 at the end of the waiting job list. (S22) The job management unit 132 sorts the jobs registered in the waiting job list in descending order of priority. In the waiting job list, urgent level jobs are lined up before normal level jobs. Jobs of the same priority are lined up in the order of earliest registration time.
[0113] FIG. 14 is a diagram illustrating a first example of a procedure for job scheduling. Here, a case will be described in which the scheduler 100 selects the arrival time priority policy. The processing procedures in FIGS.
[0114] (S30) The execution possibility determination unit 135 checks the current state of the node. (S31) The execution possibility determination unit 135 determines whether there is one or more free nodes. If there is a free node, the process proceeds to step S32, and if there is no free node, the process ends.
[0115] (S32) The execution possibility determination unit 135 checks the waiting job list. (S33) Execution possibility determination unit 135 determines whether the waiting job list is empty. If the waiting job list is empty, the process ends, and if not, the process proceeds to step S34.
[0116] (S34) The executability determining unit 135 selects the top job from the waiting job list. (S35) Execution possibility determination unit 135 determines whether the job type of the top job selected in step S34 is a patch job. If the top job is a patch job, the process proceeds to step S38, and if it is a user job, the process proceeds to step S36.
[0117] (S36) The executability determining unit 135 classifies the available nodes by the patch version number, thereby classifying the available nodes into patched nodes and unpatched nodes. (S37) The execution possibility determination unit 135 determines whether or not there is a group that includes more nodes than the number of nodes used by the user job selected in step S34 among the groups classified in step S36. If there is a corresponding group, the process proceeds to step S52, and if there is no corresponding group, the process ends.
[0118] (S38) The execution possibility determination unit 135 determines whether the patch application target of the patch job selected in step S34 is an available node. If the patch application target is an available node, the process proceeds to step S40, and if not, the process proceeds to step S39.
[0119] (S39) The job management unit 132 moves the patch job selected in step S34 to the end of the patch jobs included in the queued job list, and then the process ends. FIG. 15 is a diagram (continuation 1) showing a first example of a procedure for job scheduling.
[0120] (S40) The execution possibility determination unit 135 determines whether the priority of the patch job selected in step S34 is at the emergency level. If the priority is at the emergency level, the process proceeds to step S53, and if not, the process proceeds to step S41.
[0121] (S41) In the following step S42, the execution possibility determination unit 135 determines whether all jobs included in the waiting job list have been confirmed. If all jobs have been confirmed, the process proceeds to step S53, and if there are any unconfirmed jobs, the process proceeds to step S42.
[0122] (S42) The executability determining unit 135 selects the job immediately following the currently selected job from the queued job list. (S43) The execution possibility determination unit 135 determines whether the job type of the subsequent job selected in step S42 is a user job. If the subsequent job is a user job, the process proceeds to step S44, and if it is a patch job, the process returns to step S41.
[0123] (S44) The executability determining unit 135 classifies the available nodes by patch version number. (S45) The execution possibility determination unit 135 determines whether or not there is a group that includes more nodes than the number of nodes used by the user job selected in step S42 among the groups classified in step S44. If there is a corresponding group, the process proceeds to step S52, and if there is no corresponding group, the process proceeds to step S46.
[0124] (S46) The patch time determination unit 138 determines the patch time required for the patch job selected in step S34. The patch time required is the execution time of a past patch of the same type, or the execution time when a patch of the same version number is applied to the first node.
[0125] (S47) The start time calculation unit 136 classifies the nodes by patch version number. The nodes classified here include both free nodes and nodes in use. (S48) The start time calculation unit 136 generates combinations including the same number of nodes as the number of nodes used by the user job selected in step S42, from among the groups with the same patch version number.
[0126] (S49) The end time determination unit 137 determines the end time of the job being executed. The end time of a user job is, for example, the time obtained by adding the maximum execution time to the start time. The end time of a patch job is the time obtained by adding the required time to the start time.
[0127] (S50) The start time calculation unit 136 identifies the latest end time as a possible start time for each node combination generated in step S48. The start time calculation unit 136 determines the node combination with the earliest possible start time and its shortest possible start time.
[0128] (S51) The execution possibility determination unit 135 determines whether the waiting time until the earliest possible start time determined in step S50 is less than the patch required time determined in step S46. If the waiting time is less than the patch required time, the process proceeds to step S55, and if the waiting time is equal to or greater than the patch required time, the process proceeds to step S53.
[0129] FIG. 16 is a diagram (continuation 2) showing a first procedure example of job scheduling. (S52) The job management unit 132 assigns to the user job selected in step S34 or step S42, free nodes with the same patch version number as the number of nodes used by the user job. The job execution unit 134 instructs the assigned nodes to execute the user job. Then, the process proceeds to step S54.
[0130] (S53) The job execution unit 134 instructs the nodes to which the patches of the patch job selected in step S34 are to be applied to execute the patch job. (S54) The job management unit 132 deletes the user job of step S52 or the patch job of step S53 from the waiting job list, and the process ends.
[0131] (S55) The job management unit 132 moves the user job selected in step S42 to the top of the waiting job list, which puts the execution of the patch job on hold, and the user job will be executed as soon as the shortage of available nodes is resolved.
[0132] FIG. 17 is a diagram illustrating a second procedure example of job scheduling. Here, a case will be described where the scheduler 100 selects the execution possibility priority policy. The processing procedures in FIGS.
[0133] (S60) The execution possibility determination unit 135 checks the current state of the node. (S61) The execution possibility determination unit 135 determines whether there is one or more free nodes. If there is a free node, the process proceeds to step S62, and if there is no free node, the process ends.
[0134] (S62) The execution possibility determining unit 135 checks the waiting job list. (S63) Execution possibility determination unit 135 determines whether the waiting job list is empty. If the waiting job list is empty, the process ends, and if not, the process proceeds to step S64.
[0135] (S64) Execution possibility determination unit 135 selects a target job from the waiting job list. The initial value of the target job is the first job in the waiting job list. However, the target job may be changed in step S68 described later.
[0136] (S65) The execution possibility determination unit 135 determines whether the job type of the target job selected in step S64 is a patch job. If the target job is a patch job, the process proceeds to step S69, and if it is a user job, the process proceeds to step S66.
[0137] (S66) The execution feasibility determination unit 135 calculates the number of available nodes for each patch version using a method similar to that of steps S36 and S37 described above, and compares the number of available nodes with the number of nodes used by the user job selected in step S64 to determine whether the job can be executed.
[0138] (S67) The executability determination unit 135 determines whether the user job selected in step S64 is currently executable. If it is executable, the process proceeds to step S83, and if it is not executable, the process proceeds to step S68.
[0139] (S68) The execution possibility determination unit 135 changes the target job to the job immediately following the currently selected user job in the waiting job list, and the process then ends. (S69) The execution possibility determination unit 135 determines whether the patch application target of the patch job selected in step S64 is an empty node. If the patch application target is an empty node, the process proceeds to step S71. If not, the process proceeds to step S70.
[0140] (S70) The job management unit 132 moves the patch job selected in step S64 to the end of the patch jobs included in the queued job list, and then the process ends. FIG. 18 is a diagram (continuation 1) showing a second procedure example of job scheduling.
[0141] (S71) The execution possibility determination unit 135 determines whether the priority of the patch job selected in step S64 is at the emergency level. If the priority is at the emergency level, the process proceeds to step S84, and if not, the process proceeds to step S72.
[0142] (S72) In the following step S73, the execution possibility determination unit 135 determines whether all jobs included in the waiting job list have been confirmed. If all jobs have been confirmed, the process proceeds to step S77. If there are any unconfirmed jobs, the process proceeds to step S73.
[0143] (S73) The execution possibility determination unit 135 selects a job succeeding the currently selected job from the waiting job list. The succeeding job selected first here is the job succeeding the patch job selected in step S64.
[0144] (S74) The execution possibility determination unit 135 determines whether the job type of the subsequent job selected in step S73 is a user job. If the subsequent job is a user job, the process proceeds to step S75, and if it is a patch job, the process returns to step S72.
[0145] (S75) The execution feasibility determination unit 135 calculates the number of available nodes for each patch version using a method similar to that of steps S44 and S45 described above, and compares the number of available nodes with the number of nodes used by the user job selected in step S73 to determine whether the job can be executed.
[0146] (S76) The executability determination unit 135 determines whether the user job selected in step S73 is currently executable. If it is executable, the process proceeds to step S83, and if it is not executable, the process returns to step S72.
[0147] (S77) The patch time determination unit 138 determines the patch time required for the patch job selected in step S64. The patch time required is the execution time of a past patch of the same type, or the execution time when a patch of the same version number is applied to the first node.
[0148] (S78) In the following step S79, the execution possibility determination unit 135 determines whether all jobs included in the waiting job list have been confirmed. If all jobs have been confirmed, the process proceeds to step S84. If there are any unconfirmed jobs, the process proceeds to step S79.
[0149] (S79) The execution possibility determination unit 135 selects a job succeeding the currently selected job from the queued job list. The succeeding job selected first here is the job succeeding the patch job selected in step S64.
[0150] (S80) The execution possibility determination unit 135 determines whether the job type of the subsequent job selected in step S79 is a user job. If the subsequent job is a user job, the process proceeds to step S81, and if it is a patch job, the process returns to step S78.
[0151] (S81) The start time calculation unit 136 calculates the earliest possible start time of the user job selected in step S79, in the same manner as in step S48 described above, and calculates the waiting time from the current time to the earliest possible start time.
[0152] (S82) The execution possibility determination unit 135 determines whether the waiting time calculated in step S81 is less than the patch required time determined in step S77. If the waiting time is less than the patch required time, the process proceeds to step S86, and if the waiting time is equal to or greater than the patch required time, the process returns to step S78.
[0153] FIG. 19 is a diagram (continuation 2) showing a second procedure example of job scheduling. (S83) The job management unit 132 assigns to the user job selected in step S64 or step S73, free nodes with the same patch version number as the number of nodes used by the user job. The job execution unit 134 instructs the assigned nodes to execute the user job. Then, the process proceeds to step S85.
[0154] (S84) The job execution unit 134 instructs the nodes to which the patches of the patch job selected in step S64 are to be applied to execute the patch job. (S85) The job management unit 132 deletes the user job of step S83 or the patch job of step S84 from the waiting job list, and the process then ends.
[0155] (S86) The job management unit 132 moves the user job selected in step S79 to the top of the waiting job list, which puts the execution of the patch job on hold, and the user job will be executed as soon as the shortage of available nodes is resolved.
[0156] As described above, the scheduler 100 of the second embodiment does not execute patch jobs for all nodes at the same time, but allows patch jobs to be executed at different start times depending on the node. This eliminates the need for an administrator to stop the operation of the information processing system, improving the availability of the information processing system. In addition, the scheduler 100 assigns nodes having OSes with the same patch version number to user jobs that use two or more nodes. This reduces errors caused by differences in patch version numbers.
[0157] Furthermore, even if the patch job at the top of the waiting job list is immediately executable but the subsequent user job is not, the scheduler 100 may temporarily hold the patch job and wait for the user job to become executable. At this time, the scheduler 100 estimates the earliest possible start time of the subsequent user job, and if the waiting time until the earliest possible start time is shorter than the required time for the patch job, the scheduler 100 increases the priority of the user job. This prevents the start time of the user job from being delayed due to the influence of the patch job, and shortens the waiting time of the user job. [Explanation of symbols]
[0158] 10. Information processing device 11 Storage section 12 Processing section 13,15 Job Information 13a Update Job 13b User Jobs 14 Node Information Versions 14a, 14b, and 14c 15a Running Jobs 16 Possible start time 17 Duration
Claims
1. A process of identifying, from among a plurality of jobs waiting to be executed, an update job for updating control software of a target node among a plurality of nodes, and a user job for specifying a number of nodes to be used, which indicates the number of nodes to be used among the plurality of nodes; A process of calculating a possible start time at which the number of free nodes having the same version among the plurality of nodes is equal to or greater than the number of nodes in use, based on the version of the control software of each of the plurality of nodes and the scheduled end time of one or more jobs being executed on each of the plurality of nodes; a process of determining whether to give priority to execution of the update job or the user job based on the time required for execution of the update job and the possible start time; A job scheduling program that causes a computer to execute the above.
2. the update job is a job at the top of a queue including the plurality of jobs waiting for execution, and the user job is a job behind the update job in the queue; 2. The job scheduling program according to claim 1.
3. the process of determining includes a process of determining that the user job is to be executed with priority over the update job when the waiting time until the possible start time is shorter than the required time.
2. The job scheduling program according to claim 1.
4. the calculating process includes, when the one or more running jobs include another update job that updates the control software of another target node among the plurality of nodes, a process of determining a free node having the same version based on a change in the version of the other target node due to execution of the other update job; 2. The job scheduling program according to claim 1.
5. A process of identifying, from among a plurality of jobs waiting to be executed, an update job for updating control software of a target node among a plurality of nodes, and a user job for specifying a number of nodes to be used, which indicates the number of nodes to be used among the plurality of nodes; A process of calculating a possible start time at which the number of free nodes having the same version among the plurality of nodes is equal to or greater than the number of nodes in use, based on the version of the control software of each of the plurality of nodes and the scheduled end time of one or more jobs being executed on each of the plurality of nodes; a process of determining whether to give priority to execution of the update job or the user job based on the time required for execution of the update job and the possible start time; A job scheduling method executed by a computer.
6. a storage unit that stores job information indicating a plurality of jobs waiting to be executed, including an update job for updating control software of a target node among a plurality of nodes, and a user job that specifies a number of nodes to be used among the plurality of nodes; a processing unit that calculates a possible start time at which the number of free nodes having the same version among the plurality of nodes will be equal to or greater than the number of nodes in use, based on a version of the control software of each of the plurality of nodes and a scheduled end time of one or more jobs being executed on each of the plurality of nodes, and determines whether to give priority to execution of the update job or the user job, based on a required time for executing the update job and the possible start time; An information processing device having the above configuration.
Citation Information
Patent Citations
Method and system for dynamically changing and correcting configuration of os kernel code and information recording medium
JP2000293362A
Method and procedure for applying patch
JP2006252437A
Autonomous upgrade of deployed resources in a distributed computing environment
US20180349130A1
Operating system update management
US20200241868A1
