|To:||Martijn van Oosterhout <kleptog@xxxxxxxxx>|
|Subject:||Re: Very slow change of IP in kernel (slow socket?).|
|From:||Andrea G Forte <andreaf@xxxxxxxxxxxxxxx>|
|Date:||Wed, 22 Dec 2004 12:37:14 -0500|
|User-agent:||Mozilla Thunderbird 0.9 (Windows/20041103)|
Yes, I apologize for the confusion.|
I am trying to achieve a faster L3 handoff on a wireless network. Right now it seems like one of the biggest bottlenecks is in the kernel.
After I change IP address of the client (ip address add xxx.xxx.xxx.xxx/yy dev wlan0) and update all the routing info (ip route replace default via zzz.zzz.zzz.zzz, ip route replace kkk.kkk.0.0/yy dev wlan0 proto kernel src xxx.xxx.xxx.xxx), the old IP is still used to send packets as I mentioned earlier.
Note that I did not delete the old IP, I just set a new IP and changed the routing info. The old IP however it is invalid in the new subnet, but the kernel does not seem to realize it at all, at least for about 500ms (even though I have changed all the routing info with the new IP).
Yes, perhaps it could be a problem related to the routing table being slow to update.
I will do some more testing and let you know.
Thank you, Andrea
Martijn van Oosterhout wrote:
Seems long, but have you condered other possible delays, like ARP, routing daemons, etc. BTW, I don't quite understand what you mean by changing IPs, because "ip route add" adds routes, not IPs. Presumably you're using an unbound UDP socket. You need to be a bit clearer about what you're actually trying to do...
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Re: Lockup with 2.6.9-ac15 related to netconsole, Matt Mackall|
|Next by Date:||Re: LLTX and netif_stop_queue, Eric Lemoine|
|Previous by Thread:||Re: Very slow change of IP in kernel (slow socket?)., Martijn van Oosterhout|
|Next by Thread:||device driver problem, cranium2003|
|Indexes:||[Date] [Thread] [Top] [All Lists]|