SEP 40 default overhead: edge reads cost more than 2 % on short line runs and on native Cartesian
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 8/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 活発
- 技術スタック
- python
- 領域
- performance
調査の方向性
The overhead is measured in the native backend's march and its edge reads, the k⊥ ramp and the Cartesian filament case, and the payload names no file or test. Start by profiling a native Cartesian read on Linux, including the march's return and its state copy, and compare against the ifftn and einsum costs listed in the table. Done would mean the per-read host cost is explained, though the maintainer has already recorded this as a miss and moved to Final.
索引モデルが issue の本文から書いたものです。
説明
SEP 40 §7.7 sets a 2 % limit on the default's cost (the k⊥ safety ramp plus the reads of the transverse edge) on clean CPU runs. It was measured at the end of the SEP: Xeon Gold 6240, one socket, 18 threads, same process, variants interleaved, medians of six rounds.
| backend | case | steps (no reads → reads) | reads | ramp | edge | both |
|---|---|---|---|---|---|---|
| native | line | 27 → 28 | 19 | −0.1 % | +14.4 % | +14.0 % |
| native | planar | 40 → 40 | 24 | −9.9 % | +10.8 % | 0.0 % |
| native | radial_filament_256 | 127 → 127 | 19 | +0.1 % | +2.1 % | +2.2 % |
| native | cartesian_filament_128 (warned, half length) | 40 → 41 | 20 | +0.6 % | +10.1 % | +10.5 % |
| numba_cpu | line | 27 → 28 | 19 | +0.2 % | +5.9 % | +6.4 % |
| numba_cpu | planar | 40 → 40 | 24 | −1.5 % | +0.9 % | −1.1 % |
| numba_cpu | radial_filament_256 | 127 → 127 | 19 | 0.0 % | −0.2 % | −0.1 % |
| numba_cpu | cartesian_filament_128 (warned, half length) | 40 → 41 | 20 | +0.4 % | +3.0 % | +2.6 % |
The ramp costs nothing. The remaining cost of reading has two parts:
- The read ceiling. It adds one step on the line case (27 → 28, +3.7 %) and on the Cartesian filament. Steps are capped at the read spacing,
min(L/16, 4g/v_q), and that cap binds on some steps. - Per-read host cost.
- The line case is a 0.2 s native run, so reads at about 1 ms each are 10 % of it.
- On native Cartesian, each read costs about 180 ms on the Xeon Gold 6240. The read's own pieces should cost about 70 ms: an 18-thread
ifftnof 128² × 433 in 12 ms, einsum sums of 9 ms, and copies. - On an Apple M5 Max, the same read costs about 13 ms.
- Neither
OMP_WAIT_POLICY=passivenor one FFT worker changed it, so it is not thread contention. The remainder is probably the native march's return and re-entry around a read, or the host copy of the state; it has not been profiled on Linux.
Leads:
- profile a native Cartesian read on Linux, including the march's return and its state copy;
- let a native backend reduce the edge's faces where its state lives, as ADR-057 does for the temporal monitor;
- consider whether
L/16should bind on cases whose light stays far from the edge.
From SEP 40's phase 3 report (#71). The maintainer's decision (2026-11-01): record a miss and proceed to Final.
- 主要言語
- Python
- スター
- 3
- フォーク
- 3
- 平均マージ
- 6時間 51分
- マージ済み PR(30日)
- 136
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
LupoLab/solprop のほかの issue
-
The TDSE steady-current certificate can refuse a resolved taper on a band far above its frequenciesオープンarea: tdse enhancement priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 60/100
メンテナーはふだん 1 日以内に返信
-
area: boundaries documentation priority: low
難易度 2/5 半日 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
area: backends bug priority: low
難易度 2/5 半日 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
SEP 44's later commits haven't run on an AMD card対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
-
priority: low
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
LupoLab/solprop の issue をすべて見る
似ている issue
-
area/test type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Clodmony/starship-coop#70 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
punitarani/fli#270 ·
-
🐛 Bug 🔔 Pending processing
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
jumpserver/jumpserver#17980 ·
メンテナーはふだん 1 日以内に返信
-
community enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
namespace
難易度 2/5 1〜3時間 初心者へのやさしさ 60/100
EclipseFdn/open-vsx.org#15341 ·
メンテナーはふだん 1 日以内に返信