summaryrefslogtreecommitdiff
path: root/src/gudev
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-03-18 14:13:01 +0100
committerTom Gundersen <teg@jklm.no>2014-03-18 15:53:32 +0100
commitd23c45bfccb3ed6e2628e6d12b4ea12b8c920ab9 (patch)
treece075ef19d5d01bc63a543994d3c253799942320 /src/gudev
parent4dd5da7f7d37f964fe95b0f0d451d7843a34591d (diff)
sd-dhcp-client: make sure timers fire immediately
The default slack caused there to be a delay before timers fired. Solve it by setting timers that should trigger immediately to trigger far in the past. This brings down the ideal-case dhcp lease acquisition time from about 500ms to about 50ms (over a veth pair, so no network latency involved). All the rest of the time (except for ~0.5ms) is spent in the bind() call in, dhcp_network_bind_raw_socket(). I don't know if there is anything to be done about that though...
Diffstat (limited to 'src/gudev')
0 files changed, 0 insertions, 0 deletions