·cpu-cache-opt
{}

cpu-cache-opt

C/C++ 和 Rust 的 CPU 缓存优化技巧。在诊断缓存未命中、改进数据布局以提高缓存效率、使用 perf stat 缓存计数器、了解错误共享、预取或构建 AoS 与 SoA 数据布局时使用。在有关缓存未命中、缓存行、错误共享、性能缓存计数器、数据布局优化、预取、AoS 与 SoA 或 L1/L2/L3 缓存性能的查询时激活。

29安装·1热度·@mohitmishra786

安装

$npx skills add https://github.com/mohitmishra786/low-level-dev-skills --skill cpu-cache-opt

如何安装 cpu-cache-opt

通过命令行快速安装 cpu-cache-opt AI 技能到你的开发环境

  1. 打开终端: 打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 运行安装命令: 复制并运行以下命令:npx skills add https://github.com/mohitmishra786/low-level-dev-skills --skill cpu-cache-opt
  3. 验证安装: 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

来源:mohitmishra786/low-level-dev-skills。

SKILL.md

查看原文

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-opt
分类
{}数据分析
认证
收录时间
2026-02-22
更新时间
2026-03-10

Browse more skills from mohitmishra786/low-level-dev-skills

快速解答

什么是 cpu-cache-opt?

C/C++ 和 Rust 的 CPU 缓存优化技巧。在诊断缓存未命中、改进数据布局以提高缓存效率、使用 perf stat 缓存计数器、了解错误共享、预取或构建 AoS 与 SoA 数据布局时使用。在有关缓存未命中、缓存行、错误共享、性能缓存计数器、数据布局优化、预取、AoS 与 SoA 或 L1/L2/L3 缓存性能的查询时激活。 来源:mohitmishra786/low-level-dev-skills。

如何安装 cpu-cache-opt?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/mohitmishra786/low-level-dev-skills --skill cpu-cache-opt 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

这个 Skill 的源码在哪?

https://github.com/mohitmishra786/low-level-dev-skills

详情

分类
{}数据分析
来源
skills.sh
收录时间
2026-02-22