https://blog.csdn.net/oujiangping/article/details/78580450
https://blog.csdn.net/gatieme/article/details/78885908
ps aux|grep mysql-proxy
第二个就是3318的进程号
perf record -p 1674 -F 999 -a -g -- sleep 20 perf script > out.perf ./stackcollapse-perf.pl out.perf > out.folded ./flamegraph.pl out.folded > test.svg
sysbench --test=/usr/share/sysbench/tests/include/oltp_legacy/oltp.lua --mysql-host=10.17.90.37 --mysql-port=3318 --mysql-user=test --mysql-password=123456 --mysql-db=test --oltp-table-size=10000000 --oltp-tables-count=64 --threads=1000 --oltp-read-only=on --report-interval=10 --rand-type=uniform --max-requests=0 --percentile=99 --oltp-skip-trx=on --time=120 --db-driver=mysql run