Linux LPF performance
Benjamin.Dubb at ipc.com
Mon Oct 5 15:46:38 UTC 2009
This may have been addressed before, but I couldn't find anything...
Our embedded device terminates a good amount of traffic and we are seeing a 5% hit when dhclient is running. It looks like it's due to the LPF rule that gets installed by dhcp. I'm wondering why dhclient on Linux needs to have the PF_PACKET socket opened all the time. Why not close it after the discovery is complete and reopen with a regular socket while the interface is UP and running? Is there a reason that the low level packet interface has to stay open all the time?
If anyone has tried this before, or perhaps there is a patch to get it working, please let me know. I'm on dhcp 3.1.x.
DISCLAIMER: This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error. Unintended recipients are prohibited from taking action on the basis of information in this e-mail.E-mail messages may contain computer viruses or other defects, may not be accurately replicated on other systems, or may be intercepted, deleted or interfered with without the knowledge of the sender or the intended recipient. If you are not comfortable with the risks associated with e-mail messages, you may decide not to use e-mail to communicate with IPC. IPC reserves the right, to the extent and under circumstances permitted by applicable law, to retain, monitor and intercept e-mail messages to and from its systems.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dhcp-workers