lighthouse-pulse/lighthouse
Michael Sproul 8faaa35b58 Enable malloc metrics for the VC (#3279)
## Issue Addressed

Following up from https://github.com/sigp/lighthouse/pull/3223#issuecomment-1158718102, it has been observed that the validator client uses vastly more memory in some compilation configurations than others. Compiling with Cross and then putting the binary into an Ubuntu 22.04 image seems to use 3x more memory than compiling with Cargo directly on Debian bullseye.

## Proposed Changes

Enable malloc metrics for the validator client. This will hopefully allow us to see the difference between the two compilation configs and compare heap fragmentation. This PR doesn't enable malloc tuning for the VC because it was found to perform significantly worse. The `--disable-malloc-tuning` flag is repurposed to just disable the metrics.
2022-06-20 23:20:30 +00:00
..
environment Decrease proposer boost to 40% (#3201) 2022-05-23 03:52:31 +00:00
src Add lighthouse db command (#3129) 2022-04-01 00:58:59 +00:00
tests Enable malloc metrics for the VC (#3279) 2022-06-20 23:20:30 +00:00
Cargo.toml v2.3.1 (#3262) 2022-06-14 05:25:38 +00:00