Re: dumb transports not being welcomed..
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Sep 14, 2005, 00:01 UTC
- Message-ID
- <Pine.LNX.4.63.0509140152160.24606@wgmdd8.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <Pine.LNX.4.58.0509131525250.26803@g5.osdl.org>
Hi,
On Tue, 13 Sep 2005, Linus Torvalds wrote:
> > > Also, I really do think that the dumb transports are oversold, and > git-daemon is undersold.
My tests confirm that a single git-pull via git-daemon brings a small machine to its knees. Which means that multiple git-pull's bring a nice big machine like kernel.org to its knees.
IMHO the culprit is git-rev-list, which takes ages and ages for big repositories (beware: this could be my Darwin client which might be incapable to stop the rev enumeration in time; but if that can be done unintentionally, this can be intentionally, too!).
Did anybody think about using the information which helps the dumb transports for intelligent transports, too? (A sort of cache for git-rev-list would do wonders...) This could at least help the CPU load on the server.
(In retrospect it might have been a mistake to make the call to git-update-server-info optional: maybe an environment variable should be set to _inhibit_ the behaviour for those which absolutely cannot live with the performance hit.)
Ciao, Dscho