mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
Add a --gcpercent flag that overrides the Go runtime's GOGC value at startup. When not set, the existing cache-based auto-tuning is used. CPU profiling of the binary trie (EIP-7864) shows 44% of CPU time spent in garbage collection due to the large live object graph (~25K InternalNodes). Reducing GC frequency via higher GOGC significantly improves read-heavy workloads at the cost of higher memory usage. This flag lets operators tune based on their workload: - Validators (write-heavy): default or --gcpercent=100 - RPC nodes (read-heavy): --gcpercent=200 or higher |
||
|---|---|---|
| .. | ||
| abidump | ||
| abigen | ||
| blsync | ||
| clef | ||
| devp2p | ||
| era | ||
| ethkey | ||
| evm | ||
| fetchpayload | ||
| geth | ||
| keeper | ||
| rlpdump | ||
| utils | ||
| workload | ||