首页> 外文会议>Annual European symposium on algorithms >An Optimal and Practical Cache-Oblivious Algorithm for Computing Multiresolution Rasters
【24h】

An Optimal and Practical Cache-Oblivious Algorithm for Computing Multiresolution Rasters

机译:一种优化实用的多分辨率栅格计算的不记名算法

获取原文
获取外文期刊封面目录资料

摘要

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 N~(2/1) × N~(2/1) cells. We want to compute for every integer 2 ≤ μ ≤ N~(2/1) a raster (g)_μ of 「N~(2/1)/μ」 ×「N~(2/1)/μ」cells where each cell of (g)_μ stores the average of the values of μ ×μ 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 Θ(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.
机译:在许多科学应用中,需要多次重建栅格数据集,每次都使用不同的分辨率。这导致以下问题;令(g)为N〜(2/1)×N〜(2/1)个像元的栅格。我们要为每个2≤μ≤N〜(2/1)的整数计算一个栅格(g)_μ的``N〜(2/1)/μ''×``N〜(2/1)/μ''个像元,其中(g)_μ的每个单元格存储(g)的μ×μ个单元格的平均值。在这里,我们考虑(g)太大而无法容纳在计算机主存储器中的情况。我们提出了一种新颖的算法,可以解决从外部存储器到外部存储器的O(scan(N))数据块传输以及Θ(N)CPU操作中的此问题。这里scan(N)是从外部存储器读取整个数据集所需的块传输次数。与以前在此问题上得出的结果不同,我们的算法无需对计算机主存储器的大小做任何假设即可获得最佳性能。而且,该算法是缓存可忽略的。它的性能不取决于数据块大小和主存储器大小。我们已经实现了新算法,并在各种大小的数据集上评估了它的性能;我们证明它明显优于以前在该问题上的方法。这样,我们提供了可靠的证据,表明可以实现非平凡的,可以忽略缓存的算法,从而使它们在实践中高效执行。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号