/etc/sysctl.conf
net.core.rmem_default = 25696000
net.core.rmem_max = 25696000
net.core.wmem_default = 25696000
net.core.wmem_max = 25696000
net.ipv4.tcp_timestamps = 0
net.ipv4.tcp_sack =1
net.ipv4.tcp_window_scaling = 1
hotrod方式:
nohup ./bin/startServer.sh -r hotrod -l 172.20.21.1 -c ./etc/config-samples/distributed-udp.xml -p 11222 &