A multi processor computing system managing tasks based on the health index of the plurality of processors and the priority of tasks to be scheduled. The method comprise receiving the tasks to be scheduled on the computing system; preparing a queue of the tasks based on a scheduling algorithm; computing a health index value for each processor of the computing system; and scheduling the tasks on processors based on the health index value of the processors. A task from a processor with a lower health index may be moved to an available processor with a higher health index.
|
1. A method of scheduling tasks in a computing system having multiple processors comprising:
receiving the tasks to be scheduled on the computing system;
storing the tasks in a queue according to a priority associated with each of the tasks;
assigning an initial health index value to each of the processors;
detecting an error in a hardware component connected to at least one of the processors;
determining whether the hardware component is connected to just one processor or more than one processor;
based on determining that the hardware component is connected to just one processor, obtaining a health index coefficient for the detected error from a health index coefficient mapping table that maps errors to corresponding health index coefficients, and updating the health index value for that processor based on the obtained health index coefficient;
based on determining that the hardware component is connected to more than one processor, identifying all processors connected to the hardware component, obtaining the health index coefficient for the detected error from the health index coefficient mapping table, and updating the health index value for all identified processors based on the obtained health index coefficient, wherein the health index coefficient for the detected error is based on a severity of the error and an effect of the error on the functioning of the computing system; and
scheduling the tasks for execution on the multiple processors based on the health index values of the multiple processors and based on the priority of each task.
8. A non-transitory computer-readable medium containing instructions that, when executed by a processing circuit, causes the processing circuit to:
receive tasks to be scheduled on a computing system having multiple processors;
storing the tasks in a queue according to a priority associated with each of the tasks;
assign an initial health index value to each of the processors;
detect an error in a hardware component connected to at least one of the processors;
determine whether the hardware component is connected to just one processor or more than one processor;
based on determining that the hardware component is connected to just one processor, obtain a health index coefficient for the detected error from a health index coefficient mapping table that maps errors to corresponding health index coefficients, and update the health index value for that processor based on the obtained health index coefficient;
based on determining that the hardware component is connected to more than one processor, identify all processors connected to the hardware component, obtaining the health index coefficient for the detected error from the health index coefficient mapping table, and update the health index value for all identified processors based on the obtained health index coefficient, wherein the health index coefficient for the detected error is based on a severity of the error and an effect of the error on the functioning of the computing system; and
schedule the tasks for execution on the multiple processors based on the health index values of the multiple processors and based on the priority of each of the tasks.
9. A computing system, comprising:
a memory to store a plurality of tasks to be scheduled for execution on the computing system and according to a priority associated with each of the plurality of tasks;
a plurality of processors to execute the plurality of tasks stored on the memory;
a plurality of hardware components connected to at least one of the plurality of processors;
a hardware diagnostic solution to:
assign an initial health index value to each of the plurality of processors;
detect an error in a hardware component connected to at least one of the plurality of processors;
determine whether the hardware component is
connected to just one processor or more than one processor, and
based on a determination that the hardware component is connected to just one processor, obtain a health index coefficient for the detected error from a health index coefficient mapping table that maps errors to corresponding health index coefficients, and update the health index value for that processor based on the obtained health index coefficient; and
based on a determination that the hardware component is connected to more than one processor, identify all processors connected to the hardware component, obtain a health index coefficient for the detected error from the health index coefficient mapping table, and update the health index value for all identified processors based on the obtained health index coefficient, wherein the health index coefficient for the detected error is based on a severity of the error and an effect of the error on the functioning of the computing system;
a scheduler to schedule the plurality of tasks for execution on the plurality of processors based on the priority of each of the plurality of tasks and based on the health index values of the plurality of processors.
2. The method of
resetting the health index value of a faulty processor to a maximum value when the faulty processor and all faulty hardware components connected to the faulty processor are replaced with new processor and hardware components.
3. The method of
4. The method of
5. The method of
determining an amount of time required to process each of the scheduled tasks; and
rescheduling a task from a processor with a lower health index value to a processor with a higher health index value when the processor with the higher health index value is not processing any tasks.
6. The method of
7. The method of
|
Recent years have seen a continued pattern of development in the computer field. In that regard, considerable effort has been directed to multi processor computing system. Such systems involve a plurality of processors or function units capable of independent operation to process separate tasks in parallel. Usually, the tasks relate to a specified job. Typically, a multi processor computing system includes a plurality of computational units, a memory, a control and at least one input-output processor.
High performance computer systems may utilize multiple processors to increase processing power. Processing workloads may be divided and distributed among the processors, thereby reducing execution time and increasing performance. For example, some computer systems are now provided with processors that include multiple processing cores, each of which may be capable of executing multiple execution threads.
Similarly, single-core and/or multi-core computer systems may be combined into multiprocessor computer systems, which are often used in computer servers. One architectural model for high performance multiple processor computer system is the cache coherent Non-Uniform Memory Access (ccNUMA) model. Under the ccNUMA model, system resources such as processors and random access memory may be segmented into groups referred to as Locality Domains, also referred to as “nodes” or “cells”. Another architectural model for high performance multiple processor computer system is the distributed memory computing model where nodes are interconnected with each other by a high performance interconnect or by Ethernet. In both models, each node may comprise one or more processor cores and physical memory. A processor core in a node may access the memory in its node, referred to as local memory, as well as memory in other nodes, referred to as remote memory.
Multi-processor computer systems may be partitioned into a number of elements also called cells or virtual machines. Each cell includes at least one, and more commonly a plurality, of processors. The various cells in a partitioned computer system may run different operating systems, if desired.
Generally in multi processor computers, tasks are scheduled by a task scheduler. A task scheduler is a device which determines the priority and order of execution of several simultaneous task requests and gives the “winning” task a signal to proceed.
The components in a multi processor system are prone to errors and/or failures. Self healing actions like dynamic processor resiliency for processor related errors and dynamic memory resiliency for memory related errors are performed by diagnostic agents running on the operating system. However when some of these self healing actions are taken, it comes to a cost of performance.
Embodiments of the present invention are illustrated by way of an example and not limited to the figures of the accompanying drawings, in which like references indicate similar elements and in which:
Other features of the present embodiments will be apparent from the accompanying drawings and from the detailed description that follow.
A system and method of scheduling task in a multi processor system is described. In the following detailed description of the embodiments of the invention, reference is made to the accompanying drawings that form a part hereof, and in which are shown by way of illustration specific embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention, and it is to be understood that other embodiments may be utilized and that changes may be made without departing from the scope of the present invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined only by the appended claims. The methods described herein may be embodied as logic instructions on a computer-readable medium. When executed on a processor, the logic instructions cause a general purpose computing device to be programmed as a special-purpose machine that implements the described methods. The processor, when configured by the logic instructions to execute the methods recited herein, constitutes structure for performing the described methods.
The memory 110 may be a non-volatile memory for temporarily receiving and storing the plurality of tasks to be executed on the multi processor computing system 100. For example the memory 110 may store a plurality of tasks T1, T2, . . . , Tm-1. A task is a set of program instructions that are loaded in a memory. For a computer system the task set Ti (0≦i≦m−1) may be known and for each task the task priority information may be known or can be approximated. All tasks are ready to execute and that the execution of the tasks are not interdependent, that is execution of a task T2 is not dependent upon the execution of task T1. Although the dependence between tasks may be incorporated into scheduling, if desired.
The scheduler 120 may be a software component that provides the ability to schedule the launch of tasks or scripts at predefined or specified time intervals. The scheduler typically provides a graphical user interface and a single point of control for definition and monitoring of task execution in a computing system. The basic features of a scheduler may comprise automatic submission of tasks, an interface to monitor the execution of the tasks, and queues to control the execution order of unrelated tasks. The scheduler may use various scheme to decide which particular task to run. The various schemes may comprise task priority, computational resource availability, estimated execution time, elapsed execution time, and the like.
The plurality of processor 130 is a group of processors having two or more processors P1 through Pn. The plurality of processors may be the physical processors and/or logical processors. In an example of a multi processor computing system all the processors may be equal or some may be reserved for special purpose. The multiple processors may be coupled to each other at the bus level. These processors may have access to a central shared memory or may participate in a memory hierarchy with both local and shared memory. In another example of a multi processor computing system all of the processors may be placed on a single chip.
The traffic controller and memory interface 140 provide means for processors to connect to a variety of external devices. The traffic controller and memory interface 140 may manage the flow of data going to and from the memory. The shared memory 150 is typically a large block of random access memory that can be accessed by several processors in a multi processor computing system. In an example embodiment, the shared memory 150 may be in addition to each processors limited non-shared private memory. The access to a shared memory may be slower than that of non-shared private memory.
At step 220 of
At step 230 of
At step 240 of
According to an example embodiment, the scheduler may schedule tasks based on the priority of the tasks in task queue and the health index value of the processors in the computing system. A low priority task may be scheduled on a processor with a low health index value. The task with the highest priority in the task queue may be assigned to a processor with the highest health index value. The task with second highest priority may be schedule on a processor which has the highest health index in the remaining set of processors and so on. The scheduler may sort the processors in a decreasing order of their health index value. The scheduler may also sort the tasks to be scheduled in decreasing order based on the priority of the tasks. The scheduler then may use the above sorted list to assign the tasks on the processors. If there is more than one processor with the same health index value then the scheduler may schedule tasks randomly on processors with same health index value. If the health index value of all the processors are a computing system is equal then the tasks may be randomly scheduled on all processors.
According to an example embodiment, if a task is scheduled on a processor with a low health index value, it may be rescheduled on another processor with a higher index value, if such processor is not processing any task. Before rescheduling the task to a new processor the scheduler may determine an estimated time required for processing of the job, estimated time required for moving the resources required for processing of the job and the estimated time required for context switching. As an example there are three tasks A, B and C in decreasing order of priority, A having the highest priority and C the lowest, to be scheduled on a computing system. The computing system comprises three processors out of which one processor has a low health index value. According to the priority based scheduling the task C may be scheduled on the processor with the low health index value. As soon as a healthy processor gets free and is available for tasks to be scheduled on it the process C may be moved to the healthy processor.
According to an example embodiment, the rescheduling and change to the scheduling process based on the health index may be configurable. The rescheduling may be triggered only when a particular failure is detected in the system which may reduce the health index value below a predetermined value. The configuration of rescheduling may reduce the overhead required in scheduling the task when the computing system has all the processors with a normal health index value.
At step 310 of
At step 320, a diagnostic system running on the computing system may detect an error in a hardware component. The diagnostic system maintains a list of basic health status of the processors and the components in a computing system. At step 325, the method may determine whether the erroneous component is connected to a processor. The erroneous component may be connected directly or indirectly to the processor. The component connectivity information may be obtained from the system management software running on the system.
At step 325 if the erroneous component is connected to a single processor, the method may identify the affected processor. The affected processor may be obtained using the connectivity information. The method may obtain a health index coefficient for the detected error from a health index coefficient mapping table and update the health index value of the affected processor. The health index coefficient mapping table consists of a mapping between the hardware error and a health index coefficient corresponding to the hardware error. The health index coefficient for each hardware error may be predetermined by the system administrator based on the severity of the hardware error and the effect of the hardware error on the functioning of the computing system. The health index coefficient may also depend on the repetition of the error on a hardware component. At step 330 of
At step 340 of
As an example, if there are failures which affects multiple processor cores, then the health index value of each processor core will be changed based on the severity of error. A potential failure in a processor chip may result in reduction in the health of all the individual processor cores contained on the same processor chip which may be reflected by the health index value of the individual processor cores. As an example a failure in common component like fabric interconnect link and core electronic complex chip may result in performance degradation of more than one processor. As an example a continuous correctable error in a fabric interconnect between a processor and a memory may result in self healing action which may involve a speed reduction of the fabric interconnect. If the error exceeds a predefined threshold, the fabric interconnect is restrained at a lower frequency. The speed reduction may lead to a greater memory fetch times for the processors forcing them to operate at slower rate.
When an erroneous component is replaced with a new component, in the computing system, the health index value of the processor connected to the component may be recalculated. The newly added component may be assumed as a healthy component and hence is assigned normal health index coefficient. The health index value of all processors which are connected to a replaced component may be updated accordingly. When a processor chip is replaced with a new one, the health index value of all the processors on that processor chip may be reset to a normal health index value. When only one processor is replaced with a new one, the health index value of the processor may be reset to a normal value. Also when the erroneous component is serviced for the error and/or goes through a healing process, the health index value of the processors may be updated.
The health index value for all the processors may be updated dynamically at the time of detection of an error and/or the healing of the error in a hardware component. The scheduler may be notified for any change in the health index value of a processor and the updated health index value is made available. The health index value for the processors is maintained with the computing system and may be accessed by the scheduler. The health index value may be stored in the computing system memory. The scheduler may use the updated health index value to effectively schedule the tasks on the processors.
According to an example embodiment, the health index value may be used to notify the system administrator for a potential point of failure in the computing system. When the health index value of a processor is lower than a predetermined value, the scheduler may generate a message for the system administrator indicating a loss of performance and a potential component failure. The system administrator may take a remedial action to avoid the loss of performance and/or a complete failure of the computing system.
The scheduling of tasks based on the health index value of the processor may increase the performance of the computing system under failure conditions. The health index value may also be used by the global work load manager to manage the processor resources. The health index value calculation may also decrease the probability of unscheduled downtime as the number of tasks scheduled on the erroneous components is reduced. The decrease in the unscheduled downtime of the computing system may increase the total user experience.
It will be appreciated that the various embodiments discussed herein may not be the same embodiment, and may be grouped into various other embodiments not explicitly disclosed herein. In addition, it will be appreciated that the various operations, processes, and methods disclosed herein may be embodied in a machine-readable medium and/or a machine accessible medium compatible with a data processing system (e.g., a computer system), and may be performed in any order (e.g., including using means for achieving the various operations). Accordingly, the specification and drawings are to be regarded in an illustrative rather than a restrictive sense.
Although the present embodiments have been described with reference to specific embodiments, it will be evident that various modifications and changes may be made to these embodiments without departing from the broader spirit and scope of the various embodiments. For example, the various devices, modules, analyzers, generators, etc. described herein may be enabled and operated using hardware circuitry (e.g., CMOS based logic circuitry), firmware, software and/or any combination of hardware, firmware, and/or software (e.g., embodied in a machine readable medium). For example, the various electrical structure and methods may be embodied using transistors, logic gates, and electrical circuits (e.g., application specific integrated circuits (ASIC)).
Shivanna, Suhas, Krishnapuram Ranganathan, Karthik
Patent | Priority | Assignee | Title |
10528443, | Jan 30 2015 | SAMSUNG ELECTRONICS CO , LTD ; International Business Machines Corporation | Validation of multiprocessor hardware component |
10545839, | Dec 22 2017 | International Business Machines Corporation | Checkpointing using compute node health information |
10942768, | Aug 29 2018 | Red Hat, Inc.; Red Hat, Inc | Computing task scheduling in a computer system utilizing efficient attributed priority queues |
10983887, | Jan 30 2015 | International Business Machines Corporation; Samsung Electronics Co., Ltd. | Validation of multiprocessor hardware component |
9286107, | Aug 30 2013 | Fujitsu Limited | Information processing system for scheduling jobs, job management apparatus for scheduling jobs, program for scheduling jobs, and method for scheduling jobs |
9298500, | Sep 30 2013 | Fujitsu Limited | Information processing system and control method of information processing system for managing jobs in a distributed multi-node environment |
9703638, | Dec 27 2013 | Oracle International Corporation | System and method for supporting asynchronous invocation in a distributed data grid |
9846618, | Dec 27 2013 | Oracle International Corporation | System and method for supporting flow control in a distributed data grid |
Patent | Priority | Assignee | Title |
5517200, | Jun 24 1994 | The United States of America as represented by the Secretary of the Air | Method for detecting and assessing severity of coordinated failures in phased array antennas |
7099942, | Dec 12 2001 | Bellsouth Intellectual Property Corporation | System and method for determining service requirements of network elements |
20020133759, | |||
20050066239, | |||
20050186831, | |||
20050246581, | |||
20060010344, | |||
20060184939, | |||
20070043571, | |||
20070043975, | |||
20070088974, | |||
20080005538, | |||
20080005539, | |||
20080021994, | |||
20080030764, | |||
20080115010, | |||
20080250420, | |||
20090113438, | |||
20090288092, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Feb 11 2009 | SHIVANNA, SUHAS | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 023418 | /0753 | |
Feb 11 2009 | KRISHNAPURAM RANGANATHAN, KARTHIK | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 023418 | /0753 | |
Oct 23 2009 | Hewlett-Packard Development Company, L.P. | (assignment on the face of the patent) | / | |||
Oct 27 2015 | HEWLETT-PACKARD DEVELOPMENT COMPANY, L P | Hewlett Packard Enterprise Development LP | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 037079 | /0001 | |
Jan 15 2021 | Hewlett Packard Enterprise Development LP | OT PATENT ESCROW, LLC | PATENT ASSIGNMENT, SECURITY INTEREST, AND LIEN AGREEMENT | 055269 | /0001 | |
Jan 15 2021 | HEWLETT PACKARD ENTERPRISE COMPANY | OT PATENT ESCROW, LLC | PATENT ASSIGNMENT, SECURITY INTEREST, AND LIEN AGREEMENT | 055269 | /0001 | |
Aug 03 2021 | OT PATENT ESCROW, LLC | VALTRUS INNOVATIONS LIMITED | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 057650 | /0537 |
Date | Maintenance Fee Events |
Mar 22 2018 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Mar 23 2022 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Date | Maintenance Schedule |
Oct 28 2017 | 4 years fee payment window open |
Apr 28 2018 | 6 months grace period start (w surcharge) |
Oct 28 2018 | patent expiry (for year 4) |
Oct 28 2020 | 2 years to revive unintentionally abandoned end. (for year 4) |
Oct 28 2021 | 8 years fee payment window open |
Apr 28 2022 | 6 months grace period start (w surcharge) |
Oct 28 2022 | patent expiry (for year 8) |
Oct 28 2024 | 2 years to revive unintentionally abandoned end. (for year 8) |
Oct 28 2025 | 12 years fee payment window open |
Apr 28 2026 | 6 months grace period start (w surcharge) |
Oct 28 2026 | patent expiry (for year 12) |
Oct 28 2028 | 2 years to revive unintentionally abandoned end. (for year 12) |