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

Re: [PATCH v2 2/2] index-pack: support multithreaded delta resolving

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Mar 14, 2012, 10:29 UTC
Message-ID
<CACsJy8Ae=oy5UsN1zHDptOO4_kVv4NuHgHGp2aPokmO_wgOhwA@mail.gmail.com>
In-Reply-To
<4F5E95A2.8050106@ramsay1.demon.co.uk>
2012/3/13 Ramsay Jones <ramsay@ramsay1.demon.co.uk>:
Show 24 quoted lines
> Nguyễn Thái Ngọc Duy wrote:
> [snipped]
>> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
>> ---
>>  I changed Ramsay's mutex patch a little bit and incorporate it here.
>>  Ramsay, it'd be great if you could try it again on MinGW
>
> Hmm, well do you want the good news, or the bad news ... :-D
>
> First, I should say that I feel like I'm doing a very bad job of
> communicating, so let me apologize for that and hope that this time
> I make a better job of it!
>
> This patch breaks the build on MinGW, since the emulation code has not
> (thus far) included an implementation of pthread_key_delete(). I simply
> commented out the call to that function, in cleanup_thread(), so that I
> could test the remainder of the patch.
>
> Although this patch is an improvement on previous patches, it still fails
> in *exactly* the same way as earlier attempts.
>
> I probably didn't make clear before that 'nr_threads' has been given too
> many duties, which is the main reason for me introducing a new variable
> 'threads_active'. For example, ...
You are right. I will incorporate your changes in the next reroll. Thank you.
> [I ran the same four tests as before, five times in a row. On *one* occasion
> t5300.22 (verify-pack catches a corrupted type/size of the 1st packed object data)
> failed because the 'dd' command crashed! So, maybe there is a problem lurking.]

I fail to see how verify-pack can make dd crash, especially when verify-pack is called after dd in t5300.22. Anyway it's good to keep an eye on this case.

-- 
Duy
Previous: Ramsay Jones
Message 9 of 9 in “Multithread index-pack”
  1. 0/2 Multithread index-packNguyễn Thái Ngọc Duy, Mar 12, 2012
  2. 1/2 index-pack: split second pass obj handling into own functionNguyễn Thái Ngọc Duy, Mar 12, 2012
  3. 2/2 index-pack: support multithreaded delta resolvingNguyễn Thái Ngọc Duy, Mar 12, 2012
  4. Thomas RastMar 12, 2012
  5. Nguyen Thai Ngoc DuyMar 12, 2012
  6. Thomas RastMar 12, 2012
  7. Nguyen Thai Ngoc DuyMar 12, 2012
  8. Ramsay JonesMar 13, 2012
  9. Nguyen Thai Ngoc DuyMar 14, 2012

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.