lkml.org 
[lkml]   [2012]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT PULL] Update LZO compression
On 08/16/2012 12:20 PM, Andi Kleen wrote:
>> If you think a little bit, I bet you could come up with a solution that
>> operates at cacheline-aligned granularity, something that would be _even
>> faster_ than simply fixing the code to do aligned accesses.
>
> Cache aligned compression is unlikely to compress anything at all.
> Compression algorithms are usually by definition unaligned.

Sure it's a bitstream, but that does not imply the impossibility of
reading data in in an word-aligned manner.

Maybe cache-aligned is ambitious, because of resultant code bloat, but
machine-int-aligned is doable and reasonable.

Jeff






\
 
 \ /
  Last update: 2012-08-16 19:21    [from the cache]
©2003-2011 Jasper Spaans