Job scheduling program, job scheduling method and information processing device

The job scheduling program optimizes user job execution by prioritizing jobs based on node software versions and available nodes, addressing waiting time issues and ensuring correct execution in parallel processing systems.

WO2024185348A1PCT designated stage expired Publication Date: 2024-09-12FUJITSU LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/003028
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-09
Filing Date
2024-01-31
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

In parallel processing systems, user jobs experience prolonged waiting times due to varying update job start times across nodes, leading to inefficient node utilization and potential software version discrepancies.

Method used

A job scheduling program that identifies update jobs and user jobs based on node software versions and scheduled end times, determining the optimal start time for user jobs by calculating the number of free nodes with matching versions and prioritizing execution to minimize waiting times.

Benefits of technology

This approach reduces user job waiting times, ensures correct execution by assigning nodes with matching software versions, and improves system availability by allowing update jobs to start at different times, reducing the need for simultaneous updates across all nodes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024003028_12092024_PF_FP_ABST
    Figure JP2024003028_12092024_PF_FP_ABST
Patent Text Reader

Abstract

[Problem] To shorten a user job wait time. [Solution] An information processing device 10 identifies an update job 13a for updating target node control software and a user job 13b which specifies a used node number, which expresses the number of nodes to be used, from among a plurality of jobs awaiting execution. The information processing device 10 calculates a possible start time 16 at which the number of free nodes of the same version is greater than or equal to the used node number, on the basis of the control software version 14a, 14b, 14c of the plurality of nodes and the scheduled completion time of the job 15a being executed. The information processing device 10 determines whether to prioritize execution of the update job 13a or the user job 13b on the basis of the possible start time 16 and a required time interval 17, which is required in order to execute the update job 13a.
Need to check novelty before this filing date? Find Prior Art

Description

Job scheduling program, job scheduling method, and information processing device

[0001] The present invention relates to a job scheduling program, a job scheduling method, and an information processing apparatus.

[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, specifying the 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 is 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 node usage efficiency.

[0003] A system has been proposed that dynamically modifies kernel code while an operating system (OS) that manages virtual memory is running. 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 has been proposed that automatically updates OS image data used in virtual machines.Another proposed OS update method divides clients into multiple groups based on the number of clients, the release date of a new OS, and the end date of support for the old OS, and determines an update schedule for each group.

[0005] JP 2000-293362 A JP 2006-252437 A U.S. Patent Application Publication No. 2018 / 0349130 U.S. Patent Application Publication No. 2020 / 0241868

[0006] A parallel processing system may execute an update job for updating control software such as an OS or middleware on each of a plurality of nodes. In this case, since the time at which an active user job ends differs depending on the node, the parallel processing system may allow the update job to start at a different time depending on the node.

[0007] However, if the start times of update jobs differ depending on the node, 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.

[0008] In one aspect, a job scheduling program is provided that causes a computer to execute the following processes: Identify, from among a plurality of jobs waiting to be executed, an update job that updates the control software of a target node among a plurality of nodes, and a user job that specifies a number of nodes to be used, indicating the number of nodes to be used among the plurality of nodes; Calculate a possible start time at which the number of free nodes of the same 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 times of one or more jobs currently being executed on each of the plurality of nodes; Determine whether to give priority to execution of the update job or the user job, based on the required time required to execute the update job and the possible start time.

[0009] In one aspect, a computer-implemented job scheduling method is provided.In another aspect, an information processing apparatus is provided having a storage unit and a processing unit.

[0010] In one aspect, the waiting time for user jobs is reduced.

[0011] 1 is a diagram for explaining an information processing apparatus according to a first embodiment; FIG. 2 is a diagram illustrating an example of an information processing system according to a second embodiment; FIG. 3 is a block diagram illustrating an example of hardware of a scheduler; FIG. 4 is a block diagram illustrating an example of functions of a scheduler; FIG. 5 is a block diagram illustrating an example of functions of a patch processing server; FIG. 6 is a diagram illustrating a first example of a job schedule; FIG. 7 is a diagram illustrating a second example of a job schedule; FIG. 8 is a diagram illustrating a third example of a job schedule; FIG. 9 is a diagram illustrating an example of a job table; FIG. 10 is a diagram illustrating an example of a running user job table; FIG. 11 is a diagram illustrating an example of a schedule search table; FIG. 12 is a diagram illustrating an example of a procedure for patch job generation; FIG. 13 is a diagram illustrating an example of a procedure for job reception; FIG. 14 is a diagram illustrating a first example of a procedure for job scheduling (continued 1); FIG. 15 is a diagram illustrating a first example of a procedure for job scheduling (continued 2); FIG. 16 is a diagram illustrating a second example of a procedure for job scheduling; FIG. 17 is a diagram illustrating a second example of a procedure for job scheduling (continued 1); FIG. 18 is a diagram illustrating a second example of a procedure for job scheduling (continued 2).

[0012] The present embodiment will be described below with reference to the drawings. [First Embodiment] The first embodiment will be described.

[0013] FIG. 1 is a diagram illustrating an information processing apparatus according to a first embodiment. The information processing apparatus 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 apparatus 10 may be a client apparatus or a server apparatus. The information processing apparatus 10 may also 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 also 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 set 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, in principle, may be arranged in the order in which they arrive. 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] Control software is software used to execute user programs, such as an OS or middleware. The update job 13a, for example, upgrades the control software by applying a correction program indicating the update difference to the control software. The correction program is sometimes called an update or 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, for example, specifies a user program to be executed. The user job 13b specifies the number of nodes to be used. If the number of nodes to be used is two or more, for example, two or more nodes execute two or more threads started by the user program in parallel. In this case, the number of nodes to be used specified by the user job 13b is two. The user job 13b may also 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 a user job 13b uses two or more nodes, if the versions of the control software on those two or more nodes are different, there is a possibility that the user job 13b will not be executed correctly due to differences in the behavior of the control software. For this reason, nodes with a common version of 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 by a flag indicating whether a patch program 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 at which the version changes also differs depending on the node.

[0023] The job information 15 indicates the scheduled end time 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 finished. The running job 15a may be a user job or an update job. In this example, the running job 15a is being executed on the third node.

[0024] The estimated 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 estimated end time may be the start time plus the maximum execution time. However, the information processing device 10 may also refer to the history of past user jobs and estimate the estimated end time based on the type of user job, the size of the user program, etc.

[0025] The processing unit 12 identifies the update job 13a and the user job 13b from the job information 13. The processing unit 12 calculates the possible start time 16 of 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 with 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 busy 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 the same version is one, which is less than the number of nodes used by the user job 13b.

[0027] When the currently running job 15a ends, the first, second, and third nodes become free nodes. The control software of the first node is a new version, while the control software of the second and third nodes is an old version. Therefore, when the currently running job 15a ends, the number of free nodes with a common version becomes two (the second and third nodes), 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 currently 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 on 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 yet been executed, the required time 17 may be estimated from the content or size of the update job 13a.

[0029] For example, if the wait time until the possible start time 16 is shorter than the required time 17, executing the update job 13a first may delay the start time of the user job 13b by waiting for the update job 13a to finish. Therefore, the processing unit 12 may decide to put the update job 13a on hold and execute the user job 13b with priority over the update job 13a. On the other hand, if the required time 17 is shorter than the wait time until the possible start time 16, executing the update job 13a first is likely to not delay the start time of the user job 13b. Therefore, the processing unit 12 may decide to execute the update job 13a with priority over the user job 13b.

[0030] As described above, the information processing device 10 according to 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 versions of the control software of each node and the scheduled end time of the currently executing job 15a, the information processing device 10 calculates the possible start time 16 at which the number of free nodes with the same version will be 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 whether to give priority to the execution of the update job 13a or the user job 13b.

[0031] As a result, update jobs are executed at different start times depending on the node. This improves the availability of the parallel processing system compared to when the operation of the parallel processing system is temporarily stopped and update jobs on all nodes are executed simultaneously. Furthermore, two or more nodes having a common version of control software are assigned to user job 13b. This ensures the accuracy of the calculation results of 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, delays in the user job 13b are suppressed and waiting time is shortened compared to when the update job 13a and the user job 13b are simply executed in the order of arrival.

[0033] The priority determination may be performed when the update job 13a is the first job in the queue and the user job 13b is the job after the update job 13a in the queue, thereby suppressing 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 is a diagram illustrating 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 forwards 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 the login server 34 via the 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. Patches are sometimes called correction programs or correction modules. The patch distribution server 33 accepts 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 users. The login server 34 authenticates the client device 32. If the authentication is successful, the login server 34 accepts specifications from the client device 32, such as the user program, the number of nodes to be used, and the maximum execution time. The login server 34 generates a user job request based on these specifications and sends 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. Furthermore, the functions 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 meet 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 meet the application conditions, and sends it to the scheduler 100. A patch job request is generated for each node.

[0044] Nodes 41 to 45 are server computers that execute designated programs. Nodes 41 to 45 are sometimes called computation nodes. An OS is installed on nodes 41 to 45. Nodes 41 to 45 may be assigned to the same or different user jobs. Each node cannot be assigned to two or more user jobs at the same time. Nodes 41 to 45 may also be assigned to patch jobs. A node that is executing a patch job cannot be assigned to a user job until the patch job is finished.

[0045] The scheduler 100 is a server computer that performs job scheduling, allocating multiple jobs to nodes 41 to 45. The scheduler 100 accepts user job requests from the login server 34 and registers the user jobs at the end of the waiting job list. The scheduler 100 also accepts patch job requests from the patch processing server 35 and registers the patch jobs at the end of the waiting job list.

[0046] The scheduler 100 monitors the execution status of jobs on nodes 41 to 45. In principle, the scheduler 100 assigns one or more nodes to jobs, starting 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 more free nodes than the specified number of nodes to be used, the scheduler 100 assigns free nodes to the user job equal to the number of nodes to be used. However, nodes with different OS versions cannot be assigned to the same user job. Therefore, all nodes assigned to a user job are either before or after patch application.

[0047] Furthermore, if the first 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 execute the patch job. However, as will be described later, the scheduler 100 may temporarily suspend the patch job and execute a user job that arrives after the patch job first.

[0048] When a previous user job cannot be executed due to a lack of available nodes, the scheduler 100 applies the arrival time priority policy or the 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 generally selects the arrival time priority policy as the scheduling policy. However, as will be described later, the scheduler 100 may also select the executability priority policy. The scheduler 100 may use these scheduling policies in accordance with instructions from the administrator.

[0050] 3 is a block diagram showing an example of scheduler hardware. The scheduler 100 includes a CPU 101, a RAM 102, a HDD 103, a GPU 104, an input interface 105, a media reader 106, and a communication interface 107, all connected via 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 include hardware similar to that of the scheduler 100.

[0051] The CPU 101 is a processor that executes program instructions. The CPU 101 loads programs and data stored in the HDD 103 into the RAM 102 and executes the programs. 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 include a type of volatile memory other than RAM.

[0053] The HDD 103 is a non-volatile storage device that stores software programs and other data. The software includes an OS, middleware, application software, etc. The scheduler 100 may also include other types of non-volatile storage, such as flash memory or a solid-state drive (SSD).

[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 also be connected to the scheduler 100.

[0055] The GPU 104 may also 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 programs 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. Magnetic disks include flexible disks (FDs) and HDDs. Optical disks include compact discs (CDs) and digital versatile discs (DVDs). The medium reader 106 copies the programs and data read from the recording medium 113 to other recording media such as the RAM 102 or the HDD 103. The read programs 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 to distribute programs and data. The recording medium 113 and the HDD 103 may also be referred to as 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 also have a wireless communication interface connected to a wireless communication device such as a base station or an access point.

[0060] 4 is a block diagram showing 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, RAM 102 or 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, the CPU 101, the communication interface 107, and a program.

[0061] The job information storage unit 121 stores information about jobs waiting to be executed and jobs currently being executed. Information about 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. Information about 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 status of the nodes 41 to 45. The current status information includes the version number of the current OS. The current status information also includes a flag indicating whether the node is free or not, and if the node is not free, the job name of the job currently 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 value of the 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 purpose of the patch, such as adding a function, responding to security issues, or fixing bugs. The execution conditions also include the measured value of the 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 in the job request at the end of the waiting job list. When the executability determination unit 135 determines that a certain job is executable, 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 also instructs the job execution unit 134 to execute the job.

[0066] The node management unit 133 collects and manages current status information 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] The job execution unit 134 causes the nodes 41 to 45 to execute jobs in accordance with instructions from the job management unit 132. The job execution unit 134 notifies the node assigned by the 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 queued 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 more free nodes with the same OS version than the number of used nodes. 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, as will be described later, the execution possibility determination unit 135 may temporarily suspend an executable patch job.

[0069] The start time calculation unit 136 calculates the earliest possible start time for a waiting user job from information about the job being executed and information about the current status of the nodes 41 to 45. If a user job is not currently executable, it can be made executable by waiting for other running user jobs or patch jobs to finish. The earliest possible start time is an estimate of the earliest time that the user job will be executable if the waiting patch jobs are put on hold. The possible start time may be expressed as an absolute time, as the elapsed time from a reference time, or as the remaining time from the current time.

[0070] The end time determination unit 137 determines the end time of a user job that is currently 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 also 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 a user job from the average execution time of past user jobs with similar job names.

[0071] For example, the end time determination unit 137 may estimate the execution time from the size of the user program. The end time determination unit 137 may also estimate the execution time by acquiring the progress of the user job from the node assigned to the user job. Examples of progress information include the amount of the executed program and the amount of processed data. The end time may be expressed as an absolute time, as the elapsed time from a reference time, or as the 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. If 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. If a patch of a certain version has already 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] 5 is a block diagram showing an example of the functions of the patch processing server 35. 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 the patch monitoring unit 141 detects a new patch, 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 generation unit 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 itself. The patch itself 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 generation unit 143 to the scheduler 100. Next, job scheduling will be described.

[0077] 6 shows 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 midnight (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 its execution time is 1 hour. User job c uses 1 node and its execution time is 3.5 hours. User job d uses 1 node and its execution time is 2.5 hours. User job e uses 2 nodes and its execution time is 3 hours. Time t2 represents 2 o'clock (2h). Because 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, to which nodes 41 to 45 are to be applied, by time t3 (3 hours). The execution time of patch job p is 1.2 hours. Because 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, the scheduler 100 causes node 41 to execute patch job p. The 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.2 h). 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, no jobs 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, patch job p is at the top of the waiting job list, so the 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. Furthermore, since node 43 has already been patched and there are only two free nodes with patches applied, 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, patch job p at node 42 is completed, and user jobs f at nodes 41, 43, and 44 are completed.

[0085] 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, extending the waiting time by 1.2 hours. Furthermore, 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 for 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 a patch job, and determines whether to prioritize execution of the subsequent user job based on the relationship between the earliest possible start time and the required time for 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 will not affect the subsequent user job, so the scheduler 100 starts the patch job before the subsequent user job.

[0087] 7 shows a second example of a job schedule. Consider a case where the scheduler 100 temporarily suspends 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 one free node with a patch applied, node 41, and one free node with an unpatched node, 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, 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 of 0.5 hours from time t5 to time t6 with the required time of patch job p, 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 three free nodes to which the patch has not been applied, nodes 43 to 45. Therefore, user job f can be executed at time t6. Therefore, the scheduler 100 suspends 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 available node, the scheduler 100 causes node 42 to execute patch job p. Furthermore, when user job f ends and nodes 43 to 45 become available nodes, the scheduler 100 causes nodes 43 to 45 to each 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 if the patch to be applied by patch job p to nodes 41 to 45 has a high degree of urgency, such as a security patch, the scheduler 100 may start patch job p with priority over the subsequent user job f. Depending on the situation, by first executing patch job p for some nodes and increasing the number of nodes to which the patch has been applied, the earliest possible start time may be earlier than if all remaining patch jobs p are put on hold.

[0093] 8 shows a third example of a job schedule. Here, as with graph 152, consider a case in which the scheduler 100 temporarily suspends 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. Furthermore, 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 the scheduler 100 causes node 43 to execute patch job p. At time t6, nodes 44 and 45 become free nodes. If three free nodes to which patches have not been applied are to be secured, the 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 for 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:05, when nodes 42, 44, and 45 become free nodes, to be the earliest possible start time for user job f.

[0097] Because the wait time until the earliest possible start time is longer than the required time 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 patches have 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 also calculate the earliest possible start time as time t7 by considering a pattern in which patch job p on some nodes is executed first at time t6.

[0098] 9 is a diagram showing an example of a job table. The job table 154 is stored in the job information storage unit 121. The job table 154 includes multiple records, each of which includes a job type, job name, required time, and 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 are no nodes to which the patch has been applied, the required time of the patch job is the execution time of a previous 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] 10 is a diagram showing an example of an active user job table 155. The active user job table 155 is stored in the job information storage unit 121. The active user job table 155 includes multiple 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 start time plus the required time.

[0102] 11 is a diagram showing an example of a schedule search table. The schedule search table 156 can 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 used to calculate the earliest possible start time of user job f at time t5 in the graph 152.

[0103] The schedule search table 156 includes a plurality of records, each of which includes a pattern number, a node set, a node requiring patching, 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 patch-requiring nodes are the unpatched nodes in the node set. A node 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 patch-requiring nodes.

[0105] The patch end time is the scheduled end time of the latest patch job when a patch job is executed on a patch-requiring node. The job end time is the scheduled end time of the latest job to finish among the jobs currently running on a node group. Jobs currently running 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 for a user job.

[0106] Next, the processing procedure of the information processing system will be described. Fig. 12 is a diagram showing an example of the 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 a new patch is available. If a new patch is available, processing proceeds to step S12; if not, processing ends. (S12) The patch information receiving unit 142 receives specification information for the 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, processing proceeds to step S13; if not, processing proceeds to step S17.

[0108] (S13) The patch job generation unit 143 determines the urgency of the patch from the specification information. (S14) The patch job generation 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 be patched 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 sends 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] 13 is a diagram showing an example of a job reception procedure. (S20) The job reception 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 order of earliest registration time.

[0113] 14 is a diagram showing 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 shown in FIGS. 14 to 16 are repeatedly executed.

[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) The execution possibility determination unit 135 determines whether the waiting job list is empty. If the waiting job list is empty, the process ends. If it is not empty, the process proceeds to step S34.

[0116] (S34) The execution possibility determination unit 135 selects the top job from the waiting job list. (S35) The 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 execution possibility determination unit 135 classifies the available nodes by patch version number. As a result, the available nodes are classified into patched nodes and unpatched nodes. (S37) The execution possibility determination unit 135 determines whether any of the groups classified in step S36 includes a group that includes more nodes than the number of nodes used by the user job selected in step S34. If any such group exists, the process proceeds to step S52; if no such group exists, 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. If the patch application target is not an available node, 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 group of patch jobs included in the queued job list. Then, the process ends. FIG. 15 is a diagram showing a first example of a procedure for job scheduling (continued 1).

[0120] (S40) The execution possibility determination unit 135 determines whether the priority of the patch job selected in step S34 is at an emergency level. If the priority is at an 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. If there are any unconfirmed jobs, the process proceeds to step S42.

[0122] (S42) The execution possibility determination unit 135 selects the succeeding 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 succeeding job selected in step S42 is a user job. If the succeeding 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 execution possibility determination unit 135 classifies the available nodes by patch version number. (S45) The execution possibility determination unit 135 determines whether any of the groups classified in step S44 includes a group that includes more nodes than the number of nodes used by the user job selected in step S42. If any such group exists, the process proceeds to step S52; if no such group exists, 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 previous patch of the same type, or the execution time when a patch of the same version number was applied to the first node.

[0125] (S47) The start time calculation unit 136 classifies the nodes by patch version number. The classified nodes here include both free nodes and used nodes. (S48) The start time calculation unit 136 generates combinations of nodes that include the same number of nodes as the number of nodes used by the user job selected in step S42, from groups with the same patch version number.

[0126] (S49) The end time determination unit 137 determines the end time of the currently running job. 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, for example, 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 the 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. If the waiting time is equal to or greater than the patch required time, the process proceeds to step S53.

[0129] 16 is a diagram (continuation 2) showing an example of a first procedure for 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, processing proceeds to step S54.

[0130] (S53) The job execution unit 134 instructs the nodes to which the patch of the patch job selected in step S34 is 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. Then, 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. As a result, the execution of the patch job is put on hold, and the user job is executed as soon as the shortage of available nodes is resolved.

[0132] 17 is a diagram showing a second example of a procedure for job scheduling. Here, a case will be described in which the scheduler 100 selects the execution possibility priority policy. The processing procedures shown in FIGS. 17 to 19 are repeatedly executed.

[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 determination unit 135 checks the queued job list. (S63) The execution possibility determination unit 135 determines whether the queued job list is empty. If the queued job list is empty, the process ends. If the queued job list is not empty, the process proceeds to step S64.

[0135] (S64) The executability determining unit 135 selects a target job from the queued job list. The initial value of the target job is the first job in the queued job list. However, the target job may be changed in step S68, which will be 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. If the target job is a user job, the process proceeds to step S66.

[0137] (S66) The execution possibility determination unit 135 calculates the number of free nodes for each patch version number using a method similar to that of steps S36 and S37 described above, and compares the number of free nodes with the number of nodes used by the user job selected in step S64 to determine whether execution is possible.

[0138] (S67) The execution possibility 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 queued job list. Then, processing ends. (S69) The execution possibility determination unit 135 determines whether the patch application target of the patch job selected in step S64 is an available node. If the patch application target is an available node, processing proceeds to step S71, and if it is not an available node, processing proceeds to step S70.

[0140] (S70) The job management unit 132 moves the patch job selected in step S64 to the end of the group of patch jobs included in the queued job list. Then, the process ends. Figure 18 shows a second example of the job scheduling procedure (continuation 1).

[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 executability determining unit 135 selects the job immediately following the currently selected job from the queued job list. The job immediately following the patch job selected in step S64 is the job immediately following 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. If the subsequent job is a patch job, the process returns to step S72.

[0145] (S75) The execution possibility determination unit 135 calculates the number of free nodes for each patch version number using a method similar to that of steps S44 and S45 described above, and compares the number of free nodes with the number of nodes used by the user job selected in step S73 to determine whether execution is possible.

[0146] (S76) The executability determining unit 135 determines whether the user job selected in step S73 is currently executable. If it is executable, the process proceeds to step S83; 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 previous patch of the same type, or the execution time when a patch of the same version number was 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 the job immediately following the currently selected job from the queued job list. The job immediately following the patch job selected in step S64 is the job immediately following 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. If the subsequent job 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 using the same method 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] 19 is a diagram (continuation 2) showing a second example of the job scheduling procedure. (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. Then, the process ends.

[0155] (S86) The job management unit 132 moves the user job selected in step S79 to the top of the waiting job list. As a result, the execution of the patch job is put on hold, and the user job is 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 on all nodes simultaneously, 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. Furthermore, the scheduler 100 assigns nodes with 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 number.

[0157] Furthermore, even if the patch job at the top of the waiting job list is immediately executable and the subsequent user job is not, the scheduler 100 may temporarily suspend the patch job and wait for the user job to become executable. In this case, 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, it raises 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.

[0158] REFERENCE SIGNS LIST 10 Information processing device 11 Storage unit 12 Processing unit 13, 15 Job information 13a Update job 13b User job 14 Node information 14a, 14b, 14c Version 15a Job currently being executed 16 Possible start time 17 Required time

Claims

1. A job scheduling program that causes a computer to execute the following processes: identifying, from among a plurality of jobs waiting to be executed, an update job that updates control software of a target node among a plurality of nodes, and a user job that specifies a number of nodes to be used that indicates the number of nodes to be used among the plurality of nodes; calculating a possible start time at which the number of free nodes among the plurality of nodes that have the same version will be 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 currently being executed on each of the plurality of nodes; and determining whether the update job or the user job will be given priority for execution, based on the time required to execute the update job and the possible start time.

2. The job scheduling program according to claim 1, wherein the update job is a job at the top of a queue of the plurality of jobs waiting for execution, and the user job is a job behind the update job in the queue of the plurality of jobs waiting for execution.

3. A job scheduling program according to claim 1, wherein said determining process includes a process for determining that said user job is to be executed with priority over said update job when the waiting time until said possible start time is shorter than said required time.

4. A job scheduling program as described in claim 1, wherein the calculation process includes, when the one or more running jobs include another update job that updates the control software of another target node among the multiple nodes, a process of determining an available node with the same version based on a change in the version of the other target node due to execution of the other update job.

5. A job scheduling method executed by a computer, comprising the steps 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 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 among the plurality of nodes having the same version will be 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 currently being executed on each of the plurality of nodes; and determining whether the update job or the user job will be given priority for execution, based on the time required to execute the update job and the possible start time.

6. An information processing device having a memory unit that stores job information indicating a plurality of jobs waiting to be executed, including an update job that updates control software of a target node among a plurality of nodes, and a user job that specifies a number of nodes to be used that indicates the number of nodes to be used among the plurality of nodes; and a processing unit that calculates a start time at which the number of free nodes among the plurality of nodes having the same version will be 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 currently 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 the time required to execute the update job and the start time.

7. The information processing apparatus according to claim 6, wherein the update job is a job at the top of a queue of waiting jobs including the plurality of waiting jobs, and the user job is a job behind the update job in the queue of waiting jobs.

8. The information processing apparatus according to claim 6, wherein said processing section, in said determining process, determines that said user job is to be executed with priority over said update job if the waiting time until said possible start time is shorter than said required time.

9. The information processing device of claim 6, wherein, in the calculation process, when the one or more running jobs include another update job that updates the control software of another target node among the multiple nodes, the processing unit determines a free node with the same version based on a change in the version of the other target node due to execution of the other update job.

Citation Information

Patent Citations

  • Managing Different Versions of Server Components Regarding Compatibility With Collaborating Servers

    US20080301668A1

  • Scheduling program, multi-core processor system, and scheduling method

    WO2013140518A1