-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
Currently FDB has limited support for memory or cpu profiling. One of the tools that can help is Gperftools, which can provide both heap and cpu profiler at runtime. This tool is not enabled by default and it would be nice to make profiling enabled in production.
Here is a list of work items to make it happen:
- Add gperftools to makefile and cmake (PR Gperftools Profiling fix. #1393)
- Add a client driven heapz dump (PR Add manually triggered heap profiling #1414)
- Add a client driven cpuz dump
- Enable heapz dump when in high memory usage (PR Dump heap profiler when memory usage is high #1429)
- Measure profiling overhead
- Enable gperftools by default
Since Gperftools includes tcmalloc, this would solve #619.
xumengpanda, gauravagarwal and kaomakinodongxinEric
