update
This commit is contained in:
@@ -4,6 +4,19 @@ x-logging-defaults: &logging-defaults
|
|||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "10m"
|
||||||
max-file: "3"
|
max-file: "3"
|
||||||
|
# This node is built from source with architecture-specific optimizations
|
||||||
|
# Build command: docker compose build --build-arg ARCH_TARGET=${ARCH_TARGET:-native} bsc-mainnet-reth
|
||||||
|
#
|
||||||
|
# IMPORTANT: Cache optimization considerations
|
||||||
|
|
||||||
|
# If running multiple nodes on the same machine, be aware that:
|
||||||
|
# - L3 cache is shared across all cores, causing cache contention
|
||||||
|
# - Multiple nodes compete for cache space, reducing optimization effectiveness
|
||||||
|
|
||||||
|
# - Consider CPU pinning to minimize cache conflicts:
|
||||||
|
# docker run --cpuset-cpus="0-7" bsc-mainnet-reth # Pin to specific cores
|
||||||
|
# - For AMD X3D CPUs, CCD0 (cores 0-7) has the 3D V-Cache
|
||||||
|
# - For multi-node setups, generic builds may perform better than cache-optimized ones
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +43,17 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
bsc-mainnet-reth:
|
bsc-mainnet-reth:
|
||||||
image: ${BSC_RETH_IMAGE:-ghcr.io/bnb-chain/reth}:${BSC_MAINNET_RETH_VERSION:-nightly}
|
build:
|
||||||
|
context: ./
|
||||||
|
dockerfile: reth.Dockerfile
|
||||||
|
args:
|
||||||
|
LLVM_IMAGE: ${LLVM_IMAGE:-snowstep/llvm}
|
||||||
|
LLVM_VERSION: ${LLVM_VERSION:-20250912105042}
|
||||||
|
RETH_VERSION: ${BSC_MAINNET_RETH_VERSION:-1.6.0}
|
||||||
|
RETH_REPO: ${BSC_MAINNET_RETH_REPO:-https://github.com/loocapro/reth-bsc.git}
|
||||||
|
ARCH_TARGET: ${ARCH_TARGET:-native}
|
||||||
|
PROFILE: ${RETH_BUILD_PROFILE:-maxperf}
|
||||||
|
BUILD_OP_RETH: false
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
|
|||||||
@@ -4,6 +4,19 @@ x-logging-defaults: &logging-defaults
|
|||||||
options:
|
options:
|
||||||
max-size: "10m"
|
max-size: "10m"
|
||||||
max-file: "3"
|
max-file: "3"
|
||||||
|
# This node is built from source with architecture-specific optimizations
|
||||||
|
# Build command: docker compose build --build-arg ARCH_TARGET=${ARCH_TARGET:-native} bsc-mainnet-reth-pruned
|
||||||
|
#
|
||||||
|
# IMPORTANT: Cache optimization considerations
|
||||||
|
|
||||||
|
# If running multiple nodes on the same machine, be aware that:
|
||||||
|
# - L3 cache is shared across all cores, causing cache contention
|
||||||
|
# - Multiple nodes compete for cache space, reducing optimization effectiveness
|
||||||
|
|
||||||
|
# - Consider CPU pinning to minimize cache conflicts:
|
||||||
|
# docker run --cpuset-cpus="0-7" bsc-mainnet-reth-pruned # Pin to specific cores
|
||||||
|
# - For AMD X3D CPUs, CCD0 (cores 0-7) has the 3D V-Cache
|
||||||
|
# - For multi-node setups, generic builds may perform better than cache-optimized ones
|
||||||
|
|
||||||
# Usage:
|
# Usage:
|
||||||
#
|
#
|
||||||
@@ -30,7 +43,17 @@ x-logging-defaults: &logging-defaults
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
bsc-mainnet-reth-pruned:
|
bsc-mainnet-reth-pruned:
|
||||||
image: ${BSC_RETH_IMAGE:-ghcr.io/bnb-chain/reth}:${BSC_MAINNET_RETH_VERSION:-nightly}
|
build:
|
||||||
|
context: ./
|
||||||
|
dockerfile: reth.Dockerfile
|
||||||
|
args:
|
||||||
|
LLVM_IMAGE: ${LLVM_IMAGE:-snowstep/llvm}
|
||||||
|
LLVM_VERSION: ${LLVM_VERSION:-20250912105042}
|
||||||
|
RETH_VERSION: ${BSC_MAINNET_RETH_VERSION:-1.6.0}
|
||||||
|
RETH_REPO: ${BSC_MAINNET_RETH_REPO:-https://github.com/loocapro/reth-bsc.git}
|
||||||
|
ARCH_TARGET: ${ARCH_TARGET:-native}
|
||||||
|
PROFILE: ${RETH_BUILD_PROFILE:-maxperf}
|
||||||
|
BUILD_OP_RETH: false
|
||||||
sysctls:
|
sysctls:
|
||||||
# TCP Performance
|
# TCP Performance
|
||||||
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
net.ipv4.tcp_slow_start_after_idle: 0 # Disable slow start after idle
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ services:
|
|||||||
dockerfile: reth.Dockerfile
|
dockerfile: reth.Dockerfile
|
||||||
args:
|
args:
|
||||||
LLVM_IMAGE: ${LLVM_IMAGE:-snowstep/llvm}
|
LLVM_IMAGE: ${LLVM_IMAGE:-snowstep/llvm}
|
||||||
LLVM_VERSION: ${LLVM_VERSION:-20250514100911}
|
LLVM_VERSION: ${LLVM_VERSION:-20250912105042}
|
||||||
RETH_VERSION: ${ETHEREUM_MAINNET_RETH_VERSION:-v1.7.0}
|
RETH_VERSION: ${ETHEREUM_MAINNET_RETH_VERSION:-v1.7.0}
|
||||||
RETH_REPO: ${ETHEREUM_MAINNET_RETH_REPO:-https://github.com/paradigmxyz/reth}
|
RETH_REPO: ${ETHEREUM_MAINNET_RETH_REPO:-https://github.com/paradigmxyz/reth}
|
||||||
ARCH_TARGET: ${ARCH_TARGET:-native}
|
ARCH_TARGET: ${ARCH_TARGET:-native}
|
||||||
|
|||||||
Reference in New Issue
Block a user