repack git repositories

Bug #943623 reported by James E. Blair
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Fix Released
Medium
James E. Blair
James E. Blair (corvus)
Changed in openstack-ci:
assignee: nobody → James E. Blair (corvus)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
James E. Blair (corvus) wrote :

Also, for an explanation of the window/depth values Jim Meyering suggested: http://gcc.gnu.org/ml/gcc/2007-12/msg00165.html

Changed in openstack-ci:
status: Triaged → In Progress
Revision history for this message
James E. Blair (corvus) wrote :

Because of the way we imported the trees from bzr, I think a one-time repack with "git repack -afd --window=250 --depth=250" is called for, and a monthly "git repack -afd" via cron after that.

Revision history for this message
James E. Blair (corvus) wrote :

The initial repack with the window size of 250 is complete. The version of git on the gerrit server is slightly old (1.7.4.1) and apparently doesn't compress as well as the version in oneiric (1.7.5.4), resulting in a new git repo size of 46M instead of 30M, but still a big improvement from 110M. Once the gerrit server is upgraded, the next repack should improve this further.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ci-puppet (master)

Fix proposed to branch: master
Review: https://review.openstack.org/5112

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ci-puppet (master)

Reviewed: https://review.openstack.org/5112
Committed: http://github.com/openstack/openstack-ci-puppet/commit/5cd947a18c3e0cb6285fa19159c164b4588369bf
Submitter: Jenkins
Branch: master

commit 5cd947a18c3e0cb6285fa19159c164b4588369bf
Author: James E. Blair <email address hidden>
Date: Thu Mar 8 16:00:43 2012 -0800

    Repack git repos weekly.

    Early Sunday mornings, repack all the git repos in gerrit. This
    currently takes 41 seconds for all 32 repositories, so running
    it weekly doesn't seem too intensive.

    Fixes bug 943623.

    Change-Id: Iff0e999c27b428cd1170706e3dc7ede3a1a178a8

Changed in openstack-ci:
status: In Progress → Fix Committed
James E. Blair (corvus)
Changed in openstack-ci:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.