Title :
Single-Pass List Partitioning
Author :
Frias, Leonor ; Singler, Johannes ; Sanders, Peter
Author_Institution :
Dep. de Llenguatges i Sistemes Inf., Univ. Politec. de Catalunya, Barcelona
Abstract :
Parallel algorithms divide computation among several threads. In many cases, the input must also be divided. Consider an input consisting of a linear sequence of elements whose length is unknown a priori. We can evenly divide it naively by either traversing it twice (first determine length, then divide) or by using linear additional memory to hold an array of pointers to the elements. Instead, we propose an algorithm that divides a linear sequence into p parts of similar length traversing the sequence only once, and using sub-linear additional space. The experiments show that our list partitioning algorithm is effective and fast in practice.
Keywords :
data structures; multi-threading; parallel algorithms; linear additional memory; multithreading program; parallel algorithm; pointer array; single-pass list partitioning algorithm; Competitive intelligence; Computer languages; Concurrent computing; Libraries; Parallel algorithms; Partitioning algorithms; Software systems; Yarn;
Conference_Titel :
Complex, Intelligent and Software Intensive Systems, 2008. CISIS 2008. International Conference on
Conference_Location :
Barcelona
Print_ISBN :
978-0-7695-3109-0
DOI :
10.1109/CISIS.2008.44