以下是Linux平台上Golang的性能调优方法:
-gcflags="-m -l"
-ldflags="-s -w"
GOMAXPROCS
sync.Pool
sync.RWMutex
runtime.ReadMemStats
pprof
go tool trace
ulimit -n
tcp_tw_reuse