9 lines
450 B
Markdown
9 lines
450 B
Markdown
# debug perfomance problems
|
|
https://netflixtechblog.com/linux-performance-analysis-in-60-000-milliseconds-accc10403c55
|
|
|
|
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
|
|
``` |