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

Bandwidth testing tools #68

Closed
rezapoorzare1 opened this issue Nov 23, 2023 · 5 comments
Closed

Bandwidth testing tools #68

rezapoorzare1 opened this issue Nov 23, 2023 · 5 comments

Comments

@rezapoorzare1
Copy link

Hello,

I have a question:
It seems that iperf3 is not working with mirosocks 5, do we need to change anything to make them compatible?
Which bandwidth testing tools work with microsocks 5?

Thanks

@rofl0r
Copy link
Owner

rofl0r commented Nov 27, 2023

It seems that iperf3 is not working with mirosocks

why does it seem that way ? i'm not familiar with iperf3, but if it is a generic tool, it should work.

@rezapoorzare1
Copy link
Author

Thanks a lot for the response.
Maybe it is because of mirosocks limitations, what is the maximum data rate that it can support? We are testing it at a very high data rate.

Thanks.

@rofl0r
Copy link
Owner

rofl0r commented Dec 2, 2023

there's no built-in limit so it should be able to work with maximum possible speed.
the only thing i can think of that might be a bottle-neck is the size of the read buffer in the loop forwarding data back and forth. in another project, pyhttpd, i noticed that the perfect size is 64kb which keeps syscall overhead at a minimum.

anyway, if you tell me in detail why "it seems" that iperf doesnt work, i may be able to provide some clues.

@rampageX
Copy link

rampageX commented Dec 3, 2023

I made some iperf3 test with microsocks, the conclusion is that the transmission bandwidth is only limited by hardware.

iperf3 direct test on this Gigabit network:950Mbits/950Mbits
Server: iperf3 -s -i 10 -p 5201
Client: iperf3 -c 192.168.2.26 -p 5201

iperf3 client: A real PC, Intel 13600k CPU, Windows 11;
iperf3 server: Debian 11 on VMWare, same PC as client;
microsocks: Test on a router(ASUS RT-AC5300), a Alpine VM(same PC as iperf3 client) and a ARM device(aarch64 4core)

My test method is, On iperf3 client, i use Proxifier to socksify iperf3 with microsocks :

microsocks on Router: Bandwidth 180Mbits/180Mbits, router 2 cores full load;
microsocks on ARM device: Bandwidth 300Mbits/300Mbits, device 4 cores full load;
microsocks on Alpine VM PC: Bandwidth 900Mbits/900Mbits, a few CPU load;

@rezapoorzare
Copy link

Thank you both for the response and guidance.

@rofl0r rofl0r closed this as completed Dec 3, 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

4 participants