On compressing revlogs

Isaac Jurado diptongo at gmail.com
Mon Jun 25 15:11:16 CDT 2012


On Mon, Jun 25, 2012 at 8:46 PM, Bryan O'Sullivan <bos at serpentine.com> wrote:
>
> Instead, I've been focusing on an extension that lets Mercurial
> optionally use lz4 compression for revlogs. This is very nearly as
> fast as caching a manifest, but it works reliably, and for all
> revlogs, and speeds up all kinds of operations very nicely. At a cost,
> of course: .hg is about 25-30% bigger than when using zlib revlogs.

But growing the repository size slows down operations when the OS
page-cache is cold, doesn't it?.  Finding the inflection point between
CPU-dominated and IO-dominated operations, with different compression
schemes, looks interesting.

Cheers.

-- 
Isaac Jurado

"The noblest pleasure is the joy of understanding"
Leonardo da Vinci


More information about the Mercurial-devel mailing list