Revision 8d8ac76e

View differences:

sysctl_addon
1
# Mininet: Increase open file limit
2
fs.file-max = 100000
3

  
4
# Mininet: increase network buffer space
5
net.core.wmem_max = 16777216
6
net.core.rmem_max = 16777216
7
net.ipv4.tcp_rmem = 10240 87380 16777216
8
net.ipv4.tcp_rmem = 10240 87380 16777216
9
net.core.netdev_max_backlog = 5000
10

  
11
# Mininet: increase arp cache size
12
net.ipv4.neigh.default.gc_thresh1 = 4096 
13
net.ipv4.neigh.default.gc_thresh2 = 8192 
14
net.ipv4.neigh.default.gc_thresh3 = 16384
15

  
16
# Mininet: increase routing table size
17
net.ipv4.route.max_size=32768
util/sysctl_addon
1
# Mininet: Increase open file limit
2
fs.file-max = 100000
3

  
4
# Mininet: increase network buffer space
5
net.core.wmem_max = 16777216
6
net.core.rmem_max = 16777216
7
net.ipv4.tcp_rmem = 10240 87380 16777216
8
net.ipv4.tcp_rmem = 10240 87380 16777216
9
net.core.netdev_max_backlog = 5000
10

  
11
# Mininet: increase arp cache size
12
net.ipv4.neigh.default.gc_thresh1 = 4096 
13
net.ipv4.neigh.default.gc_thresh2 = 8192 
14
net.ipv4.neigh.default.gc_thresh3 = 16384
15

  
16
# Mininet: increase routing table size
17
net.ipv4.route.max_size=32768

Also available in: Unified diff