Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #11788

Closed (moved)
Open
Opened May 07, 2014 by Karsten Loesing@karsten

Consider providing descriptor tarballs as .tar.xz rather than .tar.bz2

nickm notes that xz -9 compresses descriptor tarballs a lot better than bzip2.

Sample 1: file sizes in kB for May consensuses:

22620 consensuses-bzip2.bz2
 2532 consensuses-xz.xz
 1948 consensuses-xz9.xz

(Will add another sample once yatei is done compressing April votes.)

Switching is as easy as editing the shell script that is run every 3 days on yatei. Recompressing existing tarballs is also just a shell command away.

Are there drawbacks to consider? Maybe:

  • Compression will take longer; right now, at the end of a month, yatei spends about 1 hour on running bzip2 on the various tarballs. That might become 2 or 3 hours with xz.
  • People won't find tarballs under the usual URL, because their file extensions will change. (https://metrics.torproject.org/data.html is going to list the correct URLs though.)
  • Anything else?
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#11788