跳转至

wrk


Bash
1
2
3
ulimit -n 1000000
sysctl -w net.ipv4.ip_local_port_range="1024 65535"
sysctl -w net.ipv4.tcp_tw_reuse=1
Bash
1
wrk -t2 -c100 -d30s -R2000 --latency http://127.0.0.1:80/index.html