Apple Silicon P-core frequency drop, P/E-core switching add noise to CI benchmarks
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- c, macos
- Ambito
- performance
Direzione di ricerca
Read issue #504 and locate the CI benchmark rounds, their metadata recording, and the A/A calibration runs; no files or tests are named in this issue. Determine how to measure single-threaded calibration before and after each round and how to flag or rerun affected samples, then assess separate thresholds for Tier 3. Done means benchmark metadata captures the calibration and the proposed handling is evaluated against CI noise.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Follow-up to #504
I measured on the CI host (Apple M4, 4 P-cores + 6 E-cores):
macOS schedules CPU-bound threads on P-cores first. Each elfuse guest thread is its own vCPU and host thread, and elfuse follows the same placement as native threads.
When 3 or more P-cores are busy at once, every P-core slows down by about 12%. A fixed amount of work took 1812 µs with 1–2 busy threads and 2030 µs with 3–4.
Tier 1 and Tier 2 are sequential and effectively single-threaded, so they normally run at full P-core speed. Any other load on the host could push the number of busy P-cores past 2 and drop the frequency for part of a run. That would make samples shift between two levels. A cheap guard would be a short single-threaded calibration loop before and after each round, recorded in meta. If it shows the lower-frequency level, flag the round or rerun it.
Tier 3 includes multi-threaded workloads. jvm runs 8 compute threads, which is more than the 4 P-cores, so its threads move back and forth between P-cores and E-cores during the run. E-cores ran about 30% slower on a branchy workload. These metrics will likely be noisier than Tier 1 and Tier 2, so their threshold should probably be calibrated separately in the A/A runs.
- Lingua principale
- C
- Stelle
- 287
- Fork
- 33
- Merge medio
- 2g 17h
- PR unite (30g)
- 18
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun 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 sysprog21/elfuse
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di sysprog21/elfuse
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
libreswan/libreswan#3185 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
[SDL3pp] update to 0.12.0Apertacategory:port-update
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 2 giorni
-
[InstCombine] 23.x folds 0.0 * (0.0 / x) to 0.0 when x may be zero (fixed on main by #202482)Apertallvm:instcombine
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
llvm/llvm-project#246503 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno