Thread (11 messages) flat view 11 messages, 7 authors, 2009-08-19

Re: new ipdelay= option for faster netboot

From: Denys Vlasenko <hidden>
Date: 2009-08-18 04:55:34
Also in: lkml

On Tuesday 18 August 2009 03:27, David Miller wrote:
From: Tim Bird <redacted>
Date: Mon, 17 Aug 2009 18:24:26 -0700
quoted
David Miller wrote:
quoted
I have card/switch combinations that take up to 10 seconds to
negotiate a proper link.
What types of delays are these timeouts supposed to
cover?
The problem is that if you don't first give at least some time for the
link to come up, the remaining time it takes the link to come up will
end up chewing into the actual bootp/dhcp protocol timeouts.  And
that's what we're trying to avoid.
But in this case, they assign a static IP. They do not use DHCP.
So they pay this time penalty even if they wouldn't use networking
until sometime later (or never).

Since DHCP and any other networking activity like TCP connects
accomodate packet loss, things should work even without any delay
in kernel IP config code. The delay will be just shifted to the
moment when first DHCP/TCP/whatever negotiation happens.

If dropping delays altogether sounds too big a change,
then it makes sense at least to allow people to tweak it with
ipdelay=TIME_IN_MS

-- 
vda
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help