1 |
On Sat, 15 Dec 2018 23:42:01 -0800 Zac Medico wrote: |
2 |
> It would be interesting to see some garbage collection stats for |
3 |
> sync-deph = 1, people using it should post the output of this command: |
4 |
> |
5 |
> git count-objects -v |
6 |
|
7 |
I use sync-depth = 1 for /usr/portage from |
8 |
git://anongit.gentoo.org/repo/sync/gentoo.git |
9 |
almost since its inception. So my stats are: |
10 |
|
11 |
$ git count-objects -v |
12 |
count: 28 |
13 |
size: 184 |
14 |
in-pack: 592843 |
15 |
packs: 35 |
16 |
size-pack: 353388 |
17 |
prune-packable: 20 |
18 |
garbage: 0 |
19 |
size-garbage: 0 |
20 |
|
21 |
$ du -hs /usr/portage/ --exclude=/usr/portage/packages |
22 |
--exclude=/usr/portage/distfiles |
23 |
1.1G /usr/portage/ |
24 |
|
25 |
The largest dirs are: |
26 |
157 /usr/portage/metadata/md5-cache |
27 |
171 /usr/portage/metadata |
28 |
346 /usr/portage/.git/objects |
29 |
346 /usr/portage/.git/objects/pack |
30 |
361 /usr/portage/.git |
31 |
1044 /usr/portage/ |
32 |
|
33 |
Best regards, |
34 |
Andrew Savchenko |