Browse Source

Increase neighbour cache garbage collector limit

Michael Schwarz 3 years ago
parent
commit
945eac492c
1 changed files with 6 additions and 6 deletions
  1. 6 6
      sysctl/global.conf

+ 6 - 6
sysctl/global.conf

@@ -33,13 +33,13 @@ net.ipv4.tcp_l3mdev_accept = 1
 
 #
 # Increase ARP garbage collector thresholds
-net.ipv4.neigh.default.gc_thresh1 = 1024
-net.ipv4.neigh.default.gc_thresh2 = 2048
-net.ipv4.neigh.default.gc_thresh3 = 4096
+net.ipv4.neigh.default.gc_thresh1 = 4096
+net.ipv4.neigh.default.gc_thresh2 = 8192
+net.ipv4.neigh.default.gc_thresh3 = 16384
 
-net.ipv6.neigh.default.gc_thresh1 = 1024
-net.ipv6.neigh.default.gc_thresh2 = 2048
-net.ipv6.neigh.default.gc_thresh3 = 4096
+net.ipv6.neigh.default.gc_thresh1 = 4096
+net.ipv6.neigh.default.gc_thresh2 = 8192
+net.ipv6.neigh.default.gc_thresh3 = 16384
 
 
 #