[PU PATCH] Fix git fetch for very large ref counts

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Julian Phillips
Date: Monday, February 12, 2007 - 6:21 pm

The updated git fetch in pu is vastly improved on repositories with very
large numbers of refs.  The time taken for a no-op fetch over ~9000 refs
drops from ~48m to ~0.5m.

However, before git fetch will actually run on a repository with ~9000
refs the calling interface between fetch and fetch--tool needs to be
changed.  The existing version passes the entire reflist on the command
line, which means that it is subject to the maxiumum environment size
passed to a child process by execve.

The following patches add a stdin based interface to fetch--tool allowing
the ~9000 refs to be passed without exceeding the environment limit.

--
Julian
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PU PATCH] Fix git fetch for very large ref counts, Julian Phillips, (Mon Feb 12, 6:21 pm)
[PATCH] Allow fetch--tool to read from stdin, Julian Phillips, (Mon Feb 12, 6:21 pm)
[PATCH] Use stdin reflist passing in parse-remote, Julian Phillips, (Mon Feb 12, 6:21 pm)
[PATCH] Use stdin reflist passing in git-fetch.sh, Julian Phillips, (Mon Feb 12, 6:21 pm)
Re: [PATCH] Use stdin reflist passing in git-fetch.sh, Linus Torvalds, (Mon Feb 12, 7:31 pm)
Re: [PU PATCH] Fix git fetch for very large ref counts, Junio C Hamano, (Mon Feb 12, 8:18 pm)
Re: [PU PATCH] Fix git fetch for very large ref counts, Julian Phillips, (Tue Feb 13, 3:39 am)
Re: [PU PATCH] Fix git fetch for very large ref counts, Junio C Hamano, (Tue Feb 13, 10:58 am)