git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Dump http servers still slow?

From
Junio C Hamano <junkio@cox.net>
Date
Jul 29, 2005, 02:24 UTC
Message-ID
<7vy87qpcwg.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<1122584423.12374.11.camel@localhost.localdomain>
Darrin Thompson <darrint@progeny.com> writes:
Show 6 quoted lines
> I just ran git clone against the mainline git repository using both http
> and rsync. http was still quite slow compared to rsync. I expected that
> the http time would be much faster than in the past due to the pack
> file.
>
> Is there something simple I'm missing?

No, the only thing you missed was that I did not write it to make it fast, but just to make it work ;-). The commit walker simply does not work against a dumb http server repository that is packed and prune-packed, which is already the case for both kernel and git repositories.

The thing is, the base pack for the git repository is 1.8MB currently containing 4500+ objects, while we accumulated 600+ unpacked objects since then which is about ~5MB. The commit walker needs to fetched the latter one by one in the old way.

When packed incrementally on top of the base pack, these 600+ unpacked objects compress down to something like 400KB, and I was hoping we could wait until we accumulate enough to produce an incremental about a meg or so ...

Previous: Darrin ThompsonNext: Darrin Thompson
Message 2 of 10 in “Dump http servers still slow?”
  1. Darrin ThompsonJul 28, 2005
  2. Junio C HamanoJul 29, 2005
  3. Darrin ThompsonJul 29, 2005
  4. Ryan AndersonJul 29, 2005
  5. Darrin ThompsonJul 29, 2005
  6. Radoslaw AstralStorm SzkodzinskiJul 29, 2005
  7. Darrin ThompsonJul 29, 2005
  8. Junio C HamanoJul 30, 2005
  9. Junio C HamanoJul 31, 2005
  10. Darrin ThompsonAug 1, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.