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

Re: [PATCH 0/5] multithread traverse_commit_list (aka rev-list)

From
MFMartin Fick <mfick@codeaurora.org>
Date
Apr 10, 2012, 16:51 UTC
Message-ID
<201204101051.56288.mfick@codeaurora.org>
In-Reply-To
<1334068771-32725-1-git-send-email-pclouds@gmail.com>

On Tuesday, April 10, 2012 08:39:26 am Nguyễn Thái Ngọc Duy wrote:

Show 5 quoted lines
> While this series does not break rev-list (but breaks all
> external commands, I don't care anyway), and it proves
> lock-free pack access works, it does not improve
> rev-list performance. I suspect extensive locking around
> "struct object *" may be the culprit.  

Or if it is memory contention and your threads share the same cache, it won't help much either,

-Martin
-- 
Employee of Qualcomm Innovation Center, Inc. which is a 
member of Code Aurora Forum
Previous: Nguyễn Thái Ngọc Duy
Message 7 of 7 in “multithread traverse_commit_list (aka rev-list)”
  1. 0/5 multithread traverse_commit_list (aka rev-list)Nguyễn Thái Ngọc Duy, Apr 10, 2012
  2. 1/5 Remove global pointer "packed_git" in favor or set/get function pairNguyễn Thái Ngọc Duy, Apr 10, 2012
  3. 2/5 sha1_file: stuff various pack reading variables into a structNguyễn Thái Ngọc Duy, Apr 10, 2012
  4. 3/5 Make lookup_*() functions thread-safeNguyễn Thái Ngọc Duy, Apr 10, 2012
  5. 4/5 Teach traverse_commit_list callsites about new parameter, nr_threadsNguyễn Thái Ngọc Duy, Apr 10, 2012
  6. 5/5 Support multithread in traverse_commit_list and rev-listNguyễn Thái Ngọc Duy, Apr 10, 2012
  7. Martin FickApr 10, 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.