Patent ID: 8136111

Claim:
A method for managing a simultaneous multi-threaded (SMT) enabled processor system comprising a plurality of processors each activated to simultaneously execute a plurality of hardware threads, said method comprising: facilitating construction of an exclusive set of processors from among said plurality of processors to handle a plurality of tasks of an single-threaded (ST) workload in said SMT enabled processing system; setting a separate dispatcher for each hardware thread of said exclusive set of processors to only execute work on each local run queue associated with each said hardware thread of said exclusive set of processors; draining any waiting tasks from each local run queue associated with each said hardware thread of said exclusive set of processors; responsive to placing each said hardware thread of said exclusive set of processors in an idle mode without any tasks to perform, setting each said hardware thread of said exclusive set of processors in a snooze mode, wherein only an interrupt awakens each said hardware thread placed in snooze mode to search an associated local run queue for waiting tasks; scheduling said ST workload on said exclusive set of processors by selecting only one hardware thread per processor within said exclusive set of processors to handle a separate one of said plurality of tasks of the ST workload while requiring the remaining hardware threads per processor within said exclusive set of processors to remain in said snooze mode, such that said ST workload is executed on an SMT enabled processor system as if said exclusive set of processors are running in ST mode without removing the remaining hardware threads per processor remaining in said snooze mode within said exclusive set of processors; applying each separate task of said ST workload to a separate local run queue of each said selected one hardware thread per processor within said exclusive set of processors; and sending said interrupt to wake up said selected one hardware thread per processor.