arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1602.08829cs.ITcs.DSmath.IT
收藏

归档压缩中的访问时间权衡

Access Time Tradeoffs in Archive Compression

Matthias Petri, Alistair Moffat, P. C. Nagesh, Anthony Wirth

摘要:

Web存档、查询和代理日志等都可能非常大且重复性很高;并且只能偶尔和部分地访问,而不是连续和整体地访问。这种类型的数据非常适合基于压缩的归档,前提是可以实现对原始数据的小片段的随机访问,而无需对所有内容进行加密。最近的RLZ(相对Lempel Ziv)压缩方法使用一个半静态模型提取的文本进行压缩,连同贪婪的分解使用静态整数代码编码的整个文本。在这里,我们比以前更精确地展示了RLZ擅长的场景。我们将RLZ与基于块的自适应方法的替代品进行对比,包括为每个块“准备”编码的方法,并使用硬盘(HDD)和固态磁盘(SSD)驱动器测量一系列实施选项。对于HDD,影响访问速度的主要因素是所实现的压缩率,即使这涉及较大的字典和较大的块。当数据在SSD上时,也会出现同样的效果,但不那么明显,并且会出现更复杂的权衡。

英文摘要:

Web archives, query and proxy logs, and so on, can all be very large and highly repetitive; and are accessed only sporadically and partially, rather than continually and holistically. This type of data is ideal for compression-based archiving, provided that random-access to small fragments of the original data can be achieved without needing to decompress everything. The recent RLZ (relative Lempel Ziv) compression approach uses a semi-static model extracted from the text to be compressed, together with a greedy factorization of the whole text encoded using static integer codes. Here we demonstrate more precisely than before the scenarios in which RLZ excels. We contrast RLZ with alternatives based on block-based adaptive methods, including approaches that "prime" the encoding for each block, and measure a range of implementation options using both hard-disk (HDD) and solid-state disk (SSD) drives. For HDD, the dominant factor affecting access speed is the compression rate achieved, even when this involves larger dictionaries and larger blocks. When the data is on SSD the same effects are present, but not as markedly, and more complex trade-offs apply.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑