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

Extremely long subtree split duration

From
PKPeter Kassak <cache.sk@gmail.com>
Date
Nov 8, 2024, 21:40 UTC
Message-ID
<CADYnh+Fudpy9kfg8npUMutMjzYNDy-XxJCCJ_9O4kLoB807_3Q@mail.gmail.com>

Windows has always been a bit slower with subtree split, but now we encountered an extreme difference.

The test is on the opensource repository of bitnami charts:

git clone https://github.com/bitnami/charts.git cd charts git subtree split -P bitnami/minio -b split

On live Ubuntu 24.04 booted from usb stick, it took about one and a half minutes.

On Windows 11 installed on internal nvme, it took almost 4 hours.

Yes, it sounds crazy, but it really took three hours and 53 minutes on the same hardware.

Main difference (except OS) is git version. On Ubuntu is latest installed via apt 2.43.0, on Windows is 2.47.0.windows.2.

I have tried several different OS in docker, virtualbox, different HW, different git versions..

Long story short, it looks like since version 2.44.0-rc0, probably after merging 'zf/subtree-split-fix', subtree split is much much slower.

And practically unusable on Windows.
Can this be fixed?
Thanks, Peter "Cache" Kassak
Next: Kristoffer Haugsbakk
Message 1 of 6 in “Extremely long subtree split duration”
  1. Peter KassakNov 8, 2024
  2. Kristoffer HaugsbakkNov 8, 2024
  3. Kristoffer HaugsbakkNov 9, 2024
  4. Peter KassakNov 9, 2024
  5. Kristoffer HaugsbakkNov 29, 2024
  6. Kristoffer HaugsbakkNov 29, 2024

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.