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

Re: git-rev-list: "--bisect" flag

From
IMIngo Molnar <mingo@elte.hu>
Date
Jun 19, 2005, 17:36 UTC
Message-ID
<20050619173634.GA25768@elte.hu>
In-Reply-To
<Pine.LNX.4.58.0506190951330.2268@ppc970.osdl.org>
* Linus Torvalds <torvalds@osdl.org> wrote:
Show 6 quoted lines
> NOTE NOTE NOTE! The above is all based on random distribution of bugs, 
> where all commits count equally, which is obviously not even true. You 
> coudl try to do a "weighted bisection", where you weigh commits 
> differently: you might say, for example, that if the author field 
> matches the string "torvalds", then the likelihood of a bug is 
> obviously miniscule, so such a commit only counts as 0.1.

another assumption is that the number of testsystems is a power of two minus 1. With 2 or more testsystems (and automated testing) you could dissect the search space into 3, 5 or more roughly equal pieces in the first step (2, 4, 8 ... sections are already supported via the bisect flag). To decrease the time needed to find a bug it makes sense to increase the number of testsystems, especially if it takes minutes to boot - or if it takes minutes (or hours) to reproduce a bug. If each box runs a separate kernel then statistically, if one of them triggers the bug, only half of them have to be rebooted with new kernels, the others would still be kept running in a "commit space of interest".

But i guess it's not a big degradation to just round the test method to the nearest power-of-2 bisection method.

	Ingo
Previous: Linus TorvaldsNext: Linus Torvalds
Message 12 of 19 in “git-rev-list: "--bisect" flag”
  1. Linus TorvaldsJun 18, 2005
  2. Jon SeymourJun 19, 2005
  3. Jan HarkesJun 19, 2005
  4. Jon SeymourJun 19, 2005
  5. Linus TorvaldsJun 19, 2005
  6. Linus TorvaldsJun 19, 2005
  7. David LangJun 19, 2005
  8. Linus TorvaldsJun 19, 2005
  9. Jon SeymourJun 19, 2005
  10. Jon SeymourJun 19, 2005
  11. Linus TorvaldsJun 19, 2005
  12. Ingo MolnarJun 19, 2005
  13. Linus TorvaldsJun 19, 2005
  14. Jon SeymourJun 19, 2005
  15. Linus TorvaldsJun 20, 2005
  16. Jon SeymourJun 20, 2005
  17. Jon SeymourJun 20, 2005
  18. Jon SeymourJun 20, 2005
  19. Jon SeymourJun 20, 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.