Skip to content
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

v1.9.0-rc.0: long incoming req/resp handler in network thread #5556

Closed
twoeths opened this issue May 26, 2023 · 3 comments
Closed

v1.9.0-rc.0: long incoming req/resp handler in network thread #5556

twoeths opened this issue May 26, 2023 · 3 comments
Milestone

Comments

@twoeths
Copy link
Contributor

twoeths commented May 26, 2023

Describe the bug

Long incoming request handler for beacon_blocks_by_root, ping and status

Screenshot 2023-05-26 at 19 38 10

Expected behavior

same incoming request handler like in stable

Steps to reproduce

No response

Additional context

No response

Operating system

Linux

Lodestar version or commit hash

v1.9.0-rc.0

@philknows philknows added this to the v1.9.0 milestone May 29, 2023
@twoeths
Copy link
Contributor Author

twoeths commented May 30, 2023

I added below log to this line

logger.debug("Req  received before decoding request", logCtx);

it logged a delay in requestDecode() function or I/O lag

it took 1s to receive and decode a ping request

May-30 09:39:14.734[network]         debug: Req  received before decoding request method=ping, client=Lighthouse, peer=16...8DShj2, requestId=5273
May-30 09:39:15.670[network]         debug: Req  received method=ping, client=Lighthouse, peer=16...8DShj2, requestId=5273

it took 3s to receive and decode a beacon_blocks_by_range request

May-30 09:44:39.768[network]         debug: Req  received before decoding request method=beacon_blocks_by_range, client=Lighthouse, peer=16...kY2mne, requestId=7098
May-30 09:44:43.069[network]         debug: Req  received method=beacon_blocks_by_range, client=Lighthouse, peer=16...kY2mne, requestId=7098

@twoeths
Copy link
Contributor Author

twoeths commented Jun 1, 2023

@dapplion found I/O on the network thread to be super lag

Screenshot 2023-06-02 at 05 16 32

@philknows philknows modified the milestones: v1.9.0, v1.10.0 Jun 23, 2023
@philknows philknows modified the milestones: v1.10.0, v1.11.0 Jul 18, 2023
@twoeths twoeths changed the title v1.9.0-rc.0: long incoming req/resp handler v1.9.0-rc.0: long incoming req/resp handler in network thread Aug 16, 2023
@twoeths
Copy link
Contributor Author

twoeths commented Aug 20, 2023

issue was resolved, this is on a mainnet node with useWorker = true

Screenshot 2023-08-20 at 13 15 34

it's even better than unstable mainnet node where useWorker=false

Screenshot 2023-08-20 at 13 16 06

@twoeths twoeths closed this as completed Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants