Skip to content

Support for profiling for binaries (fdbserver, fdbbackup). #1411

@jzhou77

Description

@jzhou77

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:

Since Gperftools includes tcmalloc, this would solve #619.

PS. A sample heap profile:
Screen Shot 2019-04-03 at 11 15 31 AM

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions