On Mon, 5 Jan 2026, Mark Wielaard wrote:

> In general gcc.git is just really, really big. Which makes all this
> just slightly awkward (it doesn't help that git-http-backend seems to
> try to create an optimal pack for each fetch instead of having
> something generically cached). At 2.5G it is a couple of factors

Maybe we need to repack it (in particular, there have been a few occasions 
when mistakenly created branches were deleted or moved, which isn't 
optimal with the delta islands configuration).

According to my notes, a full repack should be

  git repack --window=1250 --depth=250 -b -AdFfi

(expect that to use more than 128 GB of memory and take over an hour of 
wall clock time even using all cores) and there was also a recommendation 
from Richard Earnshaw for weekly packing with

  git repack --window-memory=500m --window=250 --depth=50 -b -A -d -i

for optimal efficiency.

-- 
Joseph S. Myers
[email protected]

Reply via email to