Tagged articles
2 articles
Page 1 of 1
Java Tech Enthusiast
Java Tech Enthusiast
May 23, 2024 · Operations

Understanding CPU Hardware Efficiency and Using Linux perf for Performance Monitoring

CPU efficiency depends on low CPI and high cache‑hit rates, which can be measured on Linux using the high‑level perf utility or the low‑level perf_event_open syscall to read hardware performance counters for cycles, instructions, and cache‑miss statistics, revealing how often the processor falls back to slower memory.

CPICPUCache Miss Rate
0 likes · 19 min read
Understanding CPU Hardware Efficiency and Using Linux perf for Performance Monitoring
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Jan 20, 2023 · Operations

Inside Android’s traced_perf: Architecture, IPC, and Unwinding Explained

This article provides an in‑depth technical walkthrough of Android’s traced_perf component, covering its code layout, integration with Perfetto, IPC mechanisms, perf_event handling, sample acquisition, stack unwinding, and trace writing, while illustrating each step with diagrams and reference links.

Android profilingIPCLinux performance
0 likes · 21 min read
Inside Android’s traced_perf: Architecture, IPC, and Unwinding Explained