Wednesday, March 9, 2022

Analyzing Istio Performance

Based on the instruction from this link. One can find some performance information, the following two things one can do to help when running the tool in a server which does not have browser. 1. Specify an IP address which can be reached from outside of the machine, for example, the original command looks like this
go tool pprof -http=:8888 localhost:8080/debug/pprof/heap
One can use a specific IP address to allow access from outside of the machine which is running the tool
go tool pprof -http=192.168.56.32:8888 localhost:8080/debug/pprof/heap
2. When running in the server env. -no_browser option probably will be nice to avoid the warning messages from the process.
go tool pprof -no_browser -http=192.168.56.32:8888 localhost:8080/debug/pprof/heap

No comments:

Post a Comment