Method and system for scheduling threads in a processor

The invention provides a method for guiding OS thread scheduling in multi-core and/or multi-threaded microprocessors. The method includes: determining, for each thread among the active threads, the power consumed by each instruction type associated with an instruction executed by the thread during t...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: AHMED T. SAYED GAMAL EL DIN, HISHAM E. ELSHISHINY
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a method for guiding OS thread scheduling in multi-core and/or multi-threaded microprocessors. The method includes: determining, for each thread among the active threads, the power consumed by each instruction type associated with an instruction executed by the thread during the last context switch interval; determining for each thread among the active threads, the power consumption expected for each instruction type associated with an instruction scheduled by said thread during the next context switch interval; generating at least one combination of N threads among the active threads (M), and for each generated combination determining if the combination of N threads satisfies a main condition related to the power consumption per instruction type expected for each thread of the thread combination during the next context switch interval and to the thread power consumption per instruction type determined for each thread of the thread combination during said given context switch interval;