Stream VByte:更快的面向字节的数据压缩
Stream VByte: Faster Byte-Oriented Integer Compression
摘要:
整数数组在搜索引擎中经常被压缩。虽然有很多方法可以压缩整数,但我们对流行的面向字节的整数压缩技术(例如,VByte或Google的Varint-GB)。它们因其简单性和工程便利性而具有吸引力。Amazon的varint-G8 IU是迄今为止发布的最快的面向字节的压缩技术之一。它明智地使用了商品处理器中可用的强大的单指令多数据(SIMD)指令。为了超越varint-G8 IU,我们提出了流VByte,一种新的面向字节的压缩技术,分离的控制流从编码数据。与varint-G8 IU一样,Stream VByte非常适合SIMD指令。我们表明,流VByte解码可以达到两倍的速度varint-G8 IU解码在真实的数据集。从这个意义上说,Stream VByte为面向字节的整数压缩建立了新的速度记录,有时超过memcpy函数的速度。在3.4GHz的Haswell处理器上,它每秒可以解码超过40亿个从RAM到L1缓存的差分编码整数。
英文摘要:
Arrays of integers are often compressed in search engines. Though there are many ways to compress integers, we are interested in the popular byte-oriented integer compression techniques (e.g., VByte or Google's Varint-GB). They are appealing due to their simplicity and engineering convenience. Amazon's varint-G8IU is one of the fastest byte-oriented compression technique published so far. It makes judicious use of the powerful single-instruction-multiple-data (SIMD) instructions available in commodity processors. To surpass varint-G8IU, we present Stream VByte, a novel byte-oriented compression technique that separates the control stream from the encoded data. Like varint-G8IU, Stream VByte is well suited for SIMD instructions. We show that Stream VByte decoding can be up to twice as fast as varint-G8IU decoding over real data sets. In this sense, Stream VByte establishes new speed records for byte-oriented integer compression, at times exceeding the speed of the memcpy function. On a 3.4GHz Haswell processor, it decodes more than 4 billion differentially-coded integers per second from RAM to L1 cache.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。