├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── bcc ├── README.md └── trace-open.py ├── dns ├── 4-times-close.pcap ├── README.md ├── images │ ├── Dockerfile │ ├── README.md │ ├── dnsmasq.conf │ └── resolv.conf.dnsmasq ├── ping.pcap └── web.pcap ├── flamegraph ├── README.md ├── cpu-mysql-updated.svg ├── jbd2.svg └── ksoftirqd.svg ├── high-iowait-process ├── Dockerfile ├── Makefile ├── README.md ├── app-fix1.c ├── app-fix2.c └── app.c ├── images └── intro.jpg ├── io-cached ├── Dockerfile ├── Makefile ├── README.md ├── app-cached.c └── app.c ├── io-latency ├── Dockerfile ├── Makefile ├── README.md └── app.py ├── logging-app ├── Dockerfile ├── Makefile ├── README.md └── app.py ├── mem-leak ├── Dockerfile ├── Makefile ├── README.md ├── app-fix.c ├── app-no-calloc.c └── app.c ├── mysql-slow ├── Dockerfile ├── Dockerfile.dataservice ├── Dockerfile.mysql ├── Makefile ├── README.md ├── app.py ├── dataservice.py ├── mysqld.cnf └── tables.sql ├── nat ├── Dockerfile ├── Dockerfile.80 ├── Makefile ├── README.md ├── default.80.conf ├── default.conf ├── dropwatch.stp └── nginx.conf ├── network-latency ├── Dockerfile ├── Makefile ├── README.md ├── default.conf └── nginx.conf ├── nginx-high-cpu ├── Dockerfile.nginx ├── Dockerfile.php-fpm ├── Makefile ├── README.md ├── app │ ├── 404.html │ ├── index.php │ ├── ok.php │ └── phpinfo.php ├── nginx.conf └── php-fpm.d │ └── www.conf ├── nginx-short-process ├── Dockerfile.nginx ├── Dockerfile.php-fpm ├── Makefile ├── README.md ├── app │ ├── 404.html │ ├── index.php │ ├── ok.php │ └── phpinfo.php ├── nginx.conf └── php-fpm.d │ └── www.conf ├── nginx-throughput ├── Dockerfile.nginx ├── Dockerfile.php-fpm ├── Makefile ├── README.md ├── app │ ├── 404.html │ └── index.php ├── init.sh ├── nginx.conf ├── nginx.svg └── php-fpm.d │ └── www.conf ├── packet-drop ├── Dockerfile ├── Makefile ├── README.md └── start.sh ├── redis-slow ├── Dockerfile ├── Dockerfile.redis ├── Makefile ├── README.md ├── app.py └── redis.conf ├── short-lived-process ├── Dockerfile ├── Makefile ├── README.md └── app.c └── tomcat ├── Dockerfile ├── Dockerfile.jre11 ├── Makefile ├── README.md └── index.jsp /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/README.md -------------------------------------------------------------------------------- /bcc/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/bcc/README.md -------------------------------------------------------------------------------- /bcc/trace-open.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/bcc/trace-open.py -------------------------------------------------------------------------------- /dns/4-times-close.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/dns/4-times-close.pcap -------------------------------------------------------------------------------- /dns/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/dns/README.md -------------------------------------------------------------------------------- /dns/images/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/dns/images/Dockerfile -------------------------------------------------------------------------------- /dns/images/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/dns/images/README.md -------------------------------------------------------------------------------- /dns/images/dnsmasq.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/dns/images/dnsmasq.conf -------------------------------------------------------------------------------- /dns/images/resolv.conf.dnsmasq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/dns/images/resolv.conf.dnsmasq -------------------------------------------------------------------------------- /dns/ping.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/dns/ping.pcap -------------------------------------------------------------------------------- /dns/web.pcap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/dns/web.pcap -------------------------------------------------------------------------------- /flamegraph/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/flamegraph/README.md -------------------------------------------------------------------------------- /flamegraph/cpu-mysql-updated.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/flamegraph/cpu-mysql-updated.svg -------------------------------------------------------------------------------- /flamegraph/jbd2.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/flamegraph/jbd2.svg -------------------------------------------------------------------------------- /flamegraph/ksoftirqd.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/flamegraph/ksoftirqd.svg -------------------------------------------------------------------------------- /high-iowait-process/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/high-iowait-process/Dockerfile -------------------------------------------------------------------------------- /high-iowait-process/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/high-iowait-process/Makefile -------------------------------------------------------------------------------- /high-iowait-process/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/high-iowait-process/README.md -------------------------------------------------------------------------------- /high-iowait-process/app-fix1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/high-iowait-process/app-fix1.c -------------------------------------------------------------------------------- /high-iowait-process/app-fix2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/high-iowait-process/app-fix2.c -------------------------------------------------------------------------------- /high-iowait-process/app.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/high-iowait-process/app.c -------------------------------------------------------------------------------- /images/intro.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/images/intro.jpg -------------------------------------------------------------------------------- /io-cached/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/io-cached/Dockerfile -------------------------------------------------------------------------------- /io-cached/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/io-cached/Makefile -------------------------------------------------------------------------------- /io-cached/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/io-cached/README.md -------------------------------------------------------------------------------- /io-cached/app-cached.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/io-cached/app-cached.c -------------------------------------------------------------------------------- /io-cached/app.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/io-cached/app.c -------------------------------------------------------------------------------- /io-latency/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/io-latency/Dockerfile -------------------------------------------------------------------------------- /io-latency/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/io-latency/Makefile -------------------------------------------------------------------------------- /io-latency/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/io-latency/README.md -------------------------------------------------------------------------------- /io-latency/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/io-latency/app.py -------------------------------------------------------------------------------- /logging-app/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/logging-app/Dockerfile -------------------------------------------------------------------------------- /logging-app/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/logging-app/Makefile -------------------------------------------------------------------------------- /logging-app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/logging-app/README.md -------------------------------------------------------------------------------- /logging-app/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/logging-app/app.py -------------------------------------------------------------------------------- /mem-leak/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/mem-leak/Dockerfile -------------------------------------------------------------------------------- /mem-leak/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/mem-leak/Makefile -------------------------------------------------------------------------------- /mem-leak/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/mem-leak/README.md -------------------------------------------------------------------------------- /mem-leak/app-fix.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/mem-leak/app-fix.c -------------------------------------------------------------------------------- /mem-leak/app-no-calloc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/mem-leak/app-no-calloc.c -------------------------------------------------------------------------------- /mem-leak/app.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/mem-leak/app.c -------------------------------------------------------------------------------- /mysql-slow/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/mysql-slow/Dockerfile -------------------------------------------------------------------------------- /mysql-slow/Dockerfile.dataservice: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/mysql-slow/Dockerfile.dataservice -------------------------------------------------------------------------------- /mysql-slow/Dockerfile.mysql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/mysql-slow/Dockerfile.mysql -------------------------------------------------------------------------------- /mysql-slow/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/mysql-slow/Makefile -------------------------------------------------------------------------------- /mysql-slow/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/mysql-slow/README.md -------------------------------------------------------------------------------- /mysql-slow/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/mysql-slow/app.py -------------------------------------------------------------------------------- /mysql-slow/dataservice.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/mysql-slow/dataservice.py -------------------------------------------------------------------------------- /mysql-slow/mysqld.cnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/mysql-slow/mysqld.cnf -------------------------------------------------------------------------------- /mysql-slow/tables.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/mysql-slow/tables.sql -------------------------------------------------------------------------------- /nat/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/nat/Dockerfile -------------------------------------------------------------------------------- /nat/Dockerfile.80: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/nat/Dockerfile.80 -------------------------------------------------------------------------------- /nat/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/nat/Makefile -------------------------------------------------------------------------------- /nat/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/nat/README.md -------------------------------------------------------------------------------- /nat/default.80.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/nat/default.80.conf -------------------------------------------------------------------------------- /nat/default.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/nat/default.conf -------------------------------------------------------------------------------- /nat/dropwatch.stp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/nat/dropwatch.stp -------------------------------------------------------------------------------- /nat/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/nat/nginx.conf -------------------------------------------------------------------------------- /network-latency/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/network-latency/Dockerfile -------------------------------------------------------------------------------- /network-latency/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/network-latency/Makefile -------------------------------------------------------------------------------- /network-latency/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/network-latency/README.md -------------------------------------------------------------------------------- /network-latency/default.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/network-latency/default.conf -------------------------------------------------------------------------------- /network-latency/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/network-latency/nginx.conf -------------------------------------------------------------------------------- /nginx-high-cpu/Dockerfile.nginx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/nginx-high-cpu/Dockerfile.nginx -------------------------------------------------------------------------------- /nginx-high-cpu/Dockerfile.php-fpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/nginx-high-cpu/Dockerfile.php-fpm -------------------------------------------------------------------------------- /nginx-high-cpu/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/nginx-high-cpu/Makefile -------------------------------------------------------------------------------- /nginx-high-cpu/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/nginx-high-cpu/README.md -------------------------------------------------------------------------------- /nginx-high-cpu/app/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/nginx-high-cpu/app/404.html -------------------------------------------------------------------------------- /nginx-high-cpu/app/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/nginx-high-cpu/app/index.php -------------------------------------------------------------------------------- /nginx-high-cpu/app/ok.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /nginx-high-cpu/app/phpinfo.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /nginx-short-process/app/phpinfo.php: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /nginx-throughput/init.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/nginx-throughput/init.sh -------------------------------------------------------------------------------- /nginx-throughput/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/nginx-throughput/nginx.conf -------------------------------------------------------------------------------- /nginx-throughput/nginx.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/nginx-throughput/nginx.svg -------------------------------------------------------------------------------- /nginx-throughput/php-fpm.d/www.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/nginx-throughput/php-fpm.d/www.conf -------------------------------------------------------------------------------- /packet-drop/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/packet-drop/Dockerfile -------------------------------------------------------------------------------- /packet-drop/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/packet-drop/Makefile -------------------------------------------------------------------------------- /packet-drop/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/packet-drop/README.md -------------------------------------------------------------------------------- /packet-drop/start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/packet-drop/start.sh -------------------------------------------------------------------------------- /redis-slow/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/redis-slow/Dockerfile -------------------------------------------------------------------------------- /redis-slow/Dockerfile.redis: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/redis-slow/Dockerfile.redis -------------------------------------------------------------------------------- /redis-slow/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/redis-slow/Makefile -------------------------------------------------------------------------------- /redis-slow/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/redis-slow/README.md -------------------------------------------------------------------------------- /redis-slow/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/redis-slow/app.py -------------------------------------------------------------------------------- /redis-slow/redis.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/redis-slow/redis.conf -------------------------------------------------------------------------------- /short-lived-process/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/short-lived-process/Dockerfile -------------------------------------------------------------------------------- /short-lived-process/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/short-lived-process/Makefile -------------------------------------------------------------------------------- /short-lived-process/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/short-lived-process/README.md -------------------------------------------------------------------------------- /short-lived-process/app.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/short-lived-process/app.c -------------------------------------------------------------------------------- /tomcat/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/tomcat/Dockerfile -------------------------------------------------------------------------------- /tomcat/Dockerfile.jre11: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/tomcat/Dockerfile.jre11 -------------------------------------------------------------------------------- /tomcat/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/tomcat/Makefile -------------------------------------------------------------------------------- /tomcat/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/tomcat/README.md -------------------------------------------------------------------------------- /tomcat/index.jsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/feiskyer/linux-perf-examples/HEAD/tomcat/index.jsp --------------------------------------------------------------------------------