Parallel external memory (Model)
In computer science, a parallel external memory (PEM) model is a cache-aware, external-memory abstract machine. It is the parallel-computing analogy to the single-processor external memory (EM) model. In a similar way, it is the cache-aware analogy to the parallel random-access machine (PRAM). The PEM model consists of a number of processors, together with their respective private caches and a shared main memory.
Model
...
Read / Write conflicts
...
Complexity measure
...
Examples
Prefixsum
...
Multiway partitioning
...
Selection
The selection problem is to find an item in an unordered list of size which is bigger than other elements in .
if then return end if for each processor i in parallel do //Find median of each end for // Sort medians // Partition around median of medians if then return else return end if
Under the assumption that the input is stored in contiguous memory, PRAMSORT
runs in , and SELECT
is a cache optimal single-processor selection algorithm, this algorithm has an I/O complexity of:
Distribution sort
...
Other algorithms
Algorithm | Time complexity | Space complexity |
---|---|---|