cgit performance and packs

Ulrich Spörlein uqs at freebsd.org
Fri Jun 5 14:30:35 UTC 2020


Hi folks,

It takes 50min to git clone from https://cgit-beta.freebsd.org/src which is
kinda bad.

Furthermore, I end up with 11GiB of packfiles. What?

How does cgit do its housekeeping when we keep pushing "random crap". Is
there a periodic repacking going on? Is it triggered on upload maybe? Can
we make sure to run with aggressive pruning for now?

% time git clone -v https://cgit-beta.freebsd.org/src
Cloning into 'src'...
Fetching objects: 3724675, done.
Checking connectivity: 3724675, done.
Updating files: 100% (77070/77070), done.
git clone -v https://cgit-beta.freebsd.org/src  1378.90s user 216.29s
system 51% cpu 52:07.58 total
% du -sh .git
11G     .git


More information about the freebsd-git mailing list