Reduce Git-source I/O overhead on Docker Desktop bind mounts
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 38/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- docker, git
- Ambito
- devops, performance
Direzione di ricerca
Start with the source-bound 0.9.0 receipt in tests/performance/kernel_git/ and reproduce the pinned 4,100-file fixture, adding the smaller representative and large packed repositories described. Profile the bind-mounted run against an in-container copy, measuring time, RSS, file descriptors, syscall and pack/index behavior. Done means a reproducible dominant-cost profile and either a controlled gain without native Git/directory regressions or documented file-sharing limits and an explicit user choice.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
Git-source reads remain disproportionately slow when a repository is bind-mounted into Docker Desktop on macOS. In the 0.9.0 performance study, a pinned 4,100-file Git fixture took 10.35 seconds inside a Linux container versus 0.20 seconds natively on the same host, using the same 16-worker metrics command. Normalized reports were identical. A full-kernel bind-mounted run was canceled after 147.12 seconds without a report; that run establishes no completion-time ratio.
The native Git path meets the 0.9.0 kernel performance targets. This issue tracks the distinct file-sharing cost, without changing the semantics of --source git or silently substituting the working directory.
Investigation
- Reproduce against the source-bound 0.9.0 receipt in
tests/performance/kernel_git/and include a smaller representative repository plus a large packed one. - Profile syscall counts, read sizes, pack/index access patterns, and time spent across the Docker Desktop mount. Compare with a copy of the same Git object store inside the container to isolate file-sharing overhead.
- Evaluate bounded batching, buffering, or other storage-layer changes only when output and resource behavior remain controlled. Preserve bare-repository, linked-worktree, alternate-object, cancellation, and cleanup behavior.
- Measure time, RSS, file descriptors, and exact output before and after. State platform and mount details; do not generalize a macOS Docker Desktop result to all network or bind mounts.
Completion
A reproducible benchmark and profile identify the dominant cost. Any adopted change shows a useful gain on the bind-mounted control without regressing native Git/directory results or changing the selected source's contents. If the bottleneck is primarily external file sharing, document that limitation and an explicit user choice instead of hiding it.
Related: #73.
- Lingua principale
- Go
- Stelle
- 0
- Fork
- 0
- Merge medio
- 5h 8m
- PR unite (30g)
- 54
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di war-and-code/dircue
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
war-and-code/dircue#200 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement follow-up
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
war-and-code/dircue#201 ·
I maintainer di solito rispondono entro 1 giorno
-
follow-up
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
war-and-code/dircue#179 ·
I maintainer di solito rispondono entro 1 giorno
-
follow-up
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
war-and-code/dircue#178 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement follow-up
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
war-and-code/dircue#172 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di war-and-code/dircue
Issue simili
-
component/gpu-kubelet-plugin component/helm needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
kubernetes-sigs/dra-driver-nvidia-gpu#1559 ·
I maintainer di solito rispondono entro 1 giorno
-
TOTP enrollment returns 500 for phone-only users (empty TOTP account name)Forse già presa @emiliosandoval4 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 60/100
I maintainer di solito rispondono entro 1 giorno
-
8.9 to 8.10 Helm upgrade guide still says deprecated keys are removed in chart v16 (Camunda 8.11)Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 78/100
camunda/camunda-platform-helm#7559 ·
I maintainer di solito rispondono entro 1 giorno
-
docs: namespaceRegexes example teaches prefix matching, but regexes are matched as a substringForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertatriage/pending-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
external-secrets/external-secrets#7117 ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ENTERPILOT/GoModel#1183 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno