docs: add NUMA topology and work-stealing guide#536
Merged
kcenon merged 1 commit intoFeb 8, 2026
Conversation
Comprehensive documentation for the NUMA subsystem covering: - NUMA concepts with architecture diagrams - Topology detection (Linux sysfs, macOS/Windows fallback) - numa_thread_pool API (extends thread_pool) - Work stealing with 6 victim selection policies - enhanced_work_stealing_config with 5 factory presets - Metrics and observability (atomic stats, computed metrics) - Usage examples for basic, custom, hierarchical, and monitoring - Performance tuning guidelines (policies, penalties, batching) - Anti-patterns and troubleshooting
6 tasks
Contributor
📊 Performance Benchmark ResultsPerformance Benchmark ReportNo benchmark data available. ℹ️ No baseline reference availableThis is the first benchmark run or baseline file is missing. |
Owner
Author
Test Plan Verification ResultsAll 4 test plan items verified against source code. No bugs found. 1. Code Examples API Signatures — PASSVerified all code examples across 10 sections against 9 source headers:
2. Default Values and Thresholds — PASS (17/17)All 17 defaults in the Configuration Reference table match
3. Factory Preset Configurations — PASS (5/5)
4. Cross-References — PASS (14/14)
ConclusionAll test plan items pass. The documentation accurately reflects the source code with zero discrepancies. |
kcenon
added a commit
that referenced
this pull request
Apr 13, 2026
Comprehensive documentation for the NUMA subsystem covering: - NUMA concepts with architecture diagrams - Topology detection (Linux sysfs, macOS/Windows fallback) - numa_thread_pool API (extends thread_pool) - Work stealing with 6 victim selection policies - enhanced_work_stealing_config with 5 factory presets - Metrics and observability (atomic stats, computed metrics) - Usage examples for basic, custom, hierarchical, and monitoring - Performance tuning guidelines (policies, penalties, batching) - Anti-patterns and troubleshooting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docs/NUMA_GUIDE.md)Closes #531
Changes
docs/NUMA_GUIDE.md(815 lines)numa_thread_poolAPI reference with 3 constructor variantsjob_builderAPITest Plan
enhanced_work_stealing_config.h