summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-03-31 23:28:58 +0200
committerTom Gundersen <teg@jklm.no>2014-04-01 00:32:51 +0200
commit66a67effcc5beaf8a61e1c1147c3114b02a96439 (patch)
treef2adf5d8fdf729bfa22483d6bd95f796eb344e88 /autogen.sh
parent208612034e16c6af0406fa0572da975bf8747d2e (diff)
sd-dhcp-client: --omg-optimized
Passing the protocol to socket() is redundant as it will be specified again in bind(). Dropping the redundancy reduces the cost of bind() from ~30ms to ~0ms. For details see [0]. networkd in a container (i.e., with next to no network latency) can now negotiate a DHCP lease in 0.7 - 5 ms. Thanks to Kay for help with debugging and to Daniel Borkmann for the pointer to fix the problem. [0]: <https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=902fefb82ef72a50c78cb4a20cc954b037a98d1c>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions