From: Ani Sinha <hidden> Date: 2015-01-06 23:36:28
Update documentation to reflect the fact that
/proc/sys/net/ipv4/route/max_size is no longer used for ipv4.
Signed-off-by: Ani Sinha <redacted>
---
Documentation/networking/ip-sysctl.txt | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
@@ -64,8 +64,10 @@ fwmark_reflect - BOOLEAN Default: 0 route/max_size - INTEGER- Maximum number of routes allowed in the kernel. Increase- this when using large numbers of interfaces and/or routes.+ Post linux kernel 3.6, this is deprecated for ipv4 as route cache is no+ longer used. For ipv6, this is used to limit the maximum number of ipv6+ routes allowed in the kernel. Increase this when using large numbers of+ interfaces and/or routes. neigh/default/gc_thresh1 - INTEGER Minimum number of entries to keep. Garbage collector will not
From: David Laight <hidden> Date: 2015-01-07 10:12:42
From: Ani Sinha
quoted hunk
Update documentation to reflect the fact that
/proc/sys/net/ipv4/route/max_size is no longer used for ipv4.
Signed-off-by: Ani Sinha <redacted>
---
Documentation/networking/ip-sysctl.txt | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
@@ -64,8 +64,10 @@ fwmark_reflect - BOOLEAN Default: 0 route/max_size - INTEGER- Maximum number of routes allowed in the kernel. Increase- this when using large numbers of interfaces and/or routes.+ Post linux kernel 3.6, this is deprecated for ipv4 as route cache is no+ longer used. For ipv6, this is used to limit the maximum number of ipv6+ routes allowed in the kernel. Increase this when using large numbers of+ interfaces and/or routes.
Now imagine you are reading ip-sysctl.txt, the new text is all wrong.
Something like:
Limit on the size of the ip route caches.
Ignored for ipv4 after kernel 3.6 because the ipv4 route cache was removed.
Increase this when using large numbers of interfaces and/or routes.
would read better.
David
From: Ani Sinha <hidden> Date: 2015-01-07 23:47:21
On Wed, Jan 7, 2015 at 2:11 AM, David Laight [off-list ref] wrote:
From: Ani Sinha
quoted
Update documentation to reflect the fact that
/proc/sys/net/ipv4/route/max_size is no longer used for ipv4.
Signed-off-by: Ani Sinha <redacted>
---
Documentation/networking/ip-sysctl.txt | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
@@ -64,8 +64,10 @@ fwmark_reflect - BOOLEAN Default: 0 route/max_size - INTEGER- Maximum number of routes allowed in the kernel. Increase- this when using large numbers of interfaces and/or routes.+ Post linux kernel 3.6, this is deprecated for ipv4 as route cache is no+ longer used. For ipv6, this is used to limit the maximum number of ipv6+ routes allowed in the kernel. Increase this when using large numbers of+ interfaces and/or routes.
Now imagine you are reading ip-sysctl.txt, the new text is all wrong.
Something like:
Limit on the size of the ip route caches.
Ignored for ipv4 after kernel 3.6 because the ipv4 route cache was removed.
Increase this when using large numbers of interfaces and/or routes.
would read better.