Competitive parallel disk prefetching and buffer management

被引:1
|
作者
Barve, R [1 ]
Kallahalla, M
Varman, PJ
Vitter, JS
机构
[1] Duke Univ, Dept Comp Sci, Durham, NC 27708 USA
[2] Rice Univ, Dept Elect & Comp Engn, Houston, TX 77251 USA
基金
美国国家科学基金会;
关键词
D O I
10.1006/jagm.2000.1089
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We provide a competitive analysis framework for online prefetching and buffer management algorithms in parallel I/O systems, using a read-once model of black references. This has widespread applicability to key I/O-bound applications such as external merging and concurrent playback of multiple video streams. Two realistic lookahead models, global lookahead and local Lookahead, are defined. Algorithms NOM and GREED, based on these two forms of lookahead are analyzed for shared buffer and distributed buffer configurations, both of which occur frequently in existing systems. An important aspect of our work is that we show how to implement both of the models of lookahead in practice using the simple techniques of forecasting and flushing. Given a D-disk parallel I/O system and a globally shared I/O buffer that can hold up to M disk blocks, we derive a lower bound of Omega(root D) on the competitive ratio of any deterministic online prefetching algorithm with O(M) lookahead. NOM is shown to match the lower bound using global M-block lookahead. In contrast, using only local lookahead results in an Omega(D) competitive ratio. When the buffer is distributed into D portions of M/D blocks each, the algorithm GREED based on local lookahead is shown to be optimal, and NOM is within a constant factor of optimal. Thus we provide a theoretical basis for the intuition that global lookahead is more valuable for prefetching in the case of a shared buffer configuration, whereas it is enough to provide local lookahead in the case of a distributed configuration. Finally, we analyze the performance of these algorithms for reference strings generated by a uniformly-random stochastic process and we show that they achieve the minimal expected number of I/Os. These results also give bounds on the worst-case expected performance of algorithms which employ randomization in the data layout. (C) 2000 Academic Press.
引用
收藏
页码:152 / 181
页数:30
相关论文
共 50 条
  • [1] Randomized parallel prefetching and buffer management
    Varman, PJ
    [J]. PARALLEL AND DISTRIBUTED PROCESSING, 1998, 1388 : 363 - 372
  • [2] Tight Competitive Ratios for Parallel Disk Prefetching and Caching
    Hon, Wing-Kai
    Shah, Rahul
    Varman, Peter J.
    Vitter, Jeffrey Scott
    [J]. SPAA'08: PROCEEDINGS OF THE TWENTIETH ANNUAL SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES, 2008, : 352 - +
  • [3] Tight bounds for prefetching and buffer management algorithms for parallel I/O systems
    Varman, PJ
    Verma, RM
    [J]. IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 1999, 10 (12) : 1262 - 1275
  • [4] A prefetching scheme for energy conservation in parallel disk systems
    Manzanares, Adam
    Bellani, Kiramnai
    Qin, Xiao
    [J]. 2008 IEEE INTERNATIONAL SYMPOSIUM ON PARALLEL & DISTRIBUTED PROCESSING, VOLS 1-8, 2008, : 2651 - 2655
  • [5] Improving parallel-disk buffer management using randomized writeback
    Kallahalla, M
    Varman, PJ
    [J]. 1998 INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING - PROCEEDINGS, 1998, : 270 - 277
  • [7] Strip-oriented asynchronous prefetching for parallel disk systems
    Yang Liu
    Jian-zhong Huang
    Xiao-dong Shi
    Qiang Cao
    Chang-sheng Xie
    [J]. Journal of Zhejiang University SCIENCE C, 2012, 13 : 799 - 815
  • [8] Strip-oriented asynchronous prefetching for parallel disk systems
    Liu, Yang
    Huang, Jian-zhong
    Shi, Xiao-dong
    Cao, Qiang
    Xie, Chang-sheng
    [J]. JOURNAL OF ZHEJIANG UNIVERSITY-SCIENCE C-COMPUTERS & ELECTRONICS, 2012, 13 (11): : 799 - 815
  • [9] Red-black prefetching: An approximation algorithm for parallel disk scheduling
    Kallahalla, M
    Varman, PJ
    [J]. FOUNDATIONS OF SOFTWARE TECHNOLOGY AND THEORETICAL COMPUTER SCIENCE, 1998, 1530 : 66 - 77
  • [10] Practical buffer cache management scheme based on simple prefetching
    Jeon, Heung Seok
    [J]. IEEE TRANSACTIONS ON CONSUMER ELECTRONICS, 2006, 52 (03) : 926 - 934