|
|
|
|
|
by suprjami
1169 days ago
|
|
Dropwatch just tells you where packets were freed from memory by the "bad" path of `kfree_skb()`. It relies on the "good" packet free path to use `consume_skb()` which isn't always true, so you get a number of false positives with dropwatch. It's hard to spot small individual packet loss among all the noise. pwru offers src/dst IP/port filtering, so it's easier to exclude uninteresting traffic, and it tracks an skb's journey through the entire network stack, printing each function the skb touches over its lifetime. They are quite different tools, they probably have some overlap depending on situation. Also the actual dropwatch command is obsolete, it's more common and useful to use the SystemTap script, or perf, or bpftrace. |
|