Retry an insertion round with fewer workers when it is refused for memory
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- c
- Ambito
- backend, performance
Direzione di ricerca
Start with wirelog/columnar/eval_tdd_insert.c and the wl_columnar_eval_tdd_insert_stratum round, then read wirelog/columnar/session.c to follow how ENOSPC reaches col_session_snapshot_impl. Find the existing insert-route tests and round hook; the issue does not name their files. Done when budgeted snapshots at 4 and 8 workers retry, succeed, and match fresh evaluation, while unbudgeted round and task counts stay unchanged.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
Since #2122 a snapshot after an incremental insert runs a stratum's insertion rounds on up to num_workers worker clones (wl_columnar_eval_tdd_insert_stratum, wirelog/columnar/eval_tdd_insert.c). Each clone holds its own arena, delta pool, arrangements and output bags, and the leading inputs of split instances are copied into ranges. On the CSPA overlap bench row the process's peak RSS at 16 workers rose from about 400 MB to about 710 MB (433 to 488 MB at 8 workers).
Under an enforcing memory budget, a round that fitted on one clone can now be refused. The refusal is returned from the snapshot as ENOSPC. session_snapshot_insert's caller (col_session_snapshot_impl, wirelog/columnar/session.c) falls back to full evaluation only on ENOTSUP/EINVAL, so that snapshot fails and the session re-evaluates in full at the next snapshot.
Proposed change
When a parallel round fails with ENOSPC, discard its bags (the heads are untouched until the merge), and retry the same round with fewer tasks and no range splitting, down to one clone, before failing the snapshot.
Acceptance
- A test with an enforcing budget that admits the serial round but not the parallel one: at 4 and 8 workers the insert-route snapshot succeeds, matches a fresh evaluation, and the round hook reports the retry.
- Without a budget, round and task counts are unchanged.
- Lingua principale
- C
- Stelle
- 18
- Fork
- 2
- Merge medio
- 9h 28m
- PR unite (30g)
- 169
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 semantic-reasoning/wirelog
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
semantic-reasoning/wirelog#2229 ·
I maintainer di solito rispondono entro 1 giorno
-
Doc: insert executor and incremental consolidation leave sorted runs, not globally sorted headsAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 83/100
semantic-reasoning/wirelog#2133 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
semantic-reasoning/wirelog#2042 ·
I maintainer di solito rispondono entro 1 giorno
-
p2-medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
semantic-reasoning/wirelog#1914 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
semantic-reasoning/wirelog#2262 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di semantic-reasoning/wirelog
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
JustAResearcher/gpu-unlock-ada#98 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
bug intrinsic medium priority rt_lib
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
[CLI] Clarify distinction between 'capture camera' and 'capture screen' in help text and outputAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
espressif/esp-vision#18 ·