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

VM of N3IWUE has slow upload in speedtest #535

Open
SimonWelke opened this issue Feb 29, 2024 · 1 comment
Open

VM of N3IWUE has slow upload in speedtest #535

SimonWelke opened this issue Feb 29, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@SimonWelke
Copy link

Hello free5gc,

I followed your tutorial for the N3IWUE one-to-one (i.e. two VMs for free5GC and N3IWUE etc.) and it worked straight away. Good work on your part!

However, I noticed that a simple speedtest (installed with "sudo apt speedtest-cli") gives unexpected results. The download on the VM for the N3IWUE delivers over 100Mbit/s, which matches my internet connection, but the upload barely hits 1Mbit/s.

To be on the safe side, I also ran the speedtest on my host system (fast PC with Ubuntu 22.04) and in the VM for free5gc - both DL and UL are very fast and well above 100Mbit/s.

Do you have any idea why the uplink is so slow during a speedtest in the VM of the N3IWUE?

Simon

@SimonWelke SimonWelke changed the title N3IWUE VM of N3IWUE has slow upload in speedtest Feb 29, 2024
@a3828162
Copy link

a3828162 commented Mar 5, 2024

Hello @SimonWelke,
I have used speedtest-cli for testing and encountered a similar situation as yours. However, since speedtest-cli is not an ideal tool for measuring network speed and lacks parameter adjustment capabilities, I switched to using iperf3 for testing. You can install iperf3 by running sudo apt install iperf3 -y. Initially, I faced similar issues with TCP flow where the traffic couldn't go through properly. Upon checking iperf3 issues, I found similar problems reported by others. Later, by referring to their configurations regarding iperf3 buffer size, window size, and setting MSS, the situation improved significantly, as shown in the screenshot.
esnet/iperf#1021
截圖 2024-03-05 下午1 34 16

I suspect that the default buffer size and window size were too small, leading to packet loss and other issues preventing the traffic from flowing properly. We will continue to monitor this situation.

Best regards,
James

@ianchen0119 ianchen0119 added the enhancement New feature or request label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants