Restore CRDT and CSPA throughput with memory admission enabled
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- c
- Domain
- performance
Research direction
Profile the CRDT and CSPA workloads on the baseline and memory-admission candidate in the pinned performance environment, starting with the existing crdt_perf_gate and cspa_w1_gate entry points. Identify the governed allocation or admission hot path before changing it, then verify the current targets, focused denial/ownership/rollback tests, accounting, typed errors, and result correctness without weakening gates.
Written by the indexing model from the issue text.
Description
Discovery context
The required Perf Suite for PR #1903 (issue #1369), rebased on main at 8d91c2da, failed both single-worker performance gates in run 35906306991, job 107334769925:
crdt_perf_gate: median 42,324.7 ms against the unchanged 38,120 ms target (CoV 0.446%).cspa_w1_gate: median 3,735.1 ms against the unchanged 2,050 ms target (CoV 1.631%).
The expected CRDT result and CSPA tuple/iteration counts were correct. The CI measurements correlate with the memory-admission work in #1369, but do not identify the responsible hot path. Profile the baseline and candidate before assigning a cause; session setup or hash rebuilding alone is not yet shown to explain the CSPA regression.
Scope
Compare and profile the CRDT and CSPA workloads on the baseline and memory-admission candidate under the required pinned performance environment. Optimize measured governed allocation/admission hot paths while preserving per-class accounting, finite budget denial, typed errors, ownership transfer, rollback, and result correctness. Add or update focused tests if an optimization changes admission behavior.
Acceptance criteria
- The existing required
crdt_perf_gatepasses its current 38,120 ms target and reports reproducible before/after measurements and variance. - The existing required
cspa_w1_gatepasses its current 2,050 ms target and reports reproducible before/after measurements and variance. - Focused memory-admission denial, ownership, and rollback tests pass for any changed paths.
- No performance threshold or baseline is raised, and no gate is skipped or weakened.
- Architect and Critic review the measured diagnosis and optimization before implementation.
Related: #1369, PR #1903.
- Dominant language
- C
- Stars
- 18
- Forks
- 2
- Avg merge
- 9h 44m
- Merged PRs (30d)
- 162
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from semantic-reasoning/wirelog
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
semantic-reasoning/wirelog#2229 ·
Maintainers usually reply within 1 day
-
Doc: insert executor and incremental consolidation leave sorted runs, not globally sorted headsOpen
Difficulty 1/5 Under an hour Newbie friendliness 83/100
semantic-reasoning/wirelog#2133 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
semantic-reasoning/wirelog#2042 ·
Maintainers usually reply within 1 day
-
p2-medium
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
semantic-reasoning/wirelog#1914 ·
Maintainers usually reply within 1 day
-
Implement #2310: bounded non-evaluating host source inspection for easy and advanced sessionsPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
semantic-reasoning/wirelog#2321 ·
Maintainers usually reply within 1 day
All issues in semantic-reasoning/wirelog
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
arduino/ArduinoCore-megaavr#152 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
FujiNetWIFI/fujinet-firmware#2261 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
kivy/python-for-android#3405 · 1 reaction ·
Maintainers usually reply within 1 day
-
Nmap
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
`nuklear.h` shows old versionPossibly taken @TomJGooding claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Immediate-Mode-UI/Nuklear#1004 ·