WO2007149224A1 - Resource-based scheduler - Google Patents
Resource-based scheduler Download PDFInfo
- Publication number
- WO2007149224A1 WO2007149224A1 PCT/US2007/013394 US2007013394W WO2007149224A1 WO 2007149224 A1 WO2007149224 A1 WO 2007149224A1 US 2007013394 W US2007013394 W US 2007013394W WO 2007149224 A1 WO2007149224 A1 WO 2007149224A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- computer
- resource
- utilization
- job
- jobs
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5038—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/22—Microcontrol or microprogram arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/504—Resource capping
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Definitions
- the present invention relates to scheduling computer jobs.
- embodiments of the present invention relate to scheduling computer jobs based on resource utilization criteria of the particular jobs and utilization of computer resources to be used by the jobs.
- Today's computer operating systems utilize multitasking schedulers to give the appearance of more than one computer job (e.g., process) running at the same time.
- schedulers There are many different scheduling algorithms, but generally the concept is that a small time slice known as a quantum is given to one thread of a process and then another thread of the process or another process, etc.
- the length of the quantum is very small, typically in the range of 20 to 120 milliseconds. Due to the human perception of time, it appears that the jobs are running concurrently.
- the central processing unit tends to be the fastest component of most computer systems, while other computer resources such as disk I/O, network I/O, and even memory tend to be much slower.
- disk I/O may be about a million times slower than the CPU if measured in terms of data transfer from the disk and data transfer within the CPU.
- the CPU often waits for these slower resources. For example, a three-gigahertz CPU often sits idle while waiting for a disk drive to retrieve data at an average access time measured in milliseconds.
- Throttling is a technique for minimizing these negative impacts. Throttling prevents an application or job from using more than an allocated amount of resources. Types of throttling include disk I/O throttling, CPU throttling and network throttling. For example, CPU throttling can involve establishing a target CPU utilization limit for an application and forcing the application to stop working if the application exceeds the target limit. Throttling is sometimes applied to computer resources for maintenance applications or less important computer jobs. While throttling has benefits, the computer job's resource use is not totally transparent to other jobs and applications. [0006] The above problems are even more perplexing because computer resources are generally wasted over a 24-hour period. For example, most desktops utilize less than five percent of the computer's available resources, and high traffic servers often utilize around 20 percent. Even computers that utilize 80-90 percent of resources still have 10-20 percent of resources available.
- FIG. IA is a diagram of a resource-based scheduler having resource-based scheduling worklist, in accordance with an embodiment of the present invention.
- FIG. IB is a diagram of a resource-based scheduler, in accordance with another embodiment of the present invention.
- FIG. 2 is a flowchart of resource-based scheduling, in accordance with an embodiment of the present invention.
- FIG. 3 is a block diagram that illustrates a computer system upon which an embodiment of the invention may be implemented.
- a computer job is scheduled based on utilization of a resource and a utilization criterion that the computer job has pertaining to the resource, in accordance with an embodiment of the present invention.
- a computer job might have a utilization criterion that a disk I/O resource has 60 percent available capacity in order for the computer job to be scheduled. If the available capacity of the disk I/O resource is less than 60 percent, then the computer job is not scheduled, in this embodiment.
- a resource-based scheduler puts each computer job onto at least one of several different resource-based scheduling worklist.
- resource- based scheduling worklists include, but are not limited to, a disk I/O scheduling worklist, CPU scheduling worklist, and network I/O scheduling worklist.
- a particular scheduling worklist comprises computer jobs waiting to use the particular resource.
- Each of the computer jobs has a utilization criterion pertaining to the particular resource, in this embodiment.
- the RBS selects one of the resources to be next to have a computer job scheduled. The selection is based on a priority of the resource, in one embodiment. For example, a disk I/O resource might have a higher priority than a CPU resource. In one embodiment, resources that are designated as slower resources are given a higher priority than resources that are designated as faster resources.
- the RBS selects for execution one of the computer jobs from the worklist corresponding to the selected resource.
- the RBS selects the computer job based on criteria that match the available capacity of the resource with the utilization criterion of the computer jobs, in one embodiment. However, the RBS may also use other factors such as the priority of the computer jobs, required execution order of computer jobs, the order in which computer jobs were placed on the worklist, etc.
- the RBS allows efficient utilization of multiple computer resources by scheduling each computer job when the resources to be utilized by the job are (fully or partially) available even though other resources not needed by that job are being (fully or partially) utilized by other jobs and reduces impingement on the performance of the other jobs.
- FIG. IA is a diagram of a resource-based scheduler (RBS) 100 having resource-based scheduling worklists 120, in accordance with an embodiment of the present invention.
- the RBS 100 pro-actively schedules computer jobs based on available capacity of different computer resources.
- the different resources could include, but are not limited to, CPU, disk I/O, network I/O, video, memory, keyboard, network resource, etc.
- the term "computer job” or "job” includes, but is not limited to, a computer process, a thread, a micro-job (discussed herein below), or any portion of executable computer code.
- the RBS 100 may allow each computer job to receive its requirement of resources without colliding with any other jobs' requirement for resources.
- the RBS 100 is able to determine when a particular resource is only partially utilized, and to allocate the un-utilized portion to a selected job, with minimal impingement on any of the other jobs already utilizing the resource, in one embodiment.
- the RBS 100 schedules computer jobs for a variety of different resources.
- the different resources may or may not be on the same computer system as the RBS 100.
- the RBS 100 schedules computer jobs to utilize a resource that is accessed via a network, in one embodiment.
- the resource may be accessed via the Internet.
- the RBS 100 receives computer jobs seeking access to a variety of resources and makes scheduling decisions as to which of the computer jobs should be scheduled to utilize which of the resources, as well as when the computer jobs should be scheduled.
- the RBS 100 inputs resource utilization information 105, which describes utilization of various computer resources.
- the utilization may pertain to an interval or a specified point.
- the utilization may be an average utilization over a specified interval.
- a resource's utilization can be specified as an average utilization over a specified time interval.
- a CPU resource at 30 percent utilization may pertain to average utilization over a recent time interval.
- the interval is measured in quanta, in one embodiment.
- the utilization is numeric-based, in one embodiment.
- the utilization might be based on the number of operations waiting to execute at a specified point in time. For example, if a resource has "x" operations waiting to execute, the utilization could be "x".
- the utilization is based on the number of requests to utilize a particular resource. For example, the utilization is based on the total number of requests that each process has to utilize a particular resource, in one embodiment.
- Numeric based utilization may pertain to a point or an interval.
- numeric based resource utilization is based on an average number of operations waiting to execute over a particular time interval, in one embodiment.
- numeric based resource utilization is based on the number of operations waiting to execute at a particular point.
- the RBS 100 estimates future resource utilization, based on the resource utilization 105. For example, based on the number of requests to utilize a particular resource (and perhaps other factors), an estimate is made of future resource utilization. As another example, based on the percentage utilization of a particular resource (and perhaps other factors), an estimate is made of future resource utilization.
- the RBS 100 also inputs utilization criteria 118 for the jobs to be scheduled.
- the utilization criteria 118 pertain to the resources.
- resource thresholds may be used, wherein the RBS 100 only schedules a computer job if resource utilization by other jobs is below the threshold.
- An example of using resource thresholds is that the RBS 100 only schedules a particular computer job to use disk I/O if the disk I/O has an available capacity of less than 60 percent.
- the RBS 100 has an Application Program Interface (API) for an application that owns the computer job to provide utilization criteria 118, in one embodiment.
- API Application Program Interface
- An example API is provided herein.
- the utilization criteria 118 are based on time, in one embodiment. Basing utilization criteria 118 on a percentage is an example of a time-based criteria.
- the utilization criteria 118 are numeric based, in one embodiment.
- An example of numeric based utilization criteria 118 is the number of operations that are waiting to execute on a particular resource.
- Another example of numeric based utilization criteria 118 is a number of requests that are received to use a resource.
- the utilization criterion 118 of a particular process is based on the number of requests to use a particular resource.
- the RBS 100 stores historic utilization information 116, in one embodiment.
- the historic utilization information 116 describes prior resource utilization by one or more of the jobs. For example, the fact that a computer job utilized 30 percent of the network I/O resource is stored for future reference.
- the RBS 100 uses the historic utilization information 116 to determine utilization criteria for a computer job to be scheduled, in one embodiment.
- the RBS 100 determines that a computer job has a utilization criterion of "x" percent for the particular resource. The RBS 100 then uses this utilization criterion when scheduling the computer job. [0029] The RBS 100 also inputs executable code 108 of the jobs to be scheduled, which the RBS 100 analyzes to determine utilization criteria.
- the determination as to whether a computer job should be allowed to utilize a particular resource may be deferred.
- a particular computer job may have a utilization criterion that allows a specified number of requests from other computer jobs to be serviced prior to the resource based scheduler even considering whether to schedule the particular computer job.
- the RBS defers execution of the particular computer job if the utilization of the resource is above a threshold.
- the particular computer job specifies the number of requests from other computer jobs that can be serviced prior to scheduling the particular computer job.
- the particular computer job is scheduled next.
- the RBS determines whether or not to allow the particular computer job to have the resource.
- the resource based scheduler has a normal worklist for resource requests that should be satisfied without delay and a deferred worklist for resource requests that can be deferred.
- Each entry in the deferred list may be stamped with a current request number when the request is put on the deferred list.
- These deferred requests may be ordered based on which deferred request should be serviced first. Ih one embodiment, there are multiple deferred worklists. When the RBS determines to start a new request, the RBS might first look at the deferred list to see if any requests are expiring and then take them next, versus the normal list.
- the RBS 100 has a resource-based scheduling worklist 120 for each resource for which a computer job might be scheduled to use, in one embodiment.
- the RBS 100 has a CPU resource worklist 120(1), a disk I/O worklist 120(2), a network I/O worklist 120(3) and other resource worklists 120(n).
- Examples of other resources worklists include, but are not limited to, a network resource worklist, a video resource worklist, a keyboard resource worklist.
- Each worklist 120 comprises jobs that are waiting to utilize the resource corresponding to that resource. So as to not obscure the diagram, not all possible resource-based scheduling worklists are depicted in FIG. IA.
- a particular worklist is for computer-jobs that utilize a combination of resources.
- each worklist corresponds to a different priority.
- computer jobs with a high priority go into one worklist, a medium priority on another, etc.
- a worklist may be ordered or not ordered.
- the RBS 100 determines which worklist to place a computer job on based on analysis of the executable code 108. For example, the RBS 100 examines instructions in the executable code 108 of the computer job to determine what resources the computer job needs, in one embodiment.
- the RBS 100 gives the resource to one of the computer jobs in the worklist corresponding to that resource.
- the scheduling logic 112 selects one of the computer jobs on the worklist based on available capacity of the resource and utilization criteria of the computer jobs. Other selection criteria can be used. The selection criteria include, but are not limited to, order in which jobs were added to the worklist, computer job priority (e.g., process priority, thread priority), and matching the resource's available capacity with resource needs of the jobs. The selection may be based on any combination of these criteria, as well as other criteria not specifically mentioned.
- the RBS 100 does not use scheduling worklists that correspond to the various computer resources.
- the RBS 100 receives requests to schedule computer jobs on an ongoing basis, in no particular order. For example, as an application desires to have a computer job or jobs executed, the application sends a request to the RBS 100 to schedule one or more computer jobs.
- the RBS 100 determines or is informed what resource or resources are to be used by a particular computer job. Examples of resources include a processor 304, storage device 310, display 312, input device 314, and network communication interface 318, and a network resource 182 that is accessed via network 184.
- the RBS 100 determines or is informed as to the utilization of the particular resource.
- the RBS 100 also determines or is informed as to utilization criteria the computer job has pertaining to the particular resource. Based on utilization of the particular resource and the utilization criteria, the RBS 100 determines whether to schedule the particular computer job to utilize the particular resource. For example, if the utilization of the network communication interface 318 meets the utilization criteria of a computer job, the RBS 100 schedules the computer job to execute using the network communication interface 318. If not, the RBS 100 does not schedule the computer job to use the network communication interface 318. Rather, the RBS 100 may wait and schedule the computer job when utilization of the network communication interface 318 meets the utilization criteria of a computer job.
- the computer resources are prioritized for scheduling purposes, in one embodiment.
- CPU, disk I/O, network VO and other resources may be ranked based on relative speed of a resource.
- a disk I/O might be designated as a slower resource than a CPU resource and therefore be given a higher priority.
- the network I/O resource may be faster than the disk I/O but slower than the CPU. The network resource would thus be given higher priority than the CPU but less than the disk I/O. If the RBS 100 takes into account slower resources and schedules these resources with a higher priority, then delay to faster resources such as a CPU may be minimized.
- Computer job A is at the top of the disk I/O scheduling worklist 120(2) and has a utilization criterion of 60 percent disk VO available capacity and Computer job B, which is next on the disk FO scheduling worklist 120(2), has a utilization criterion of 20 percent disk I/O available capacity. If the disk I/O has 30 percent available capacity, then the RBS 100 would not schedule Computer job A because the disk VO does not have enough available capacity. However, Computer job B could be scheduled.
- the RBS 100 makes use of the 30 percent disk I/O available capacity by scheduling an appropriate computer job (Computer job B) to utilize the disk I/O instead of wasting it. If the RBS 100 had given the disk I/O resource to computer job A, which required 60 percent disk I/O, this may have caused a computer job collision as more than one hundred percent of the disk I/O resource would have been allocated.
- the RBS 100 is implemented in an O/S at the kernel level.
- the kernel level RBS 100 has full knowledge of the entire worklist of computer jobs (e.g., threads) that are requesting execution.
- the RBS 100 can order the execution based on resource availability without the need to determine the percentage utilization of any resource. This is because the RBS 100 already has full control to schedule the various resources. There is no need to measure, it already knows as it is the one allocating the resources.
- FIG. 2 is a flowchart illustrating steps of a process 200 for resource-based scheduling, in accordance with an embodiment of the present invention.
- the steps of process 200 are described in a particular order for convenience of explanation. However, the steps may occur in a different order. Moreover, steps may be repeated many times.
- the RBS 100 receives utilization criteria of one or more jobs. For example, an application program provides the utilization criteria to the RBS 100. The application can specify different criteria for different computer jobs. It is not necessary for the application to specify the utilization criteria for its computer jobs.
- the application sends parameters to the RBS 100 to control resource utilization, in accordance with an embodiment of the present invention.
- Control of resource utilization includes, but is not limited to; disk I/O, CPU and network.
- the application can request a computer job be executed pending any combination of threshold levels of the above three resources, or other resources.
- the application can specify different resource threshold levels for different computer jobs.
- the application specifies a different resource threshold level with each computer job, in accordance with one embodiment. Therefore, fine-grained resource management is possible.
- the RBS 100 determines utilization criteria of one or more jobs.
- the RBS 100 determines expected utilization of a particular resource by a computer job, wherein the utilization criterion is based on the expected resource utilization. In one embodiment, the RBS 100 determines the expected utilization of a particular computer job by examining instructions in the particular computer job. In one embodiment, the RBS 100 bases the expected utilization on a stored value that describes previous utilization of the resource by the particular computer job. [0043] In step 206, computer jobs are added to resource-based scheduling worklists. For example, a particular process, or at least threads of a particular process, are placed on at least one resource-based scheduling worklist. As more jobs request to be scheduled, they are added to the resource-based scheduling worklists. In one embodiment, requests from many different computer jobs are placed on the worklist.
- the requests can be satisfied by a computer job being scheduled to utilize a particular resource.
- a computer job is inserted to a location on the worklist based on the priority of the computer job. Because the order in which threads of a process execute may be important, computer jobs (e.g., threads) are located on the worklist to preserve desired execution order, in one embodiment.
- a particular computer resource is selected to be utilized.
- the RBS 100 may determine that a computer resource that has been designated as slower should have a higher priority.
- the RBS 100 selects the disk FO resource.
- the selection can be based on other factors such as thread flow, computer job priority, (e.g., process priority, thread priority), the number of jobs (e.g., threads) waiting to execute on each worklist and the availability of other resources required by a job (e.g., thread or process).
- the RBS 100 determines utilization of the selected computer resource.
- the utilization may be based on activity over a recent interval.
- the utilization may be based on any convenient measure such as, the last "x" quanta, or a recent time period.
- the utilization does not need to be based on an interval.
- the utilization might be based on the number of operations that are waiting to execute at a particular point in time.
- the RBS 100 calculates resource utilization, it is the resource utilization of jobs other than the jobs associated with a particular application that is measured, in accordance with one embodiment of the present invention.
- the following example in which the CPU utilization threshold is set to 20 percent is used to illustrate. IfCPU utilization is below 20 percent prior to allowing computer jobs associated with a particular application to execute, CPU utilization may increase to over 20 percent when the computer jobs execute. This increase beyond 20 percent is not considered a CPU resource utilization violation, in this example. Similar principles may apply to network, disk I/O resources, and other resources.
- the RBS 100 estimates utilization of the selected computer resource over a future time interval.
- the RBS 100 may estimate future utilization based on recent utilization of the resource. As a particular example, recent utilization of a network I/O is measured (or otherwise learned). Based on the recent network I/O utilization, an estimate is made of network I/O utilization for the near future. The estimate may be based on other factors as well.
- the RBS 100 selects one of the computer jobs on the worklist corresponding to the selected resource.
- the RBS 100 schedules the selected computer job for execution to use the selected computer resource.
- the RBS 100 makes the selection based on the utilization of the particular resource and the utilization criterion of at least one of the computer jobs on the worklist for the particular computer resource. For example, if the utilization of the selected resource is 60 percent and the utilization criterion of a particular computer job is that the selected resource has less than 40 percent utilization, then the particular computer job is not scheduled, as the utilization criterion is not satisfied. In this case, the RBS 100 could select another computer job and schedule that computer job if its utilization criterion allows the selected resource to have 60 percent utilization.
- the RBS determines a scheduling order for computer jobs.
- the RBS 100 stores resource utilization information for the computer job that just executed. The RBS 100 may later use this resource utilization information to determine utilization criteria for the computer job.
- the RBS 100 schedules micro-jobs.
- Micro-jobs have a size that allows a particular micro-job to complete within an allotted time for which the particular micro-job owns a resource used to execute the processing job, in one embodiment.
- each micro-job is such a size that it will complete within its allotted time. However, it may be that some of the micro-jobs are too large to complete execution within their allotted time.
- the allotted time is a quantum.
- a quantum is a time slice given to a portion of computer code (e.g., a thread) during which time that code portion owns the CPU resource. Different operating systems used different quanta.
- the quantum assigned to a particular code portion may change based on circumstances during runtime. For example, an O/S might increase or decrease the size of the quantum allotted to a thread.
- a computer job is divided into micro-jobs based on the size of the quantum that is expected to be allocated to the computer job.
- a computer job is divided into micro-jobs based on the size of the quantum that has been allocated to the computer job. The determination as to what portions of the computer job should be split off as micro-jobs may be made either prior to runtime or during runtime.
- the micro-jobs are substantially smaller (for example, the smallest) work units that can be completed as a single unit while safely allowing for a pause in execution until the next micro-job executes, in accordance with one embodiment.
- safely allowing for a pause in execution it is meant that the execution of a particular micro-job can be delayed without affecting the outcome that results from execution of the all of the micro- jobs.
- a micro-job may be a part of a thread.
- a thread may be divided into multiple micro-jobs. These micro-jobs may be scheduled similar to how a thread is scheduled. However, as previously stated, a micro-job will complete its execution if allowed to execute for a quantum or other time period for which it owns a processing resource, in one embodiment.
- a micro-job may only need a very small amount of resources (e.g., CPU time, memory allocation) at any one time. Such minimal use of resources at any one time may result in a stealthy process. Keeping the micro-jobs small allows the computer job to use only a small amount of computer resources at one time. Thus, execution of a micro-job consumes a sufficiently small amount of resources so as to not significantly impact performance of other applications in the computer system, in accordance with one embodiment of the present invention.
- resources e.g., CPU time, memory allocation
- An embodiment of the present invention is an API for allowing an application to specify various resource utilization parameters.
- the RBS 100 has such an API, in one embodiment.
- Applications can use the API to specify utilization criteria for computer jobs (e.g., processes, threads, micro-jobs, or other code portions).
- the example API has the following resource threshold parameters for CPU, disk, and network. • CPU Utilization threshold
- the above parameters can be specified for each computer job.
- a network threshold may be used for a computer job that uses the network.
- the network threshold could be zero for computer jobs that do not use the network.
- fine-grained resource management is provided for, in accordance with an embodiment of the present invention.
- the application can request that a particular computer job be executed only if the CPU utilization is below 50 percent, and the I/O Disk Utilization is below 40 percent, and network traffic is below 60 percent. Any combination of the resource threshold factors can be used, including none at all.
- the CPU utilization threshold differentiates between RBS use of the CPU as opposed to that of any other job, in accordance with an embodiment of the present invention.
- the following two parameters are used to specify an interval over which utilization should be measured.
- the CPU Utilization Window parameter defines a time window over which CPU utilization is calculated. For example, CPU utilization over the last n milliseconds is averaged.
- the network utilization window defines a time window over which network utilization is calculated. These parameters may be internal to the RBS 100. However, an application may override these parameters.
- the pending disk I/O is absolute at any point in time and thus it does not have to be calculated.
- a mandatory idle time parameter may be passed from the application to the RBS to control how the computer jobs are spread out over time.
- the mandatory idle time parameter is optional.
- the mandatory idle parameter may have a value of zero.
- the RBS keeps track of "idle time," which is defined as system idle time after all computer jobs have executed.
- application(s) can worklist up computer jobs with the RBS.
- the RBS waits for the specified Mandatory Idle Time and then wakes up and authorizes the applicatio ⁇ (s) to perform additional work.
- a defragmenter might first execute a number of computer jobs to defragment a disk drive, then be paused by the RBS computer job scheduler. After the specified Mandatory Idle Time, the RBS calls the defragmenter to authorize additional work.
- the defragmenter might execute a clean-up job, such as releasing memory.
- Mandatory Idle Time can be a default parameter that can be adjusted by an application.
- the following parameters relate to waiting to execute a computer job when resource utilization is above a threshold.
- the RBS waits for the specified Wait Time and then re-checks resource utilization.
- the Wait Time parameter can be increased each time the RBS determines that resource utilization is too high. For example, the RBS can increase the Wait Time parameter until the Max Wait Time is reached.
- the RBS 100 is a part of an operating system, in one embodiment.
- the RBS 100 is a stand-alone application that facilitates scheduling of computer jobs for other applications.
- the RBS 100 is integrated into an application program and schedules for that particular application.
- the RBS 100 may be integrated into a disk defragmentation program or a virus detection program.
- the RBS 100 executes outside of the operating system, the RBS 100 self- limits in its own resource utilization, in one embodiment. For example, the RBS 100 monitors its own resource utilization and if its own resource utilization gets too high, the RBS 100 makes a request to the operating system to stop scheduling the RBS 100 for a period of time.
- the RBS 100 may operate. However, the RBS 100 is not required to operate as described in these examples. As one example, the RBS 100 schedules multiple computer jobs for a particular application. Some of these computer jobs may require disk FO. The RBS 100 may analyze disk utilization as a condition for scheduling the computer jobs. If disk utilization is too high, then the RBS 100 waits until disk utilization drops to schedule a particular computer job of the application. The RBS 100 continues to monitor the disk I/O utilization, and allows another computer job to be scheduled if no other application is seeking access to disk I/O. However, if another application seeks utilization of disk I/O, then the RBS 100 does not allow another computer job to be scheduled, in this embodiment. Thus, other a ⁇ plication(s) can utilize the disk I/O.
- the RBS 100 may analyze network activity. If network traffic is too high, the RBS 100 will not schedule any computer job of the application until traffic slows. If network traffic is low enough, then the RBS 100 schedules a computer job for execution. The RBS 100 continues to check to make sure that network traffic stays low enough. If network traffic stays low enough, another computer job may be scheduled. However, if traffic gets too high, no further computer jobs are scheduled to execute. In these last two examples, the computer job may be a micro-job. However, that is not required.
- FIG. 3 is a block diagram that illustrates a computer system 300 upon which an embodiment of the invention maybe implemented. Steps of process 200 are stored as instructions one or more of the computer-readable media of system 300 and executed on the processor of computer system 300.
- Computer system 300 includes a bus 302 or other communication mechanism for communicating information, and a processor 304 coupled with bus 302 for processing information.
- Computer system 300 also includes a main memory 306, such as a random access memory (RAM) or other dynamic storage device, coupled to bus 302 for storing information and instructions to be executed by processor 304.
- Main memory 306 also may be used for storing temporary variables or other intermediate information during execution of instructions to be executed by processor 304.
- Computer system 300 further includes a read only memory (ROM) 308 or other static storage device coupled to bus 302 for storing static information and instructions for processor 304.
- ROM read only memory
- a storage device 310 such as a magnetic disk or optical disk, is provided and coupled to bus 302 for storing information and instructions.
- the computer system 300 can have any number of processors 304.
- computer system 300 is a multi-processor system, in one embodiment.
- the processor 304 can have any number of cores.
- the processor 304 is a multi-core processor 304.
- Computer system 300 can be used in a hyper threaded machine.
- Computer system 300 may be coupled via bus 302 to a display 312, such as a cathode ray tube (CRT), for displaying information to a computer user.
- a display 312 such as a cathode ray tube (CRT)
- cursor control 316 is Another type of user input device
- cursor control 316 such as a mouse, a trackball, or cursor direction keys for communicating direction information and command selections to processor 304 and for controlling cursor movement on display 312.
- This input device typically has two degrees of freedom in two axes, a first axis (e.g., x) and a second axis (e.g., y), that allows the device to specify positions in a plane.
- the invention is related to the use of computer system 300 for implementing the techniques described herein. According to one embodiment of the invention, those techniques are performed by computer system 300 in response to processor 304 executing one or more sequences of one or more instructions contained in main memory 306. Such instructions may be read into main memory 306 from another machine-readable medium, such as storage device 310. Execution of the sequences of instructions contained in main memory 306 causes processor 304 to perform the process steps described herein. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions to implement the invention. Thus, embodiments of the invention are not limited to any specific combination of hardware circuitry and software.
- machine-readable medium refers to any medium that participates in providing data that causes a machine to operate in a specific fashion.
- various machine-readable media are involved, for example, in providing instructions to processor 304 for execution.
- Such a medium may take many forms, including but not limited to, non-volatile media, volatile media, and transmission media.
- Non-volatile media includes, for example, optical or magnetic disks, such as storage device 310.
- Volatile media includes dynamic memory, such as main memory 306.
- Transmission media includes coaxial cables, copper wire and fiber optics, including the wires that comprise bus 302.
- Transmission media can also take the form of acoustic or light waves, such as those generated during radio- wave and infrared data communications. All such media must be tangible to enable the instructions carried by the media to be detected by a physical mechanism that reads the instructions into a machine.
- Machine-readable media include, for example, a floppy disk, a flexible disk, hard disk, magnetic tape, or any other magnetic medium, a CD- ROM, any other optical medium, punchcards, papertape, any other physical medium with patterns of holes, a RAM, a PROM, an EPROM, a FLASH-EPROM, any other memory chip or cartridge, a carrier wave as described hereinafter, or any other medium from which a computer can read.
- Various forms of machine-readable media may be involved in carrying one or more sequences of one or more instructions to processor 304 for execution.
- the instructions may initially be carried on a magnetic disk of a remote computer.
- the remote computer can load the instructions into its dynamic memory and send the instructions over a telephone line using a modem.
- a modem local to computer system 300 can receive the data on the telephone line and use an infrared transmitter to convert the data to an infrared signal.
- An infrared detector can receive the data carried in the infrared signal and appropriate circuitry can place the data on bus 302.
- Bus 302 carries the data to main memory 306, from which processor 304 retrieves and executes the instructions.
- Computer system 300 also includes a communication interface 318 coupled to bus 302.
- Communication interface 318 provides a two-way data communication coupling to a network link 320 that is connected to a local network 322.
- communication interface 318 may be an integrated services digital network (ISDN) card or a modem to provide a data communication connection to a corresponding type of telephone line.
- ISDN integrated services digital network
- communication interface 318 may be a local area network (LAN) card to provide a data communication connection to a compatible LAN.
- LAN local area network
- Wireless links may also be implemented.
- communication interface 318 sends and receives electrical, electromagnetic or optical signals that carry digital data streams representing various types of information.
- Network link 320 typically provides data communication through one or more networks to other data devices.
- network link 320 may provide a connection through local network 322 to a host computer 324 or to data equipment operated by an Internet Service Provider (ISP) 326.
- ISP 326 in turn provides data communication services through the worldwide packet data communication network now commonly referred to as the "Internet" 328.
- Internet 328 uses electrical, electromagnetic or optical signals that carry digital data streams.
- the signals through the various networks and the signals on network link 320 and through communication interface 318, which carry the digital data to and from computer system 300, are exemplary forms of carrier waves transporting the information.
- Computer system 300 can send messages and receive data, including program code, through the network(s), network link 320 and communication interface 318.
- a server 330 might transmit a requested code for an application program through Internet 328, ISP 326, local network 322 and communication interface 318.
- the received code may be executed by processor 304 as it is received, and/or stored in storage device 310, or other non- volatile storage for later execution. In this manner, computer system 300 may obtain application code in the form of a carrier wave.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multi Processors (AREA)
- Stored Programmes (AREA)
- Debugging And Monitoring (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
Description
Claims
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020097000982A KR101373786B1 (en) | 2006-06-19 | 2007-06-06 | Resource-based scheduler |
CA002654418A CA2654418A1 (en) | 2006-06-19 | 2007-06-06 | Resource-based scheduler |
AU2007261607A AU2007261607B2 (en) | 2006-06-19 | 2007-06-06 | Resource-based scheduler |
EP07795838A EP2038748A1 (en) | 2006-06-19 | 2007-06-06 | Resource-based scheduler |
JP2009516502A JP2009541851A (en) | 2006-06-19 | 2007-06-06 | Resource-based scheduler |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/471,466 US8239869B2 (en) | 2006-06-19 | 2006-06-19 | Method, system and apparatus for scheduling computer micro-jobs to execute at non-disruptive times and modifying a minimum wait time between the utilization windows for monitoring the resources |
US11/471,466 | 2006-06-19 | ||
US11/546,514 US9588809B2 (en) | 2006-10-10 | 2006-10-10 | Resource-based scheduler |
US11/546,514 | 2006-10-10 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2007149224A1 true WO2007149224A1 (en) | 2007-12-27 |
Family
ID=38608779
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2007/013394 WO2007149224A1 (en) | 2006-06-19 | 2007-06-06 | Resource-based scheduler |
Country Status (8)
Country | Link |
---|---|
EP (1) | EP2038748A1 (en) |
JP (2) | JP2009541851A (en) |
KR (1) | KR101373786B1 (en) |
AU (1) | AU2007261607B2 (en) |
CA (1) | CA2654418A1 (en) |
RU (1) | RU2453901C2 (en) |
TW (1) | TW200813845A (en) |
WO (1) | WO2007149224A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102625453A (en) * | 2011-01-28 | 2012-08-01 | 诺基亚公司 | Method and device for choosing dynamically scheduling strategies in RF resource allocation |
CN104657221A (en) * | 2015-03-12 | 2015-05-27 | 广东石油化工学院 | Multi-queue peak-alternation scheduling model and multi-queue peak-alteration scheduling method based on task classification in cloud computing |
US9122537B2 (en) | 2009-10-30 | 2015-09-01 | Cisco Technology, Inc. | Balancing server load according to availability of physical resources based on the detection of out-of-sequence packets |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013047892A (en) * | 2011-08-29 | 2013-03-07 | Fujitsu Ltd | Information processing device, scheduling method and program |
KR101694307B1 (en) * | 2012-02-29 | 2017-01-09 | 한국전자통신연구원 | Apparatus and method for maximizing disk cache effect for workflow job scheduling |
KR101695013B1 (en) * | 2012-12-14 | 2017-01-10 | 한국전자통신연구원 | Method for allocating and managing of adaptive resource |
US9652294B2 (en) * | 2013-11-25 | 2017-05-16 | International Business Machines Corporation | Cross-platform workload processing |
KR102585591B1 (en) * | 2021-06-23 | 2023-10-10 | 한국과학기술원 | Slo-aware artificial intelligence inference scheduler for heterogeneous processors in edge platforms |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2027219C1 (en) * | 1990-12-17 | 1995-01-20 | Грибков Владимир Александрович | Device for distributing tasks by processor |
JPH06237348A (en) * | 1993-02-08 | 1994-08-23 | Fuji Xerox Co Ltd | Memory controller |
US5491810A (en) * | 1994-03-01 | 1996-02-13 | International Business Machines Corporation | Method and system for automated data storage system space allocation utilizing prioritized data set parameters |
JPH11184714A (en) * | 1997-12-18 | 1999-07-09 | Nec Corp | Task management system |
JP3626374B2 (en) * | 1999-08-31 | 2005-03-09 | 富士通株式会社 | System diagnostic device, system diagnostic method, and computer-readable recording medium recording system diagnostic program |
US7035808B1 (en) * | 1999-10-20 | 2006-04-25 | Avaya Technology Corp. | Arrangement for resource and work-item selection |
US7171668B2 (en) * | 2001-12-17 | 2007-01-30 | International Business Machines Corporation | Automatic data interpretation and implementation using performance capacity management framework over many servers |
JP3936924B2 (en) * | 2003-06-18 | 2007-06-27 | 株式会社日立製作所 | Job scheduling method and system |
US7467102B2 (en) * | 2003-09-11 | 2008-12-16 | International Business Machines Corporation | Request type grid computing |
US20050240934A1 (en) * | 2004-04-21 | 2005-10-27 | Hewlett-Packard Development Company, L.P. | Task management based on system utilization |
US8856793B2 (en) * | 2004-05-11 | 2014-10-07 | International Business Machines Corporation | System, method and program for scheduling computer program jobs |
-
2007
- 2007-06-06 AU AU2007261607A patent/AU2007261607B2/en not_active Ceased
- 2007-06-06 KR KR1020097000982A patent/KR101373786B1/en not_active IP Right Cessation
- 2007-06-06 CA CA002654418A patent/CA2654418A1/en not_active Abandoned
- 2007-06-06 WO PCT/US2007/013394 patent/WO2007149224A1/en active Application Filing
- 2007-06-06 JP JP2009516502A patent/JP2009541851A/en active Pending
- 2007-06-06 EP EP07795838A patent/EP2038748A1/en not_active Withdrawn
- 2007-06-06 RU RU2008149050/08A patent/RU2453901C2/en not_active IP Right Cessation
- 2007-06-14 TW TW096121517A patent/TW200813845A/en unknown
-
2013
- 2013-08-01 JP JP2013160387A patent/JP2013218744A/en active Pending
Non-Patent Citations (5)
Title |
---|
DAS R ET AL: "Towards Commercialization of Utility-based Resource Allocation", AUTONOMIC COMPUTING, 2006. ICAC '06. IEEE INTERNATIONAL CONFERENCE ON DUBLIN, IRELAND 13-16 JUNE 2006, PISCATAWAY, NJ, USA,IEEE, 13 June 2006 (2006-06-13), pages 287 - 290, XP010932299, ISBN: 1-4244-0175-5 * |
DROR G. FEITELSON ET AL.: "Parallel Job Scheduling - A Status Report", LECTURE NOTES IN COMPUTER SCIENCE, vol. 3277, 2004, pages 1 - 16 |
FEITELSON DROR G ET AL: "Parallel job scheduling - A status report", LECT. NOTES COMPUT. SCI.; LECTURE NOTES IN COMPUTER SCIENCE; JOB SCHEDULING STRATEGIES FOR PARALLEL PROCESSING - 10TH INTERNATIONAL WORKSHOP, JSSPP 2004 2005, vol. 3277, 13 June 2004 (2004-06-13), pages 1 - 16, XP002456726 * |
See also references of EP2038748A1 * |
UTTAMCHANDANI S ET AL: "Chameleon: a self-evolving, fully-adaptive resource arbitrator for storage systems", PROCEEDINGS OF THE GENERAL TRACK. 2005 USENIX ANNUAL TECHNICAL CONFERENCE USENIX BERKELEY, CA, USA, 2005, pages 75 - 88, XP002456727, ISBN: 1-931971-27-7 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9122537B2 (en) | 2009-10-30 | 2015-09-01 | Cisco Technology, Inc. | Balancing server load according to availability of physical resources based on the detection of out-of-sequence packets |
CN102625453A (en) * | 2011-01-28 | 2012-08-01 | 诺基亚公司 | Method and device for choosing dynamically scheduling strategies in RF resource allocation |
CN102625453B (en) * | 2011-01-28 | 2016-01-20 | 诺基亚公司 | For the method and apparatus of the scheduling strategy in Dynamic Selection RF Resourse Distribute |
CN104657221A (en) * | 2015-03-12 | 2015-05-27 | 广东石油化工学院 | Multi-queue peak-alternation scheduling model and multi-queue peak-alteration scheduling method based on task classification in cloud computing |
CN104657221B (en) * | 2015-03-12 | 2019-03-22 | 广东石油化工学院 | The more queue flood peak staggered regulation models and method of task based access control classification in a kind of cloud computing |
Also Published As
Publication number | Publication date |
---|---|
KR101373786B1 (en) | 2014-03-13 |
JP2009541851A (en) | 2009-11-26 |
TW200813845A (en) | 2008-03-16 |
KR20090029811A (en) | 2009-03-23 |
JP2013218744A (en) | 2013-10-24 |
AU2007261607A1 (en) | 2007-12-27 |
RU2008149050A (en) | 2010-07-27 |
RU2453901C2 (en) | 2012-06-20 |
EP2038748A1 (en) | 2009-03-25 |
CA2654418A1 (en) | 2007-12-27 |
AU2007261607A2 (en) | 2009-06-25 |
AU2007261607B2 (en) | 2012-11-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9588809B2 (en) | Resource-based scheduler | |
US9727372B2 (en) | Scheduling computer jobs for execution | |
US11720403B2 (en) | System for commitment-aware workload scheduling based on anticipated resource consumption levels | |
US8056083B2 (en) | Dividing a computer job into micro-jobs for execution | |
AU2007261607B2 (en) | Resource-based scheduler | |
JP5299869B2 (en) | Computer micro job |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 200780022921.6 Country of ref document: CN |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 07795838 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2654418 Country of ref document: CA |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2007261607 Country of ref document: AU |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2009516502 Country of ref document: JP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2007261607 Country of ref document: AU Date of ref document: 20070606 Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 1020097000982 Country of ref document: KR Ref document number: 2007795838 Country of ref document: EP |
|
ENP | Entry into the national phase |
Ref document number: 2008149050 Country of ref document: RU Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 316/CHENP/2009 Country of ref document: IN |