echo "net.core.wmem_max=12582912" >> /etc/sysctl.conf
echo "net.core.rmem_max=12582912" >> /etc/sysctl.conf
echo "net.ipv4.tcp_rmem= 10240 87380 12582912" >> /etc/sysctl.conf
echo "net.ipv4.tcp_wmem= 10240 87380 12582912" >> /etc/sysctl.conf
echo "net.core.netdev_max_backlog=250000" >> /etc/sysctl.conf
echo "net.core.somaxconn=4096" >> /etc/sysctl.conf
sysctl -p
echo "net.core.rmem_max=12582912" >> /etc/sysctl.conf
echo "net.ipv4.tcp_rmem= 10240 87380 12582912" >> /etc/sysctl.conf
echo "net.ipv4.tcp_wmem= 10240 87380 12582912" >> /etc/sysctl.conf
echo "net.core.netdev_max_backlog=250000" >> /etc/sysctl.conf
echo "net.core.somaxconn=4096" >> /etc/sysctl.conf
sysctl -p