UERANSIM icon indicating copy to clipboard operation
UERANSIM copied to clipboard

bandwidth test between gNB and UE

Open dstarin opened this issue 3 years ago • 6 comments

Hi,

I'd like to test the bandwidth of the RLS protocol between the UERANSIM gNB and UE. How can I do this?

Thanks.

dstarin avatar Jan 11 '22 14:01 dstarin

Hi

Our RLS (Radio Link Simulation) protocol is implemented over UDP port 4997. You can monitor this port in your environment. But currently there is no systematic way to make some controlled experiments for the bandwidth.


Note: I'm currently working on performance improvements and trying to make RLS protocol push the theoretical limits and make close to zero-overhead.

Best.

aligungr avatar Jan 13 '22 05:01 aligungr

Hi

Our RLS (Radio Link Simulation) protocol is implemented over UDP port 4997. You can monitor this port in your environment. But currently there is no systematic way to make some controlled experiments for the bandwidth.

Note: I'm currently working on performance improvements and trying to make RLS protocol push the theoretical limits and make close to zero-overhead.

Best.

hi,aligungr i have a question want to ask you ,our ueransim how to use iperf3 to send udp packet

zh7606559342012 avatar Jan 13 '22 06:01 zh7606559342012

Hello @aligungr,

I am working on the 5G core and it is connected to the UE and RAN. ping for me I want to use iperf to send TCP and UDP packets.

the UPF in VM1 5G core in VM2 UERANSIM in VM3

ping -I uesimtun0 google.com -c3 >>> work but with IP address for google, NAT does not work for me. ping -I uesimtun0 UPF -c3 >> instead of UPF i but the IP address of the UPF .. its work for me.

Know, I want to use UPF as a server and uesimtun0 as a client and send UDP packets using iperf3 or iperf.

If there is another tool that I could use to generate traffic from uesimtun0 to UPF.

I use iperf as the flowing but i get broken pips.

Screenshot 2022-02-01 at 4 55 07 pm Screenshot 2022-02-01 at 4 56 01 pm

If you have an idea, please let me know Regards, Noor

noormohammedli avatar Feb 01 '22 17:02 noormohammedli

Hello @noormohammedli

ping -I uesimtun0 google.com -c3 >>> work but with IP address for google, NAT does not work for me

Indeed it's normal behavior. Because the ping utility performs the DNS query before the ping. Therefore ping tool always use the standard DNS mechanism regardless of you bind to the uesimtunX, or any other interface. Actually DNS resolution is independent of the network interface.


I use iperf as the flowing but i get broken pips.

Please see https://github.com/aligungr/UERANSIM/discussions/474#discussioncomment-1980879 This setup should be sufficient.

In UEs machine: ./nr-binder {PDU-IP-ADDRESS} iperf3 -c {IP-OF-CORE-NETWORK-MACHINE} -i 1 -t 2000

In Core's machine: iperf3 -s

aligungr avatar Feb 07 '22 08:02 aligungr

Hello Sir,

Thank you for your help. It worked well.

Thanks.

noormohammedli avatar Feb 11 '22 10:02 noormohammedli

@aligungr said on early 2022: "working on performance improvements and trying to make RLS protocol push the theoretical limits and make close to zero-overhead"

Was there any progress on that? I'm trying to verify maximum throughput of a 5G core, the goal is 1GBps but I only got 400Mbps so far. Is it known how much of a limit UERANSIM implementation itself imposes?

Punji avatar Mar 08 '23 16:03 Punji