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

Re: [kernel.org users] Re: auto-packing on kernel.org? please?

From
NHNick Hengeveld <nickh@reactrix.com>
Date
Oct 17, 2005, 06:06 UTC
Message-ID
<20051017060659.GH5509@reactrix.com>
In-Reply-To
<7vwtkd6rik.fsf@assigned-by-dhcp.cox.net>
On Sun, Oct 16, 2005 at 03:12:03PM -0700, Junio C Hamano wrote:
Show 6 quoted lines
>  - Among the set of packs that contain the object we are
>    currently interested in, try to find the "best" pack.  The
>    definition of "best" would be a balancing act of finding the
>    one that contains the least number of objects we already
>    have, and the one that contains the most number of objects we
>    do not have yet.

To get a complete list of objects we do not have yet, fetch will need to walk all the trees first and then make another pass to process all the missing objects. Is it worth considering a case where the missing objects are packed along with objects that don't need to be transferred? From the use cases you described, it's not clear that situation would ever really happen.

If the blobs have been packed, it seems likely that the tree objects will also be packed, so fetching them during the first pass will either involve fetching a pack without being able to determine which is best or fetching the appropriate ranges from packs to get the tree objects.

-- 
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.
Previous: Junio C HamanoNext: Junio C Hamano
Message 23 of 33 in “auto-packing on kernel.org? please?”
  1. Linus TorvaldsOct 13, 2005
  2. Carl BaldwinNov 21, 2005
  3. Linus TorvaldsNov 21, 2005
  4. Junio C HamanoNov 21, 2005
  5. Linus TorvaldsNov 21, 2005
  6. Junio C HamanoNov 21, 2005
  7. Chuck LeverNov 22, 2005
  8. Linus TorvaldsNov 22, 2005
  9. Catalin MarinasNov 22, 2005
  10. Linus TorvaldsNov 22, 2005
  11. Chuck LeverNov 22, 2005
  12. Catalin MarinasNov 23, 2005
  13. Carl BaldwinNov 22, 2005
  14. Linus TorvaldsNov 22, 2005
  15. Linus TorvaldsOct 13, 2005
  16. Dirk BehmeOct 16, 2005
  17. Daniel BarkalowOct 16, 2005
  18. Nick HengeveldOct 16, 2005
  19. Brian GerstOct 16, 2005
  20. Junio C HamanoOct 16, 2005
  21. Nick HengeveldOct 16, 2005
  22. Junio C HamanoOct 16, 2005
  23. Nick HengeveldOct 17, 2005
  24. Junio C HamanoOct 17, 2005
  25. Nick HengeveldOct 17, 2005
  26. Junio C HamanoOct 17, 2005
  27. Daniel BarkalowOct 17, 2005
  28. Linus TorvaldsOct 17, 2005
  29. Nick HengeveldOct 17, 2005
  30. Daniel BarkalowOct 17, 2005
  31. Johannes SchindelinOct 16, 2005
  32. Brian GerstOct 16, 2005
  33. Catalin MarinasNov 23, 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.