线性带排序问题的一个精确算法
An Exact Algorithm for the Linear Tape Scheduling Problem
摘要:
磁带通常被认为是一种过时的存储技术,但它们仍然用于存储大量数据。他们的主要兴趣是大容量和每GB的低价格,这是以比磁盘更长的文件访问时间为代价的。因此,对于磁带,找到多个文件访问的正确顺序是性能的关键。沿着一公里长的磁带来回移动读取头具有不可忽略的成本,因此必须避免不必要的移动。然而,磁带请求排序的优化在调度文献中很少被研究,比磁盘上的I/O调度少得多。例如,最小化线性磁带上几个读请求的平均服务时间仍然是一个悬而未决的问题。因此,在本文中,我们的目标是提高磁带存储系统的用户所体验到的服务质量,而不仅仅是这种系统的峰值性能。为此,我们提出了一个合理的多项式时间精确算法,而这个问题和更简单的变种已被证明是NP难的。我们还完善了所提出的模型,考虑掉头罚款成本占固有的机械加速度。然后,我们提出了低成本的变种,我们的最佳算法,通过限制的解决方案空间,但仍然产生一个准确的次优解决方案。最后,我们比较我们的算法,现有的解决方案,从文献上的日志的海量存储器管理系统的一个主要的数据中心。这使我们能够评估以前的解决方案的质量和我们的低成本算法实现的改进。为了实现可重复性,我们提供了评估中使用的算法的完整实现,以及磁带请求数据集,据我们所知,这是第一个公开发布的此类数据集。
英文摘要:
Magnetic tapes are often considered as an outdated storage technology, yet they are still used to store huge amounts of data. Their main interests are a large capacity and a low price per gigabyte, which come at the cost of a much larger file access time than on disks. With tapes, finding the right ordering of multiple file accesses is thus key to performance. Moving the reading head back and forth along a kilometer long tape has a non-negligible cost and unnecessary movements thus have to be avoided. However, the optimization of tape request ordering has then rarely been studied in the scheduling literature, much less than I/O scheduling on disks. For instance, minimizing the average service time for several read requests on a linear tape remains an open question. Therefore, in this paper, we aim at improving the quality of service experienced by users of tape storage systems, and not only the peak performance of such systems. To this end, we propose a reasonable polynomial-time exact algorithm while this problem and simpler variants have been conjectured NP-hard. We also refine the proposed model by considering U-turn penalty costs accounting for inherent mechanical accelerations. Then, we propose low-cost variants of our optimal algorithm by restricting the solution space, yet still yielding an accurate suboptimal solution. Finally, we compare our algorithms to existing solutions from the literature on logs of the mass storage management system of a major datacenter. This allows us to assess the quality of previous solutions and the improvement achieved by our low-cost algorithms. Aiming for reproducibility, we make available the complete implementation of the algorithms used in our evaluation, alongside the dataset of tape requests that is, to the best of our knowledge, the first of its kind to be publicly released.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。