Re: Slow clone of ports from own git server
- In reply to: David E. Cross: "Slow clone of ports from own git server"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Jan 2022 23:13:10 UTC
And nevermind, a "git maintenance run" fixed it (which I found after some desperation).. which I didn't even consider since this was a FRESH clone and a new repository that got pushed to. It is practically instant now (sub second) TIL On 1/6/22 1:50 PM, David E. Cross wrote: > Apologies, not sure if this is the right place, but seems to have all > of the right checkboxes: FreeBSD, GIT, FreeBSD repository... :) > > > I have my own git server (git-http-backend) via apache trying to > manage my own clone of ports (I have a significant number of local > modifications to ports that I am constantly trying to upstream). > > > A problem that I have is that if I clone from my own server it sits > and hangs for ~30+ seconds while the git process on the server spins > at 100% CPU. (This is a relatively recent Intel Xeon, 2.1ghz, 8 core, > 64GB of memory machine). CPU at 100% pegged suggests it isn't IO > bound (they are spinny disks). > > Given the following output: > >> Cloning into 'freebsd-ports'... > > Hang happens here. > >> remote: Enumerating objects: 5142670, done. > > > When cloning from the freebsd git sever for ports that hang is maybe 4 > seconds. What do I need to do to get equivalent performance? what am > I missing? > > > Thanks! > >