From: Andrea G Forte <andreaf@cs.columbia.edu>
To: netdev@oss.sgi.com, linux-net@vger.kernel.org
Subject: Very slow change of IP in kernel (slow socket?).
Date: Tue, 21 Dec 2004 16:29:58 -0500 [thread overview]
Message-ID: <41C895D6.2040001@cs.columbia.edu> (raw)
Hi all,
after some talking I decided to try again and post a specific thread for
this problem.
I noticed that when I change IP address for the same wireless card
(since I am moving to a different subnet I need a new IP), the actual
change in the kernel happens between 300 to 500 ms later. In particular,
after changing the IP (ip route add...) and updating route table and
default gw, the actual data packets are sent using the new IP only after
300 to 500 ms after setting all the above.
Does anyone of you know what this could be related to? Or, does anyone
of you know where in the kernel code I could start looking for some answers?
I have already had some feedback with suggestions to look into the
route_cache, however this does not seem to me as a route problem but
more as a socket problem and perhaps some kind of timer that is set to
refresh the socket info in the kernel.
Any help would be really appreciated.
Thanks all,
Andrea
next reply other threads:[~2004-12-21 21:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-21 21:29 Andrea G Forte [this message]
2004-12-22 8:27 ` Very slow change of IP in kernel (slow socket?) bert hubert
2004-12-22 16:26 ` Martijn van Oosterhout
2004-12-22 17:37 ` Andrea G Forte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41C895D6.2040001@cs.columbia.edu \
--to=andreaf@cs.columbia.edu \
--cc=linux-net@vger.kernel.org \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).