发明名称 |
Mechanism for effectively handling livelocks in a simultaneous multithreading processor |
摘要 |
A method and multithreaded processor for handling livelocks in a simultaneous multithreaded processor. A number of instructions for a thread in a queue may be counted. A counter in the queue may be incremented if the number of instructions for the thread in the queue in a previous clock cycle is equal to the number of instructions for the thread in the queue in a current clock cycle. If the value of the counter equals a threshold value, then a livelock condition may be detected. Further, if the value of the counter equals a threshold value, a recovery action may be activated to handle the livelock condition detected. The recovery action may include blocking the instructions associated with a thread causing the livelock condition from being executed thereby ensuring that the locked thread makes forward progress. |
申请公布号 |
US2004215933(A1) |
申请公布日期 |
2004.10.28 |
申请号 |
US20030422036 |
申请日期 |
2003.04.23 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
NGUYEN DUNG QUOC;YEUNG RAYMOND CHEUNG |
分类号 |
G06F9/30;G06F9/318;G06F9/38;(IPC1-7):G06F9/30 |
主分类号 |
G06F9/30 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|