TECHNICAL JOURNAL

AI、Tracing、Profiling 与系统工程的长期记录

Archive 62 篇文章
Latest 2026-04-01 最近更新
Computer

Performance Analysis Tools

在 Linux 性能观测中,Tracing 侧重于捕捉事件的因果顺序与详细流程,而 Profiling 侧重于统计资源的宏观消耗热点。二者相辅相成。 以下工具为工作中接触和使用过的。参考阅读中提供了更多工具和资源,供进一步探索。 内核与系统级工具 perf: CPU 硬件计数器采样,perf record -e <tracepoint> 亦可做事件追踪。 jemalloc: 内存分配器,支持堆内存剖析与泄漏检测。 Intel VTune: 全平台 CPU/GPU 性能剖析器。 Valgrind: 内存调 …

2 分钟阅读1000 字
AI

AI Agent

Claude code 安装 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 # 安装 nvm curl -o- …

7 分钟阅读3100 字

Browse by topic

按主题进入文章

Latest writing

最新文章

Computer

Trace Event

Google JSON 格式详解(兼容 Trace Viewer / Perfetto) 一、事件通用字段 google 的 trace-viewer 项目,合并到了 catapult 中,工具 perfetto 打算替换 Trace Viewer。 字段名 含义 备注 ph phase,事件类型 关键字段,决定事件 …

3 分钟阅读1400 字
Computer

MPI 基础知识

MPI (Message Passing Interface) C/C++: mpi,h -> libmpi.so 编译:mpicxx -o test_mpi_cpp test_mpi.cpp -lmpi Fortran: mpif.h, 或者使用模板mpiuse mpi -> …

6 分钟阅读2700 字
AI

GPU_碎片笔记

N卡 / A卡 / OpenCL 对比 Nvidia/CUDA AMD/HIP OpenCL Streaming Multiprocessor (SM) Compute Unit (CU) Compute Unit Thread Block Workgroup Work-group Shared Memory …

3 分钟阅读1500 字
Other

Record

常用工具 WSL 1 2 3 4 5 6 7 8 9 # wsl --list --online #查看可用发行版列表 # wsl --list --verbose # 列出已安装的 Linux 分发版 # wsl --status # 检查 WSL 状态 wsl --install -d Ubuntu-22.04 # …

3 分钟阅读1400 字
Other

Blog配置

安装Hugo 1 winget install Hugo.Hugo.Extended 安装完成后查看hugo版本验证安装是否成功 1 hugo version 配置博客源 使用hugo创建网站 1 2 hugo new site blog # 可以替换成任意你想要的名字 # github里创建同名仓库,到时候git …

2 分钟阅读700 字
0%