什么是 cpu-cache-opt?
C/C++ 和 Rust 的 CPU 缓存优化技巧。在诊断缓存未命中、改进数据布局以提高缓存效率、使用 perf stat 缓存计数器、了解错误共享、预取或构建 AoS 与 SoA 数据布局时使用。在有关缓存未命中、缓存行、错误共享、性能缓存计数器、数据布局优化、预取、AoS 与 SoA 或 L1/L2/L3 缓存性能的查询时激活。 来源:mohitmishra786/low-level-dev-skills。
C/C++ 和 Rust 的 CPU 缓存优化技巧。在诊断缓存未命中、改进数据布局以提高缓存效率、使用 perf stat 缓存计数器、了解错误共享、预取或构建 AoS 与 SoA 数据布局时使用。在有关缓存未命中、缓存行、错误共享、性能缓存计数器、数据布局优化、预取、AoS 与 SoA 或 L1/L2/L3 缓存性能的查询时激活。
通过命令行快速安装 cpu-cache-opt AI 技能到你的开发环境
来源:mohitmishra786/low-level-dev-skills。
Guide agents through cache-aware programming: diagnosing cache misses with perf, data layout transformations (AoS→SoA), false sharing detection and fixes, prefetching, and cache-friendly algorithm design.
False sharing occurs when two threads write to different variables that share a cache line, causing constant cache-line invalidations.
For perf cache event reference and false sharing detection patterns, see references/cache-counters.md.
C/C++ 和 Rust 的 CPU 缓存优化技巧。在诊断缓存未命中、改进数据布局以提高缓存效率、使用 perf stat 缓存计数器、了解错误共享、预取或构建 AoS 与 SoA 数据布局时使用。在有关缓存未命中、缓存行、错误共享、性能缓存计数器、数据布局优化、预取、AoS 与 SoA 或 L1/L2/L3 缓存性能的查询时激活。 来源:mohitmishra786/low-level-dev-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/mohitmishra786/low-level-dev-skills --skill cpu-cache-optC/C++ 和 Rust 的 CPU 缓存优化技巧。在诊断缓存未命中、改进数据布局以提高缓存效率、使用 perf stat 缓存计数器、了解错误共享、预取或构建 AoS 与 SoA 数据布局时使用。在有关缓存未命中、缓存行、错误共享、性能缓存计数器、数据布局优化、预取、AoS 与 SoA 或 L1/L2/L3 缓存性能的查询时激活。 来源:mohitmishra786/low-level-dev-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/mohitmishra786/low-level-dev-skills --skill cpu-cache-opt 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/mohitmishra786/low-level-dev-skills