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

Re: [PATCH 2/2] pack-objects: fix threaded load balancing

From
Jon Smirl <jonsmirl@gmail.com>
Date
Dec 10, 2007, 04:10 UTC
Message-ID
<9e4733910712092010m31043915kb6fd0867beefa8f3@mail.gmail.com>
In-Reply-To
<alpine.LFD.0.99999.0712080000120.555@xanadu.home>

I added a couple of printfs to debug this. Why did the thread exit when there were still 72,000 objects left? Another one exited with 50,000 objects left. The repack is still running, it has been proceeding on two cores for 10 minutes after the two threads exited.

jonsmirl@terra:/video/gcc$ git-repack -a -d -f --depth=250 --window=250 Counting objects: 828348, done.

 starting thread 0
Compressing objects:   0% (1/809010)
 starting thread 1
 starting thread 2
 starting thread 3
Compressing objects:  59% (478011/809010)
 victim 0x7fffc7976480 sub_size 76058
thread 0x7fffc79764f8 sub_size 76058
Compressing objects:  62% (504273/809010)
 victim 0x7fffc79764a8 sub_size 69967
thread 0x7fffc79764d0 sub_size 69967
Compressing objects:  82% (664231/809010)
 victim 0x7fffc7976480 sub_size 35308
thread 0x7fffc79764d0 sub_size 35308
Compressing objects:  91% (736690/809010)
 victim 0x7fffc79764d0 sub_size 0
thread 0x7fffc79764f8 sub_size 0
Compressing objects:  93% (758922/809010)
 victim 0x7fffc79764d0 sub_size 0
thread 0x7fffc79764a8 sub_size 0
-- 
Jon Smirl
jonsmirl@gmail.com
Previous: Jeff KingNext: Jon Smirl
Message 3 of 16 in “pack-objects: fix threaded load balancing”
  1. 2/2 pack-objects: fix threaded load balancingNicolas Pitre, Dec 8, 2007
  2. Jeff KingDec 8, 2007
  3. Jon SmirlDec 10, 2007
  4. Jon SmirlDec 10, 2007
  5. Jon SmirlDec 10, 2007
  6. Jon SmirlDec 10, 2007
  7. Jon SmirlDec 10, 2007
  8. Jon SmirlDec 10, 2007
  9. Nicolas PitreDec 10, 2007
  10. Nicolas PitreDec 10, 2007
  11. Jon SmirlDec 10, 2007
  12. Nicolas PitreDec 10, 2007
  13. pack-objects: more threaded load balancing fix with often changed pathsNicolas Pitre, Dec 10, 2007
  14. Johannes SixtDec 11, 2007
  15. Nicolas PitreDec 11, 2007
  16. Johannes SixtDec 13, 2007

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.