Treffer: Feedback-directed thread scheduling with memory considerations

Title:
Feedback-directed thread scheduling with memory considerations
Authors:
Contributors:
The Pennsylvania State University CiteSeerX Archives
Publication Year:
2007
Collection:
CiteSeerX
Document Type:
Fachzeitschrift text
File Description:
application/pdf
Language:
English
Rights:
Metadata may be used without restrictions as long as the oai identifier remains attached to it.
Accession Number:
edsbas.4FCDB9F4
Database:
BASE

Weitere Informationen

This paper describes a novel approach to generate an optimized schedule to run threads on distributed shared memory (DSM) systems. The approach relies upon a binary instrumentation tool to automatically acquire the memory sharing relationship between user-level threads by analyzing their memory trace. We introduce the concept of Affinity Graph to model the relationship. Expensive I/O for large trace files is completely eliminated by using an online graph creation scheme. We apply the technique of hierarchical graph partitioning and thread reordering to the affinity graph to determine an optimal thread schedule. We have performed experiments on an SGI Altix system. The experimental results show that our approach is able to reduce the total execution time by 10 % to 38 % for a variety of applications through the maximization of the data reuse within a single processor, minimization of the data sharing between processors, and a good load balance.