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

udp2raw generates too much traffic, so what load will it have?(udp2raw占用过多带宽,即使没有任何负载?) #535

Closed
haohetao opened this issue Jul 13, 2024 · 3 comments

Comments

@haohetao
Copy link

English Only.
no udp2raw, network traffic
incoming 5kb/s
outgoing 20kb/s

with udp2raw,network traffic
incoming 30kb/s
outgoing 60kb/s

500MB of network traffic wasted per day。

@wangyu-
Copy link
Owner

wangyu- commented Jul 13, 2024

there are overheads introduced by:

  1. extra header
  2. heatbeat

You can turn down the length of heart-beat by --hb-len (search --hb-len in issues). If you want to reduce how often hearbeat is send, currently the only way is changing source code

no udp2raw, network traffic
incoming 5kb/s
outgoing 20kb/s
with udp2raw,network traffic
incoming 30kb/s
outgoing 60kb/s

By the way your data doesn't look very accurate. 5kb/s->30kb/s doesn't seem to make sense.

If the original traffic is so light, it should only increase a few kb/s. Unless your traffic are all very small packets.

@haohetao
Copy link
Author

haohetao commented Jul 13, 2024

I'm changed heartbeat_interval to 25000 ms,hb_len to 0,However, the traffic still occupies 1-1.5KB/s.
图片

@haohetao
Copy link
Author

I found another udp2raw client in my network( and no change source code), I have closed all other clients, only one is reserved, it is now normal.

图片

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