HAProxy Tuning
约 1 分钟阅读
标签:调优
haproxy -vv
echo "show info" | socat stdio /run/haproxy-runtime-api.sock- maxconn
- CPU Pinning
- nbproc
- nbthread
- cpu-map
net.ipv4.tcp_rmem = 4096 16060 262144
net.ipv4.tcp_wmem = 4096 16384 262144
net.ipv4.tcp_tw_reuse = 1
net.ipv4.ip_local_port_range = 1024 65023
net.ipv4.tcp_max_syn_backlog = 60000
#net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_synack_retries = 3
net.core.somaxconn = 60000# CPU Pinning
nbproc 2
cpu-map 1 0
cpu-map 2 1关联信息
反向链接、本文链接的其他页面和外部资料。
References
其他外链2 条
- www.haproxy.com/blog/multithreading-in-haproxywww.haproxy.com/blog/multithreading-in-haproxy
- www.haproxy.com/documentation/hapee/latest/getting-started/system-tuningwww.haproxy.com/documentation/hapee/latest/getting-started/system-tuning