lighthouse/validator_client/src
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
..
duties_service Gracefully handle missing sync committee duties (#3086) 2022-03-14 06:16:49 +00:00
http_api Add client authentication to Web3Signer validators (#3170) 2022-05-18 23:14:37 +00:00
http_metrics Enable malloc metrics for the VC (#3279) 2022-06-20 23:20:30 +00:00
signing_method Kiln mev boost (#3062) 2022-03-31 07:52:23 +00:00
attestation_service.rs Web3Signer support for VC (#2522) 2021-09-16 03:26:33 +00:00
beacon_node_fallback.rs Avoid hogging the fallback status lock in the VC (#3022) 2022-02-22 03:09:00 +00:00
block_service.rs Avoid unnecessary slashing protection when publishing blocks (#3188) 2022-05-18 06:50:51 +00:00
check_synced.rs Remove duplicate log in BN fallback (#2116) 2021-01-06 03:01:48 +00:00
cli.rs Kiln mev boost (#3062) 2022-03-31 07:52:23 +00:00
config.rs Enable malloc metrics for the VC (#3279) 2022-06-20 23:20:30 +00:00
doppelganger_service.rs Fix log output for INFO Found no doppelganger (#2551) 2021-08-29 23:29:47 +00:00
duties_service.rs [refactor] Refactor Option/Result combinators (#3180) 2022-05-16 01:59:47 +00:00
fee_recipient_file.rs Allow per validator fee recipient via flag or file in validator client (similar to graffiti / graffiti-file) (#2924) 2022-02-08 19:52:20 +00:00
graffiti_file.rs Rust 1.54.0 lints (#2483) 2021-07-30 01:11:47 +00:00
initialized_validators.rs Add client authentication to Web3Signer validators (#3170) 2022-05-18 23:14:37 +00:00
key_cache.rs Replace OpenOptions::new with File::options to be readable (#3059) 2022-03-07 06:30:18 +00:00
lib.rs Add new VC metrics for beacon node availability (#3193) 2022-05-26 02:05:16 +00:00
notifier.rs Add new VC metrics for beacon node availability (#3193) 2022-05-26 02:05:16 +00:00
preparation_service.rs Fix Rust 1.61 clippy lints (#3192) 2022-05-20 05:02:13 +00:00
signing_method.rs Kiln mev boost (#3062) 2022-03-31 07:52:23 +00:00
sync_committee_service.rs Gracefully handle missing sync committee duties (#3086) 2022-03-14 06:16:49 +00:00
validator_store.rs Fix Rust 1.61 clippy lints (#3192) 2022-05-20 05:02:13 +00:00