-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lag between original newHead timestamp and timestamp on my Base node op-erigon client. #201
Comments
Hello @Igorarg91, could you please provide us some logs of erigon and op-node while it's syncing? Also, it'd be good to know the hardware spec of the instance it's running on, specifically the CPU and Disk spec. |
op-erigon:
op-node:
|
Hello @mininny, could you tell please, do you have any info? or do you need nay additional info from me? |
@Igorarg91 Sorry for getting back late on this. Could you please provide me the details of the hardware spec of the instance? Also, this is continuously happening, right? |
Description:
We are facing increased delay up to 17 sec between receiving newHeads and the actual timestamp of each blocks on our Base protocol op-erigon client. What could be the reason and how to decrease this lag?
System information
Network
protocol: base
blockchain-network: mainnet
blockchain-client: op-erigon
blockchain-debug-trace: 'true'
blockchain-mode: archive
op-erigon-image: testinprod/op-erigon:2.60.1-0.6.3-amd64
op-node-image: ghcr.io/base-org/node:v0.9.0
Kubernetes node information
STATUS VERSION OS-IMAGE KERNEL-VERSION CONTAINER
Ready v1.27.9-eks-5e0fdde Amazon Linux 2 5.10.210-201.852.amzn2.x86_64 containerd://1.7.11
kubernetes version
Client Version: v1.27.3
Kustomize Version: v5.0.1
Server Version: v1.27.13-eks-3af4770
op-erigon container config
image: testinprod/op-erigon:2.60.1-0.6.3-amd64
command:
op-node container config
containers:
image: ghcr.io/base-org/node:v0.9.0
command:
--l1=http://erigon-ethereum-mainnet-xxx.default.svc.cluster.local:8545/
--l1.beacon=http://erigon-ethereum-mainnet-xxx.default.svc.cluster.local:5052/
Erigon version: ./erigon --version
OS & Version: Windows/Linux/OSX
Commit hash:
Erigon Command (with flags/config):
Consensus Layer:
Consensus Layer Command (with flags/config):
Chain/Network:
Expected behaviour
Lag on NewHeads between original blocks created timestamp and timestamp on our nodes is below 1 second.
Actual behaviour
Sometimes delay reaches up to 17 sec between receiving newHeads and the actual timestamp of each blocks on our Base node.
5 Worst Latencies for Base Node:
Block Number My Timestamp Original Timestamp Delta
2353 16615734 2024-07-03 12:33:52 2024-07-03 15:33:35 17.0
2355 16615735 2024-07-03 12:33:52 2024-07-03 15:33:37 15.0
2356 16615736 2024-07-03 12:33:52 2024-07-03 15:33:39 13.0
2357 16615737 2024-07-03 12:33:52 2024-07-03 15:33:41 11.0
2358 16615738 2024-07-03 12:33:52 2024-07-03 15:33:43 9.0
Steps to reproduce the behaviour
Start a websocket subscription and subscribe to new block headers. We will observe that there is delay in receiving the blocks
The text was updated successfully, but these errors were encountered: