Skip to content

docs(audit): rolling SIMD checksum-sync regression hypothesis (CSP-1 #2386) - #4450

Merged
oferchen merged 1 commit into
masterfrom
docs/csp-1-rolling-simd-audit
May 18, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/csp-1-rolling-simd-audit

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Audit the checksum-sync mode (--checksum / always_checksum) flow end-to-end and confirm where the rolling-checksum SIMD path actually engages.
  • Compare oc-rsync's AVX2 / SSE2 / NEON loops against upstream rsync 3.4.1's simd-checksum-x86_64.cpp per-iteration shape.
  • Rank suspected root causes for the 1.5-1.7x regression: horizontal-reduction-per-iteration (top), half-stride vs upstream, per-call dispatch tax, NEON-specific underperformance.
  • Propose three concrete code changes (keep s1/s2 in SIMD registers, widen stride, drop dispatch overhead) with expected combined speedup of 1.7-2.2x on the micro-benchmark.

Test plan

  • cargo fmt --all clean (no source changes; doc-only PR)
  • All upstream cites resolve to lines in target/interop/upstream-src/rsync-3.4.1/
  • All oc-rsync cites resolve to existing source lines

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 18, 2026
@oferchen
oferchen force-pushed the docs/csp-1-rolling-simd-audit branch from 7327ec4 to 1d27913 Compare May 18, 2026 01:43
@oferchen
oferchen merged commit 07b6dd1 into master May 18, 2026
9 checks passed
@oferchen
oferchen deleted the docs/csp-1-rolling-simd-audit branch May 19, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant