Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2022 18:13:10 -0500
From:      "David E. Cross" <david@crossfamilyweb.com>
To:        freebsd-git@freebsd.org
Subject:   Re: Slow clone of ports from own git server
Message-ID:  <05433e88-db2f-494e-fb33-79e3c9534ce6@crossfamilyweb.com>
In-Reply-To: <e4a05070-5d74-9e5d-a45f-137394e17164@crossfamilyweb.com>
References:  <b53b4e00-ac2b-9a39-1e8a-5700820d7bb5@crossfamilyweb.com> <e4a05070-5d74-9e5d-a45f-137394e17164@crossfamilyweb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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!
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?05433e88-db2f-494e-fb33-79e3c9534ce6>