Title :
An optimal asynchronous scheduling algorithm for software cache consistency
Author :
Simons, Barbara ; Sarkar, Vivek ; Breternitz, Mauricio, Jr. ; Lai, Michael
Author_Institution :
Santa Teresa Lab., IBM Corp., San Jose, CA, USA
Abstract :
We present a linear time algorithm for scheduling iterations of a loop that has no loop-carried dependences. The algorithm is optimal in the sense that any p consecutive iterations in the schedule can be executed simultaneously without any possibility of false sharing, where p is the number of processors, and the algorithm uses at most two wait synchronizations per iteration. Our algorithm is asynchronous in the sense that it allows the loop iterations to be scheduled greedily so that no processor will ever be kept idle if it could be safely executing an iteration. This property makes our algorithm superior to a "barrier" type algorithm, in which barrier synchronizations are used instead of pairwise signal-wait synchronizations.<>
Keywords :
buffer storage; optimisation; parallel programming; program compilers; scheduling; shared memory systems; synchronisation; barrier synchronizations; barrier type algorithm; compilers; consecutive iterations; false sharing; linear time algorithm; loop iterations; loop-carried dependences; optimal asynchronous scheduling algorithm; pairwise signal-wait synchronizations; parallel programming; software cache consistency; wait synchronizations;
Conference_Titel :
System Sciences, 1994. Proceedings of the Twenty-Seventh Hawaii International Conference on
Conference_Location :
Wailea, HI, USA
Print_ISBN :
0-8186-5090-7
DOI :
10.1109/HICSS.1994.323233