Fast Rehashing in PRAM Emulations
نویسنده
چکیده
In PRAM emulations, universal hashing is a well-known method for distributing the address space among memory modules. However, if the memory access patterns of an application often result in high module congestion, it is necessary to rehash by choosing another hash function and redistributing data on the fly. For the case of linear hash functions h(x) = axmodm we present an algorithm to rehash an address space of size m = 2” on a PRAM emulation with p processors in time O(m/p + logm + L), where L denotes the network latency. For the common case that m is polynomial in p and L = O(logp) the runtime is O(m/p + logp). The algorithm requires O(logm + L) words of local storage per processor. We show that an obvious simplification of the algorithm will significantly increase runtime with high probability.
منابع مشابه
Hashing and Rehashing in Emulated Shared Memory Hashing and Rehashing in Emulated Shared Memory
The PRAM model is widely used to formulate parallel algorithms because of its shared memory and its synchronous behaviour. The model however bears little resemblance to real parallel machines. This has led to various approaches to emulating PRAMs on processor networks. We brieey survey the principles behind these emulations and show why hashing is an important part of them. We discuss the commo...
متن کاملRandomized Routing and PRAM Emulation on Parallel Machines
This paper shows the power of randomization in designing e cient parallel algorithms for the problems of routing and PRAM emulation. We show that with randomization techniques optimal routing can be obtained for a large class of processor interconnection networks called leveled networks. This class includes well-known networks (e.g., mesh, hypercube and de Bruijn) as well as new ones (e.g., sta...
متن کاملEmulation of a PRAM on Leveled Networks
We present efficient emulations of the CRCW PRAM on a large class of processor interconnection networks called leveled networks. This class includes the star graph and the n-way shuffle, which have the interesting property that the network diameter is sub-logarithmic in the network size. We show that a CRCW PRAM can be emulated optimally on these networks (i.e., each emulation step takes time l...
متن کاملGlobal Cellular Automata: a Path from Parallel Random Access Machines To Practical Implementations
The Parallel Random Access Machine (PRAM) and the Global Cellular Automaton (GCA) are both models to study parallel algorithms. We investigate the commonalities and di erences between these models, because we think that they could nicely complement each other: PRAMs have lots of algorithms, GCAs provide e cient implementation paths. We provide the following results: GCAs are CROW PRAMs, GCAs ha...
متن کاملFast Deterministic Computations on a Faulty PRAM
We develop a method to simulate deterministically the operational Parallel Random Access Machine (PRAM) on a PRAM prone to processor and memory failures. It is shown that an n-processor PRAM with a bounded fraction of faulty processors and memory cells can simulate de-terministically the fully operational PRAM with O(log n) slowdown, after preprocessing performed in time O(log 2 n).
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Theor. Comput. Sci.
دوره 155 شماره
صفحات -
تاریخ انتشار 1993