Retry an insertion round with fewer workers when it is refused for memory
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- c
- 領域
- backend, performance
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C
- スター
- 18
- フォーク
- 2
- 平均マージ
- 9時間 28分
- マージ済み PR(30日)
- 169
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
semantic-reasoning/wirelog のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
semantic-reasoning/wirelog#2229 ·
メンテナーはふだん 1 日以内に返信
-
Doc: insert executor and incremental consolidation leave sorted runs, not globally sorted headsオープン
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
semantic-reasoning/wirelog#2133 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
semantic-reasoning/wirelog#2042 ·
メンテナーはふだん 1 日以内に返信
-
p2-medium
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
semantic-reasoning/wirelog#1914 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
semantic-reasoning/wirelog#2262 ·
メンテナーはふだん 1 日以内に返信
semantic-reasoning/wirelog の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
JustAResearcher/gpu-unlock-ada#98 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
bug intrinsic medium priority rt_lib
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
[CLI] Clarify distinction between 'capture camera' and 'capture screen' in help text and outputオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
espressif/esp-vision#18 ·