Re: git-daemon on NSLU2
- From
Nicolas Pitre <nico@cam.org>
- Date
- Aug 24, 2007, 21:54 UTC
- Message-ID
- <alpine.LFD.0.999.0708241749040.16727@xanadu.home>
- In-Reply-To
- <9e4733910708241417l44c55306xaa322afda69c6beb@mail.gmail.com>
On Fri, 24 Aug 2007, Jon Smirl wrote:
Show 16 quoted lines
> On 8/24/07, Nicolas Pitre <nico@cam.org> wrote: > > On Fri, 24 Aug 2007, Jon Smirl wrote: > > > > > 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