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

Excess Network Usage #34

Open
TRM13 opened this issue Mar 24, 2021 · 8 comments
Open

Excess Network Usage #34

TRM13 opened this issue Mar 24, 2021 · 8 comments

Comments

@TRM13
Copy link

TRM13 commented Mar 24, 2021

Kubuntu 20.04, core is qortal-1.4.5-b9a0d48 (minting mode) and using vnstat 2.6 measuring network usage.

I am logging 300 MB per hour (200+ GB) per month. That seems quite excessive.
Is that normal?
Do we have any baseline to go by?

Thanks (MeadMan)

@archived-2
Copy link

Hey, thanks for raising this. I imagine it's a symptom of the constant syncing / re-orgs that are going on right now, causing far more data to move between nodes than necessary. I'm currently working on a new approach to syncing which I hope will fix a lot of these issues.

Please can we revisit this in a couple of weeks when some new updates are out, and check that it has improved?

@TRM13
Copy link
Author

TRM13 commented Mar 24, 2021

Sure I'd love to. Whenever you want.
Thanks

@TRM13
Copy link
Author

TRM13 commented Mar 26, 2021

Just a quick update. I've also noticed daily transmit of 2-4 GB in one hour, twice daily for several days. The times are 08:00 and 18:00 to start. Anything in the core set to go off twice a day? I have nothing else running on this system, it is dedicated to Qortal and no system side stuff is happening at those times.

No reply required. Just putting it in here so if someone notices they don't open another ticket as I think it is related.

The huge bursts of transmit traffic seemed to have stopped. I re-sync'd yesterday and I'm still looking at 250-300 GB a month but no bursts (yet lol).

@archived-2
Copy link

Hey @TRM13, just wondering if you have any recent data on network usage since 1.5.2? Would be interesting to know if it has reduced at all, now that the re-orgs are much smaller.

@TRM13
Copy link
Author

TRM13 commented Jun 8, 2021

I've switched to ntopng as it gives a finer resolution of traffic. I'll run a 12 hour & 24 hour log and get back to you tomorrow.

@archived-2
Copy link

Thanks - much appreciated! I'm hoping it will be a lot less then the 300MB per hour we used to use...

@TRM13
Copy link
Author

TRM13 commented Jun 9, 2021

Ran ntopng to gather stats for 24 hours:
Sent: 4.4 GB
Recd: 3.2 GB
Which works out to 228 GB/Month.

I've verified with the data my ISP provides and I went from about 130 GB a month to 330 GB after I started my Qortal node. So it seems to be 200+ GB per month is about correct. This may just be inherent in the design. Low CPU but high bandwidth requirements.

@archived-2
Copy link

Thanks for checking it. You're right that high bandwidth is inherent in the design (every block has a large number of candidates, so nodes must sync several "versions" of each block before finding the best one). In the long run I do expect bandwidth to decrease from where we are now, as we continue to tighten up the sync process, but clearly we're not there yet!

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