# feiskyer/linux-perf-examples

极客时间《Linux 性能优化实战》案例

Repository: https://github.com/feiskyer/linux-perf-examples
Canonical: https://ross.abutalabs.com/products/linux-perf-examples
Homepage: https://time.geekbang.org/column/intro/140
Language: C
License: MIT
License Family: permissive
Topics: linux, perf, performance-analysis, performance-tuning
Last push: 2023-01-06T03:35:50+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2887, "days_push": 1335, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1123, forks 544 (observed 2026-08-28T04:03:40.427076+00:00)

## What it is
Source code examples for the Geek Time course 'Linux Performance Optimization in Practice' (《Linux 性能优化实战》). It provides reproducible C/Docker-based case studies covering CPU, memory, I/O, and network performance problems analyzed with Linux perf tooling.

## Use cases
- learn linux performance tuning with hands-on examples
- reproduce high cpu usage scenarios and debug them with perf
- practice diagnosing memory leaks on linux
- analyze io latency and iowait problems
- generate flame graphs from perf data
- troubleshoot mysql and redis latency cases
- study network latency and dns performance issues

## When to choose
- you are following the Geek Time Linux performance course and want the companion source code
- you want realistic, containerized scenarios to practice perf, flame graphs, and performance analysis
- you are learning to diagnose CPU, memory, I/O, and network bottlenecks on Linux

## When to avoid
- you need a production performance monitoring or profiling tool rather than educational examples
- you are not on Linux or unwilling to use Docker and build tools
- you want a maintained library to integrate into your own software

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: monitoring, benchmarking, developer-tools
- domain: performance, operating-systems, tutorials, developer-tools
- platform: cli
- tags: linux-performance, perf, flame-graphs, case-studies, geektime-course, performance-tuning, linux, docker

## Member repositories
- feiskyer/linux-perf-examples (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:40.427076+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:40:52.060174+00:00, confidence not recorded.
  - readme: https://github.com/feiskyer/linux-perf-examples (fetched 2026-08-28T04:03:40.427076+00:00, sha 08368d0d32d1)
  - homepage: https://time.geekbang.org/column/intro/140 (fetched 2026-08-29T12:44:15.962748+00:00, sha e64f6b2c8412)
- Data as of 2026-08-30T08:39:29.467469+00:00.
