3 ms·
Lots of things about TCP&Co are stale, and don't work well in a modern network. That paper covers connection establishment. Other issues include network addre
by JoeAltmaier 15y ago
Lots of things about TCP&Co are stale, and don't work well in a modern network. That paper covers connection establishment. Other issues include network address establishment, device discovery and LAN broadcast.
In my last job creating mobile wireless drivers, we had a problem with wireless roaming. TCP/DHCP are set up assuming IP address establishment is a very infrequent operation. Typically it could take several seconds, which is fine if it only happens at boot or when a human trips over a cable and plugs it back in.
But wireless devices 'plug back in' each time they roam to a new AP. In an industrial environment (warehouse, 60 APs installed over several acres, forklift driving 20MPH) you may need to roam every second or so.
Its time to examine every aspect of TCP for large (huge) installations, very frequent device discovery (power-save in handheld devices), rapidly changing network topologies and so on.
- IgorPartola 15y agoApparently Mac OS has a somewhat non-standard way to join networks with DHCP address assignment very fast. Otherwise, I agree.
- sc68cal 15y agoHN discussion of OS X dhcp fast resolution: http://news.ycombinator.com/item?id=2755461 http://news.ycombinator.com/item?id=2755461 While it works, and works fast, many people raised concerns about the implications. A broad summary of the trade-offs are here: http://news.ycombinator.com/item?id=2758576 http://news.ycombinator.com/item?id=2758576
- wmf 15y agoIt appears that Windows 8 has copied those optimizations as well. http://blogs.msdn.com/b/b8/archive/2012/01/20/engineering-windows-8-for-mobility.aspx http://blogs.msdn.com/b/b8/archive/2012/01/20/engineering-wi...
- modeless 15y agoI don't understand why LAN DHCP address assignment is so slow. RTT to the DHCP server is almost always in the single-digit millisecond range, so why does DHCP often take multiple seconds? Can someone explain this?
- w1nk 15y agoIt doesn't have to be slow. It can be (especially in larger networks) due to spanning tree on the switches. Check out: http://serverfault.com/questions/102346/dhcp-server-slow-to-give-out-ips http://serverfault.com/questions/102346/dhcp-server-slow-to-...
- JoeAltmaier 15y agoBecause the RFC calls for collecting DHCP responses over several seconds, then choosing the 'best' response. If you select the 'best' as the fastest, then you can simply take the 1st response and run with it. Then it takes only milliseconds as you observed. That's what we did.