gedankensplitter/linux_perf_problems.md

9 lines
450 B
Markdown
Raw Normal View History

2022-02-26 16:32:15 +00:00
# debug perfomance problems
https://netflixtechblog.com/linux-performance-analysis-in-60-000-milliseconds-accc10403c55
2023-02-08 05:53:15 +00:00
introduction to ebpf: https://www.brendangregg.com/ebpf.html
RAM usage splitted by iomem (https://github.com/madrisan/linux-iomem/blob/master/iomem.sh)
```
cat /proc/iomem | tr [a-z] [A-Z] | while IFS='-: ' read AD1 AD2 REST; do echo "$(( $(echo "obase=10;ibase=16; ( $AD2 -AD1 ) " | bc) >> 20))MB for $REST"; done | sort -h
```