I forgot to mention that the apps we use (gerrit and cgit) to host our git repos do read the repos directly from disk therefore I think that performing a gc on the repos would provide a performance improvement (CPU and memory utilization) to gerrit and cgit. It might be difficult to quantify how much of an improvement since both those apps do some cacheing of the repo data. Anyways I think there would be other benefits of `git gc` over `gerrit repack -adf` besides just recovering disk space. -Khai
On Fri, Jun 10, 2016 at 2:50 PM, Jeremy Stanley <fu...@yuggoth.org> wrote: > On 2016-06-10 12:20:01 -0700 (-0700), Zaro wrote: > [...] >> The difference is that we would save a significant amount >> of disk space on the servers (7G for nova-nogc vs 400M for nova-gc). > [...] > > And that's with an old snapshot. For some reason after the upgrade > from 2.8 to 2.11 our repos have been rapidly growing in size on > disk. The space occupied by > ~gerrit2/review_site/git/openstack/nova.git is now a whopping 38GiB. > -- > Jeremy Stanley > > _______________________________________________ > OpenStack-Infra mailing list > OpenStack-Infra@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra _______________________________________________ OpenStack-Infra mailing list OpenStack-Infra@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-infra