Method and apparatus for resolving instruction starvation in a processor or the like
First Claim
Patent Images
1. In a multi-threaded processor, a method of assigning thread priority comprising:
- determining whether there is an indication of approaching instruction side starvation for a first thread of at least two threads.
1 Assignment
0 Petitions
Accused Products
Abstract
In a multi-threaded processor, thread priority variables are set up in memory. According to an embodiment of the present invention, several conditions are monitored so as to determine an indication of instruction side starvation may be approaching. If such starvation is approaching, the starvation is resolved upon the expiration of a threshold counter or the like.
18 Citations
30 Claims
-
1. In a multi-threaded processor, a method of assigning thread priority comprising:
determining whether there is an indication of approaching instruction side starvation for a first thread of at least two threads. - View Dependent Claims (2, 3, 4)
-
5. In a processor to handle processing of at least first and second threads in parallel, a method of assigning thread priority comprising:
determining if a plurality of conditions for said first thread are true, the conditions including if the processor is operating in a multithreaded processing mode;
if the first thread has no instructions in an execution pipeline of said processor; and
if the first thread is attempting to fetch instructions from a memory. - View Dependent Claims (6, 7, 8)
-
9. A multi-threaded processor comprising:
-
first and second thread queues;
control logic coupled to said first and second thread queues, said control logic to determine if there is an indication of approaching instruction side starvation for a first thread of at least first and second threads. - View Dependent Claims (10, 11, 12)
-
-
13. A processor to handle processing of at least first and second threads in parallel comprising:
-
first and second thread queues;
control logic coupled to said first and second thread queues, said control logic to determine if a plurality of conditions are true indicating approaching instruction side starvation for said first thread, the conditions including if the processor is operating in a multithreaded processing mode;
if the first thread has no instructions in an execution pipeline of said processor; and
if the first thread is attempting to fetch instructions from a memory. - View Dependent Claims (14, 15, 16)
-
-
17. A computer system to handle processing of at least first and second threads in parallel comprising:
-
a memory to store instructions for first and second threads;
a processor coupled to said memory and including first and second thread queues to store instructions from said first and second threads;
control logic coupled to said first and second thread queues, said control logic to determine if there is an indication of approaching instruction side starvation for said first thread. - View Dependent Claims (18, 19, 20)
-
-
21. A computer system to handle processing of at least first and second threads in parallel comprising:
-
a memory to store instructions for first and second threads;
a processor coupled to said memory and including first and second thread queues to store instructions from said first and second threads;
control logic coupled to said first and second thread queues, said control logic to determine if a plurality of conditions are true indicating approaching instruction side starvation for said first thread, the conditions including if the processor is operating in a multithreaded processing mode;
if the first thread has no instructions in an execution pipeline of said processor; and
if the first thread is attempting to fetch instructions from a memory. - View Dependent Claims (22, 23, 24)
-
-
25. A set of instructions residing in a storage medium, said set of instructions capable of being executed by a processor to handle processing of at least first and second threads in parallel and assign thread priority comprising:
determining if there is an indication of approaching instruction side starvation for said first thread. - View Dependent Claims (26, 27, 28, 29, 30)
Specification