Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #7044

Closed (moved)
(moved)
Open
Created Oct 04, 2012 by Nick Mathewson@nickm🍬

Use a better compression algorithm for directory stuff

Have a look at these results:

[554]$ cat cached-microdesc-consensus |wc -c
  595929
[555]$ gzip -c -9 cached-microdesc-consensus |wc -c
  255689
[557]$ xz -c -9 cached-microdesc-consensus |wc -c
  238396
[556]$ bzip2 -c -9 cached-microdesc-consensus |wc -c
  222433

Now, we might still want to stick with zlib for general-purpose compression of descriptors and microdescriptors, since we need to compress those streams on the fly. But for consensus documents, which change infrequently, we don't much care about the CPU load required to compress them.

Sending 13% less bytes on consensus traffic would be a clear and win.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking