by londons_explore · 5y ago · 0 comments
For example, having dhclient (a very popular dhcp client) leave open an AF_PACKET socket causing a 3% slowdown in incoming packet processing for all network packets seems... suboptimal!
Surely it can be patched to not cause a systemwide 3% slowdown (or at least to only do it very briefly while actively refreshing the DHCP lease)?
Some of these things really only show up when you push things to their extremes, so it probably just wasn't on the developer's radar before.
This has piqued my interest.
i wonder if the slow path here could be avoided by using separate network namespaces in a way these sockets don't even get to see the packets...
Looks like LLDP can be switched off in the network config.