A computer system having a plurality of processors where each of the processors is dynamically assigned for execution of tasks based upon either performance or reliability.
|
12. A microprocessor comprising:
at least two execution units capable of performing the same function and adapted to execute instructions based on a performance metric or a reliability metric; and
an instruction control unit to receive instructions and to dynamically assign one of the received instructions for redundant execution by each of the at least two execution units based on the reliability metric, wherein the results of the redundant execution of the received instruction are different from one another, and the instruction control unit assigns another one of the processors to execute the received instruction.
1. A computer system comprising:
a plurality of processors adapted to execute instructions based on a performance metric or a reliability metric; and
an instruction control unit to receive instructions and to dynamically assign each one of the instructions to the plurality of processors for redundant execution by at least two of the processors according to the reliability metric, and dynamically assigns each one of the remaining received instructions for execution to each one of the remaining processors according to the performance metric, wherein the results of the redundant execution of the instruction according to the reliability metric are different from one another, and the instruction control unit assigns another one of the processors to execute the received instruction.
2. The computer system of
3. The computer system according to
4. The computer system of
5. The computer system according to
6. The computer system according to
7. The computer system according to
8. The computer system according to
9. The computer system according to
10. The computer system according to
11. The computer system according to
13. The microprocessor of
14. The microprocessor of
at least one additional execution unit for performing a function different from that of the at least two execution units;
wherein the instruction control unit assigns each one of the received instructions to the at least two execution units for execution based upon a defined reliability metric, and assigns another one of the received instructions to the additional execution unit for execution based upon a defined performance metric.
|
1. Technical Field
The present invention generally relates to systems having multiple processors, and more particularly, to systems having multiple processors where the resources of the processors are dynamically allocated.
2. Related Art
In today's fast moving electronic based environments, the consumer has continued to demand both increased speed and increased reliability. In order to fulfill these desires, the industry has adopted an approach that uses redundant components in a system where parallel processing can be performed. Unfortunately, duplicated components of these systems have been designed in a static state so that they either operate in parallel for speed or perform redundant operations for reliability. If a user was not concerned about size or cost, these types of designs would suffice.
For example, multi-processor systems that support both reliability and performance are currently designed by assigning one set of dedicated processors for performance based operations, and another set of dedicated processors for reliability based operations. The cost associated with these additional redundant processors can become quite substantial. Furthermore, since the systems are static, the consumer is unable to change the configuration or allocation of the processors for either reliability or performance without purchasing a new system.
In yet another example, the performance of the processors themselves can also be increased by adding duplicate components (e.g. Floating point execution units) for parallel execution.
It would, therefore, be a distinct advantage to have an electronic device that has duplicate components that could be dynamically assigned to a task based upon either performance or reliability purposes. The present invention provides such a device.
The present invention is applicable to any device that has duplicate components residing therein. The present invention dynamically assigns tasks to the duplicate components based upon either performance or reliability objectives.
In one aspect, the present invention is a computer system having a plurality of microprocessors where each one of the microprocessors is dynamically assigned a task based upon either performance or reliability.
In yet another aspect, the present invention is a processor having duplicate execution units where each one of the duplicate execution units is assigned a task based upon either performance or reliability.
The present invention will be better understood and its numerous objects and advantages will become more apparent to those skilled in the art by reference to the following drawings, in conjunction with the accompanying specification, in which:
In the following description, well-known circuits have been shown in block diagram form in order not to obscure the present invention in unnecessary detail. For the most part, details concerning timing considerations and the like have been omitted inasmuch as such details are not necessary to obtain a complete understanding of the present invention, and are within the skills of persons of ordinary skill in the relevant art.
The present invention is applicable to any device that has duplicate components residing therein. The present invention dynamically assigns tasks to the duplicate components based upon either performance or reliability. Although specific embodiments are shown and described below for implementing such a device, the present invention is not intended to be limited to these particular embodiments, but is equally applicable to any device having duplicate components.
Reference now being made to
The dynamic instruction control unit 102 is illustrated as residing within the control processor 124, but it could also be a separate unit reporting the status to the control processor 124 as well. The dynamic instruction control unit 102 oversees the distribution of instructions and data, under normal and error conditions. The dynamic instruction control unit 102 is responsible for receiving data 120, instructions 118 to perform on the data 120, and a desired operation priority 116, and then to schedule the calculation and report the calculation status 122 back to the control processor 124. The control processor, then, is responsible for establishing the priority of instructions, and for handling unusual situations as indicated by the status, such as errors that cannot be resolved otherwise. The operation of the dynamic instruction control unit 102 is best explained by way of example, and is described as such in connection with
Now assume that the user has specified some level of redundancy for certain instructions such as calculations. When the DIC 102 receives one of these instructions (step 202), assuming no higher priority instruction is available (step 204), the next available processor 1-N (104-110) is assigned to execute the instruction (step 206). However, since the user has specified redundancy (step 208), the DIC also assigns at least one additional processor 1-N (104-110) for duplicate processing of the instruction. It should be noted that many different methods for ensuring redundancy can be used with the present invention (for example 3 processors from the start with voting at the end), and the particular method used in this example is not to be considered a limitation but merely an example of how such redundancy can be implemented.
Once execution has completed for the assigned processors 1-N (104-110), the results for the processors are compared one to another (steps 212, 214, and 216). If the results are different, then the DIC 102 assigns the next available processor 1-N (104-110) to execute the instruction a third time (step 218). After the execution completes (step 220), the DIC 102 compares the result to the results obtained from the previous two executions, and the matching result is used as correct and reported (step 224). If all of the results are different from one another, then an error condition is reported (step 224).
As a further example, assuming that multiple instructions are received by the DIC 102 where some have strict integrity constraints while others do not, the processors 1-N (104-110), can be dynamically assigned for the instructions accordingly. For example, in a 10 processor system, three high integrity processes can be assigned to six processors, while the other four processors can be assigned to the remaining instructions to achieve high throughput.
It should also be noted that the dynamic instruction control unit 102 can delay execution in one processor with respect to parallel execution in a second processor, in order to provide some immunity to more global transient sources of errors, such as voltage spikes.
While the previous examples have been focused on single instructions, a coarser granularity, at the process, task or transaction level is also supported by the dynamic instruction control unit 102. The point at which results must be compared (step 216) is the point at which a result is computed that is to be used outside the current computation. Transaction processing, for example, would require this comparison at the commit phase of processing.
To support the coarser granularity a checksum register in the processor is used to compute a checksum over a computation. First, a checksum register is cleared at the beginning of the computation. This is done with a synchronizing instruction that insures all instructions preceding it complete before this instruction executes. On each cycle, the checksum is updated using some function of the current checksum and the computation state. For example, the exclusive-or of the checksum register, the virtual data address, and the data stored for each store instruction would give a check of the results written to memory. Additional checking could include the instruction address and result data from computations, if the data of the processor, and not just the program output, is desired to match. At the end of the computation, a freeze checksum instruction causes the checksum register to hold its contents. This is also a synchronizing instruction.
The use of the checksum on a high reliability low worst case latency application, results, in the preferred embodiment, in each thread being dispatched to three processors. As each processor completes its checksum guarded computation, it stores the checksum and updates a semaphore. When the third processor completes the computation, it runs the checksum compare code. Assuming that at least two checksums match, the result of the calculation from one of those two matching processors is committed.
If lowest worst case latency is not critical, better throughput can be had using two of the N processors at a time for checksum guarded computation, and if an error is detected, a third processor is used to break the tie (similarly, in a single processor system, a checksum guarded computation can be executed twice, and checksums compared to detect an error, followed by a third iteration, if needed to break a tie.).
Reference now being made to
For example, it is common to design a superscalar processor with multiple instances of each type of execution unit to take advantage of instruction level parallelism and achieve high performance. With the fairly limited design change described here, such processors could be dynamically configured as high reliability processors whenever the application required it.
It should be noted that the processor implementation of
It is thus believed that the operatioconstruction of the present invention will be apparent from the foregoing description. While the method and system shown and described has been characterized as being preferred, it will be readily apparent that various changes and/or modifications could be made without departing from the spirit and scope of the present invention as defined in the following claims.
Emma, Philip G, Haar, Allen P, Kartschoke, Paul D, Krumm, Barry W, Rohrer, Norman J, Sandon, Peter A
Patent | Priority | Assignee | Title |
7594058, | Nov 07 2005 | VIA Technologies, Inc. | Chipset supporting a peripheral component interconnection express (PCI-E) architecture |
7631034, | Sep 18 2008 | LENOVO INTERNATIONAL LIMITED | Optimizing node selection when handling client requests for a distributed file system (DFS) based on a dynamically determined performance index |
7647484, | Feb 23 2007 | ServiceNow, Inc | Low-impact performance sampling within a massively parallel computer |
8826288, | Apr 19 2005 | Hewlett Packard Enterprise Development LP | Computing with both lock-step and free-step processor modes |
8856196, | Jul 22 2008 | Toyota Jidosha Kabushiki Kaisha | System and method for transferring tasks in a multi-core processor based on trial execution and core node |
Patent | Priority | Assignee | Title |
5689632, | Jun 14 1994 | Commissariat a l'Energie Atomique | Computing unit having a plurality of redundant computers |
20030046615, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Dec 17 2002 | KRUMM, BARRY W | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 013335 | /0491 | |
Dec 17 2002 | KARTSCHOKE, PAUL D | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 013335 | /0491 | |
Dec 17 2002 | HAAR, ALLEN P | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 013335 | /0491 | |
Dec 17 2002 | EMMA, PHILIP G | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 013335 | /0491 | |
Dec 18 2002 | SANDON, PETER A | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 013335 | /0491 | |
Dec 18 2002 | ROHRER, NORMAN J | International Business Machines Corporation | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 013335 | /0491 | |
Jan 07 2003 | International Business Machines Corporation | (assignment on the face of the patent) | / | |||
Jun 29 2015 | International Business Machines Corporation | GLOBALFOUNDRIES U S 2 LLC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 036550 | /0001 | |
Sep 10 2015 | GLOBALFOUNDRIES U S 2 LLC | GLOBALFOUNDRIES Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 036779 | /0001 | |
Sep 10 2015 | GLOBALFOUNDRIES U S INC | GLOBALFOUNDRIES Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 036779 | /0001 | |
Nov 27 2018 | GLOBALFOUNDRIES Inc | WILMINGTON TRUST, NATIONAL ASSOCIATION | SECURITY AGREEMENT | 049490 | /0001 | |
Nov 17 2020 | WILMINGTON TRUST, NATIONAL ASSOCIATION | GLOBALFOUNDRIES Inc | RELEASE BY SECURED PARTY SEE DOCUMENT FOR DETAILS | 054636 | /0001 | |
Nov 17 2020 | WILMINGTON TRUST, NATIONAL ASSOCIATION | GLOBALFOUNDRIES U S INC | RELEASE BY SECURED PARTY SEE DOCUMENT FOR DETAILS | 056987 | /0001 |
Date | Maintenance Fee Events |
Jun 28 2007 | ASPN: Payor Number Assigned. |
Jan 17 2011 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Mar 06 2015 | REM: Maintenance Fee Reminder Mailed. |
Jun 16 2015 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Jun 16 2015 | M1555: 7.5 yr surcharge - late pmt w/in 6 mo, Large Entity. |
Mar 11 2019 | REM: Maintenance Fee Reminder Mailed. |
Aug 26 2019 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
Jul 24 2010 | 4 years fee payment window open |
Jan 24 2011 | 6 months grace period start (w surcharge) |
Jul 24 2011 | patent expiry (for year 4) |
Jul 24 2013 | 2 years to revive unintentionally abandoned end. (for year 4) |
Jul 24 2014 | 8 years fee payment window open |
Jan 24 2015 | 6 months grace period start (w surcharge) |
Jul 24 2015 | patent expiry (for year 8) |
Jul 24 2017 | 2 years to revive unintentionally abandoned end. (for year 8) |
Jul 24 2018 | 12 years fee payment window open |
Jan 24 2019 | 6 months grace period start (w surcharge) |
Jul 24 2019 | patent expiry (for year 12) |
Jul 24 2021 | 2 years to revive unintentionally abandoned end. (for year 12) |