[OpenStack-Infra] Fun (important!) project: optimize Gerrit's nova git repo
Jeremy Stanley
fungi at yuggoth.org
Tue Jun 14 14:29:42 UTC 2016
On 2016-06-14 11:26:32 +0200 (+0200), Antoine Musso wrote:
[...]
> On the non-gc repo you can get useful statistics regarding objects by using:
> git count-objects -vH
>
> count: 37
> size: 1.56 MiB
> in-pack: 707396
> packs: 5
> size-pack: 276.97 MiB
> prune-packable: 14
> garbage: 1
> size-garbage: 2.81 MiB
>
> From the man page:
>
> 37 loose objects consuming 1.56MiB of disk.
> 707396 objects in pack files which is a 276.97 MiB
> 14 loose objects are in pack file and can be reclaimed: git prune-packed
> 1 neither valid loose or valid pack taking 2.81 MiB
[...]
Current state of the openstack/nova repo on Gerrit:
count: 5086291
size: 36.91 GiB
in-pack: 1350559
packs: 163
size-pack: 431.08 MiB
prune-packable: 344
garbage: 0
size-garbage: 0 bytes
--
Jeremy Stanley
More information about the OpenStack-Infra
mailing list