Re: git-daemon on NSLU2
From: Nicolas Pitre <hidden>
Date: 2016-06-15 22:43:30
On Fri, 24 Aug 2007, Jon Smirl wrote:
On 8/24/07, Nicolas Pitre [off-list ref] wrote:quoted
On Fri, 24 Aug 2007, Jon Smirl wrote:quoted
I'm still trying to debug git-daemon I do find it surprising that git-index-pack can't be happy with in 20MB of RAM and it has to continuously swap it's 30MB of virtual. My disk is chattering itself to death. It stayed that way for 40 minutes. I'm practicing on the kernel tree.You hope for miracles, do you? ;-)We're going something wrong in git-daemon. I can clone the tree in five minutes using the http protocol. Using the git protocol would take 24hrs if I let it finish.
The http protocol is merely only a dumb file copy with no packing optimization what so ever. The native protocol performs a whole more to provide clients with only the minimum data needed. Try running "git repack -a" directly on the NSLU2. You should have the same performance problems as with a clone. Nicolas