A kernel module that probes qdiscs and extracts drop statistics from it.
Uses kprobe. My intention was to support multiple qdiscs, but in the first
version I have focused on pfifo
and bfifo
.
For more information, refer the documentation on kprobes, tcpprobe and netem.
NB! This module only works for x86 due to architecture specific behaviour.
- Compile and load module:
make && make load
- Dump results to file:
cat /proc/net/pfifo > result.bin
- Stop dumping and unload module:
make unload
- Compile analyser:
make analyzer
- Analyse results:
cat result.bin | ./analyzer | ./clustering.py