Revision f52edfc5 INSTALL

View differences:

INSTALL
59 59
  upon, and an example provided, in the future.)
60 60
  
61 61
- For scalable configurations, you might need to increase some of your
62
  kernel limits. For example, you could add something like the following
63
  to /etc/sysctl.conf (modified as necessary for your desired 
62
  kernel limits. Sample params are in sysctl_addon, which can be appended to
63
  /etc/sysctl.conf (and modified as necessary for your desired
64 64
  configuration):
65 65

  
66
    # Mininet: Increase open file limit
67
    fs.file-max = 100000
68

  
69
    # Mininet: increase network buffer space
70
    net.core.wmem_max = 16777216
71
    net.core.rmem_max = 16777216
72
    net.ipv4.tcp_rmem = 10240 87380 16777216
73
    net.ipv4.tcp_rmem = 10240 87380 16777216
74
    net.core.netdev_max_backlog = 5000
75

  
76
    # Mininet: increase arp cache size
77
    net.ipv4.neigh.default.gc_thresh1 = 4096 
78
    net.ipv4.neigh.default.gc_thresh2 = 8192 
79
    net.ipv4.neigh.default.gc_thresh3 = 16384
80

  
81
    # Mininet: increase routing table size
82
    net.ipv4.route.max_size=32768
66
    sudo su -c "cat sysctl_addon >> /etc/sysctl.conf"
83 67

  
84 68
  To save the config change, run:
85 69

  
86
    sysctl -p
70
    sudo sysctl -p
87 71

  
88 72
---
89 73

  

Also available in: Unified diff