Created
July 1, 2020 12:20
-
-
Save leeuwte/413c0e8e72dc32e4df7f8c2a68a2c11c to your computer and use it in GitHub Desktop.
/etc/sysctl.conf for homeassistant
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bigger buffers (to make 40Gb more practical). These are maximums, but the default is unaffected. | |
net.core.wmem_max=268435456 | |
net.core.rmem_max=268435456 | |
net.core.netdev_max_backlog=10000 | |
# Avoids problems with multicast traffic arriving on non-default interfaces | |
net.ipv4.conf.default.rp_filter=0 | |
net.ipv4.conf.all.rp_filter=0 | |
# Force IGMP v2 (required by CBF switch) | |
net.ipv4.conf.all.force_igmp_version=2 | |
net.ipv4.conf.default.force_igmp_version=2 | |
# Increase the ARP cache table | |
net.ipv4.neigh.default.gc_thresh3=4096 | |
net.ipv4.neigh.default.gc_thresh2=2048 | |
net.ipv4.neigh.default.gc_thresh1=1024 | |
# Increase number of multicast groups permitted | |
net.ipv4.igmp_max_memberships=1024 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Must be set on host system.
sudo sysctl -p