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

[Feature Request] make sync faster by using the lotus daemon node in the same network which is fast or using trusted high quality node #4037

Closed
askender opened this issue Sep 26, 2020 · 2 comments
Labels
area/chain Area: Chain area/ux Area: UX

Comments

@askender
Copy link

Some Background info:
As talked in the thread: https://filecoinproject.slack.com/archives/C0179RNEMU4/p1600622389349900
many people are suffer from the lotus sync problem. We know sync is improving, such as: #3980
Move the raw issue:filecoin-project/FIPs#10 to here.

Info:
Two server running lotus daemon which use same network. One is vary fast in sync. The other one is always slow in sync.
We wish to speedup the slow one using the fast one by add reward/score to the trusted fast daemon manually.

Similar to adding penalty, maybe there will be a adding score:

INFO	pubsub	go-libp2p-pubsub@v0.3.6-0.20200910093904-f7f33e10cc18/gossipsub.go:1499	peer 16Uiu2HAmRH6MMzsPXNRWzQvFyQgV8CVe3e6hsffjNBm5FavWDhJJ 
didn’t follow up in 1 IWANT requests; adding penalty

expose the API of peer score will be better.

Fast sync will make the Filecoin network more stronger. Thanks.

@jennijuju
Copy link
Member

relevant: #3532

@jennijuju jennijuju added area/chain Area: Chain area/ux Area: UX labels Sep 26, 2020
@askender
Copy link
Author

askender commented Sep 30, 2020

move this msg to new issue: #4118
➜ ~ cat log.lotus_0825_v800_001|grep ’sent too many dont haves’|wc -l
44371483
➜ ~ cat log.lotus_0825_v800_001|wc -l
51444254
I guess I have got DDoS, hard to sync…
50 peers send 36373343 msgs in 3 days, 36373343/44371483=81.97%

another server in same network, very quick in sync:
➜ ~ cat log.lotus_0825_v800|grep ’sent too many dont haves’|wc -l
386279
➜ ~ cat log.lotus_0825_v800|wc -l
2194152

the spam msgs are like this:

2020-09-29T22:13:54.705+0800	INFO	bs:sess	session/sessionwantsender.go:458	
peer 12D3KooWMYYJjkoWdbkPCaRDgFS4mdNRcMfLvUwnVRdcgQy8RDSw 
sent too many dont haves, removing from session 18359

@askender askender changed the title [Feature request] make sync faster by using the lotus daemon node in the same network which is fast or using trusted high quality node [Feature Request] make sync faster by using the lotus daemon node in the same network which is fast or using trusted high quality node Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/chain Area: Chain area/ux Area: UX
Projects
None yet
Development

No branches or pull requests

2 participants