Watch Where the Linux Kernel Drops a Packet
linux.die.net
Watch Where the Linux Kernel Drops a Packet
1–10 of 21 posts
Re: Watch Where the Linux Kernel Drops a Packet
#2Re: Watch Where the Linux Kernel Drops a Packet
#3Re: Watch Where the Linux Kernel Drops a Packet
#4Re: Watch Where the Linux Kernel Drops a Packet
#5Is anyone aware of an overview showing how to approach and get started with this tool?
Re: Watch Where the Linux Kernel Drops a Packet
#6I recently read a blogpost about post-mortem in google engineering blog. They also mentioned this tool to detect dropped dns packages. Generally, when I see something new or something I never heard of before, when I see it two times at least within frequent time intervals, it almost becomes impossible to forget that for me. Brain is weird.
Re: Watch Where the Linux Kernel Drops a Packet
#7You can also achieve mostly the same effect with perf via the skb:kfree_skb tracepoint. This has less performance impact, better post-processing options, and doesn't require the dropwatch specific kernel config option (NET_DROP_MONITOR).
Re: Watch Where the Linux Kernel Drops a Packet
#8Link to the GitHub repo: https://github.com/nhorman/dropwatch
https://github.com/torvalds/linux/blob/master/net/core/drop_...
Re: Watch Where the Linux Kernel Drops a Packet
#9Would something similar be achievable using eBPF?
For example: perf record -e skb:kfree_skb