An Allocation Strategy Using Shadow-processors and Simulation Technique

Document type: Conference Papers
Peer reviewed: Yes
Author(s): Magnus Broberg, Lars Lundberg, Håkan Grahn
Title: An Allocation Strategy Using Shadow-processors and Simulation Technique
Conference name: ISCA 14th International Conference on Parallel and Distributed Computing Systems
Year: 2001
Pagination: 387-394
ISBN: 1-880843-39-0
Publisher: Int. Soc. Comput. & their Applications - ISCA
City: Richardson, TX, USA
ISI number: 000179289500062
Organization: Blekinge Institute of Technology
Department: Department of Software Engineering and Computer Science (Institutionen för programvaruteknik och datavetenskap)
Dept. of Software Engineering and Computer Science S-372 25 Ronneby
+46 455 38 50 00
http://www.bth.se/eng/ipd/
Language: English
Abstract: Efficient performance tuning of parallel programs for multiprocessors is often hard. When it comes to assigning threads to processors there is not much support from commercial operating systems, like the Solaris operating system. The only known value is, in best case, the total execution time of each thread. The developer is left to the bin packing algorithm with no knowledge about the interactions and dependencies between the threads. The bin packing algorithm assigns, in the worst case, the threads to the processors such that the program will have the longest possible execution time. A simple example of such a program is shown. We present here a way of retrieving more information and a test mechanism that makes it possible to compare two different assignments of threads on processors also with regard to the interactions and dependencies between the threads. Also an algorithm is proposed that gives the best assignment of threads to processors in the case above where the bin packing algorithm gave the worst possible assignment. The algorithm uses shadow-processors and requires more processors than on the target machine during some allocation steps. Thus, a simulation tool like the one presented here must be used.
Subject: Computer Science\Computersystems
Keywords: bin packing, multi-threading, multiprocessing systems, parallel programming, resource allocation, software performance evaluation, virtual machines
Edit