Title | ||
---|---|---|
An Optimal and Practical Cache-Oblivious Algorithm for Computing Multiresolution Rasters. |
Abstract | ||
---|---|---|
In many scientific applications it is required to reconstruct a raster dataset many times, each time using a different resolution. This leads to the following problem; let G be a raster of root N x root N cells. We want to compute for every integer 2 <= mu <= root N a raster G(mu) of inverted right perpendicular root N/mu inverted left perpendicular x inverted right perpendicular root N/mu inverted left perpendicular cells where each cell of G(mu) stores the average of the values of mu x mu cells of G. Here we consider the case where G is so large that it does not fit in the main memory of the computer. We present a novel algorithm that solves this problem in O(scan(N)) data block transfers from/to the external memory, and in Theta(N) CPU operations; here scan(N) is the number of block transfers that are needed to read the entire dataset from the external memory. Unlike previous results on this problem, our algorithm achieves this optimal performance without making any assumptions on the size of the main memory of the computer. Moreover, this algorithm is cache-oblivious; its performance does not depend on the data block size and the main memory size. We have implemented the new algorithm and we evaluate its performance on datasets of various sizes; we show that it clearly outperforms previous approaches on this problem. In this way, we provide solid evidence that non-trivial cache-oblivious algorithms can be implemented so that they perform efficiently in practice. |
Year | DOI | Venue |
---|---|---|
2013 | 10.1007/978-3-642-40450-4_6 | ALGORITHMS - ESA 2013 |
Field | DocType | Volume |
Internal memory,Integer,Discrete mathematics,Combinatorics,Cache-oblivious algorithm,Computer science,Auxiliary memory | Conference | 8125 |
ISSN | Citations | PageRank |
0302-9743 | 1 | 0.37 |
References | Authors | |
5 | 4 |
Name | Order | Citations | PageRank |
---|---|---|---|
Lars Arge | 1 | 2066 | 255.14 |
Gerth Stølting Brodal | 2 | 1399 | 86.30 |
Jakob Truelsen | 3 | 18 | 3.14 |
Constantinos Tsirogiannis | 4 | 12 | 5.93 |