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

first bisection step takes quite a while

From
UKUwe Kleine-König <u.kleine-koenig@baylibre.com>
Date
Feb 20, 2025, 14:35 UTC
Message-ID
<arrp2ye3kid76pwghguu5z4jkpv7xsskzdsjunbfkgmwejgby5@qh4phxwzenyp>
Hello,
today I did a bisection in the kernel repository:
	linux$ git version
	git version 2.47.1
	linux$ time git bisect start 09fbf3d502050282bf47ab3babe1d4ed54dd1fd8 96d8eab5d0a1a9741a4cae1b3c125d75d1aabedf
	Bisecting: 572238 revisions left to test after this (roughly 19 steps)
	[eafdca4d7010a0e019aaaace3dd71b432a69b54c] Merge tag 'staging-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
	real	18m41.374s
	user	27m18.306s
	sys	1m0.565s

I was surprised that it took that long to find and checkout the first revision to check. (That is on a 4 x Intel(R) Core(TM) i5-6440HQ CPU @ 2.60GHz, 16 GiB RAM with a Samsung SSD. On a different machine (56 x Intel(R) Xeon(R) CPU E5-2660 v4 @ 2.00GHz, 256 GiB RAM and (I think a spinning hard disk)) it took nearly an hour.

I think this isn't my first bisection over that many commits, but I cannot remember that the first step ever took so long.

Is my expectation (and maybe memory) wrong, or is this a regression?

Best regards Uwe

Next: D. Ben Knoble
Message 1 of 12 in “first bisection step takes quite a while”
  1. Uwe Kleine-KönigFeb 20, 2025
  2. D. Ben KnobleFeb 20, 2025
  3. Junio C HamanoFeb 20, 2025
  4. Junio C HamanoFeb 21, 2025
  5. Christian CouderFeb 21, 2025
  6. Junio C HamanoFeb 21, 2025
  7. Christian CouderFeb 21, 2025
  8. Christian CouderFeb 21, 2025
  9. Junio C HamanoFeb 22, 2025
  10. D. Ben KnobleFeb 24, 2025
  11. Uwe Kleine-KönigFeb 21, 2025
  12. Junio C HamanoFeb 21, 2025

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.