From: Paul Slootman <paul+nospam@wurtel.net>
To: linux-kernel@vger.kernel.org
Subject: Re: Routing 600+ vlan's via linux problems (looks like arp problems)
Date: Fri, 4 May 2007 16:02:01 +0200 [thread overview]
Message-ID: <20070504140201.GA8621@msgid.wurtel.net> (raw)
Øyvind Vågen Jægtnes <lorrides@gmail.com> wrote:
>
>Yes, i was suspecting that the arp cache got full, but i will try
>increasing it :)
>Would there be any huge bugs if i change these lines in arp.c:
>
> .gc_thresh1 = 128,
> .gc_thresh2 = 512,
>
>to
>
> .gc_thresh1 = 700,
> .gc_thresh2 = 700,
>
>under the definition for struct arp_tbl?
Why not simply update the /proc/sys values?
No need to recompile the kernel.....
We have this in the /etc/sysctl.conf for our firewall:
net/ipv4/neigh/default/gc_thresh1=32768
net/ipv4/neigh/default/gc_thresh2=65536
net/ipv4/neigh/default/gc_thresh3=262144
net/ipv4/route/gc_elasticity=8
net/ipv4/route/gc_interval=30
net/ipv4/route/gc_min_interval=2
Paul Slootman
next reply other threads:[~2007-05-04 14:27 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-04 14:02 Paul Slootman [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-05-03 20:25 Routing 600+ vlan's via linux problems (looks like arp problems) Øyvind Vågen Jægtnes
2007-05-03 20:34 ` Jan Engelhardt
2007-05-03 20:53 ` Willy Tarreau
2007-05-03 20:55 ` Willy Tarreau
2007-05-03 20:55 ` Jan Engelhardt
2007-05-03 21:12 ` Øyvind Vågen Jægtnes
2007-05-03 22:23 ` Willy Tarreau
2007-05-03 22:50 ` Jan Engelhardt
2007-05-04 0:11 ` Willy Tarreau
2007-05-04 7:53 ` Jan Engelhardt
2007-05-04 20:27 ` Willy Tarreau
2007-05-04 3:48 ` Øyvind Vågen Jægtnes
2007-05-04 5:30 ` Willy Tarreau
2007-05-04 7:08 ` Miquel van Smoorenburg
2007-05-04 8:28 ` Andi Kleen
2007-05-04 8:05 ` Jan Engelhardt
2007-05-03 20:53 ` Sam Ravnborg
2007-05-03 21:38 ` Stephen Hemminger
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=20070504140201.GA8621@msgid.wurtel.net \
--to=paul+nospam@wurtel.net \
--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