From: Tom Ammon <tom.ammon@utah.edu>
To: linux-kernel@vger.kernel.org
Subject: how to tweak ARP timer on kernel 2.6.9
Date: Tue, 09 Mar 2010 12:32:26 -0700 [thread overview]
Message-ID: <4B96A24A.6060405@utah.edu> (raw)
Hi,
I've been trying to figure out how to adjust the ARP timeout on kernel
2.6.9 and I found the following in /proc/sys/net/ipv4/neigh/ib0 (its an
IB interface I am interested in changing) with the following values.
This is on kernel 2.6.9-89ELsmp (RHEL4) :
[root@up255 ib0]# cat anycast_delay
99
[root@up255 ib0]# cat app_solicit
0
[root@up255 ib0]# cat base_reachable_time
30
[root@up255 ib0]# cat delay_first_probe_time
5
[root@up255 ib0]# cat gc_stale_time
60
[root@up255 ib0]# cat locktime
99
[root@up255 ib0]# cat mcast_solicit
3
[root@up255 ib0]# cat proxy_delay
79
[root@up255 ib0]# cat proxy_qlen
64
[root@up255 ib0]# cat retrans_time
99
[root@up255 ib0]# cat ucast_solicit
3
[root@up255 ib0]# cat unres_qlen
3
When I test this, along with per-flow ECMP (using the iproute2 utils), I
see that the ARP cache is timing out about every 10 minutes (I observe
this by load balancing an iperf flow between two different gateway
machines and then graphing the interface traffic)
On a newer kernel, 2.6.18-164.11.1.el5 (RHEL5), I see mostly the same
parms available, but a few new ones have been added. However, all of the
parms that are the same name between the two kernels are the same values:
[root@gateway2 ib0]# cat anycast_delay
99
[root@gateway2 ib0]# cat app_solicit
0
[root@gateway2 ib0]# cat base_reachable_time
30
[root@gateway2 ib0]# cat base_reachable_time_ms
30000
[root@gateway2 ib0]# cat delay_first_probe_time
5
[root@gateway2 ib0]# cat gc_stale_time
60
[root@gateway2 ib0]# cat locktime
99
[root@gateway2 ib0]# cat mcast_solicit
3
[root@gateway2 ib0]# cat proxy_delay
79
[root@gateway2 ib0]# cat proxy_qlen
64
[root@gateway2 ib0]# cat retrans_time
99
[root@gateway2 ib0]# cat retrans_time_ms
1000
[root@gateway2 ib0]# cat ucast_solicit
3
[root@gateway2 ib0]# cat unres_qlen
3
Yet when I observe the same traffic flow with this machine, the ARP
cache times out about once per minute.
Is there another set of parameters somewhere that govern how often the
kernel times out the ARP cache? If so, where might I find that? Is there
any kernel documentation that talks about changing ARP timers on the
linux kernel?
Tom Ammon
--
--------------------------------------------------------------------
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273
Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu
next reply other threads:[~2010-03-09 19:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-09 19:32 Tom Ammon [this message]
2010-03-09 22:10 ` Eric Dumazet
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=4B96A24A.6060405@utah.edu \
--to=tom.ammon@utah.edu \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®