Unipisa / Simu5G

Simu5G - 5G NR and LTE/LTE-A user-plane simulation model for OMNeT++ & INET
https://simu5g.org
Other
150 stars 87 forks source link

multi upf support #52

Closed imanazimi1997 closed 2 years ago

imanazimi1997 commented 2 years ago

Is it possible to connect several UPF to one gNB(for emulation)?

giovanninardini commented 2 years ago

Hello,

the gNB has only one "upstream" gate (the "ppp" gate), so it can be connected directly to one UPF only. However, that UPF can be in turn connected to other UPFs. See, e.g., here or here.

Best regards

imanazimi1997 commented 2 years ago

Tanks for answers Why is it not received on the server side when emulating with two outputs, when packets is sent in a without delay? Many of packet not received by upf. But if they are sent with a delay of, say, 1 second, will it be received?

imanazimi1997 commented 2 years ago

Tanks for answers Why is it not received on the server side when emulating with two outputs, when packets is sent in a without delay? Many of packet not received by upf. But if they are sent with a delay of, say, 1 second, will it be received?

giovanninardini commented 2 years ago

Hello,

could you please be a bit more specific about your problem? Are you running some emulation example in the Simu5G package? What outputs are you talking about? What delay are you talking about?

imanazimi1997 commented 2 years ago

Yes, Sure. I run the simu5g in a emulation mode so that the server and client were external. On the client side, I sent 500 packets of 1000 bytes to the server continuously with a loop. But most packets were not even received by the server (even with tcp). Then I put a delay of one second between sending each packet. And then it was completely received. Is this problem solvable?

On Tue, 14 Jun 2022, 18:53 Giovanni Nardini, @.***> wrote:

Hello,

could you please be a bit more specific about your problem? Are you running some emulation example in the Simu5G package? What outputs are you talking about? What delay are you talking about?

— Reply to this email directly, view it on GitHub https://github.com/Unipisa/Simu5G/issues/52#issuecomment-1155263292, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK75QBTJ6ODQDCB3TCDFCJ3VPCIWZANCNFSM5XF765KA . You are receiving this because you authored the thread.Message ID: @.***>

giovanninardini commented 2 years ago

I believe this is due to the fact that packets are sent too fast (I understand that you send 500 packets with no delay between each other), and the emulation is not able to run in real time anymore. That is, you are injecting too much traffic (all together) into the simulator, and it cannot parse all of it while maintaining the real-time requirement. Remember that real-time emulation is only possible when the complexity of the simulation is such that simulation time is able to run in parallel with wall-clock time (see the "note" here)

On the other hand, when you send packets more slowly (i.e., using one-second interval), the emulation is able to keep the real-time pace and the server is able to receive packets.

imanazimi1997 commented 2 years ago

Thanks for the tips. The last question I have is whether it is possible to emulation multiple mec scenario in simu5g?

On Tue, 14 Jun 2022, 19:51 Giovanni Nardini, @.***> wrote:

I believe this is due to the fact that packets are sent too fast (I understand that you send 500 packets with no delay between each other), and the emulation is not able to run in real time anymore. That is, you are injecting too much traffic (all together) into the simulator, and it cannot parse all of it while maintaining the real-time requirement. Remember that real-time emulation is only possible when the complexity of the simulation is such that simulation time is able to run in parallel with wall-clock time (see the "note" here https://inet.omnetpp.org/docs/users-guide/ch-emulation.html)

On the other hand, when you send packets more slowly (i.e., using one-second interval), the emulation is able to keep the real-time pace and the server is able to receive packets.

— Reply to this email directly, view it on GitHub https://github.com/Unipisa/Simu5G/issues/52#issuecomment-1155346114, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK75QBQWYK4HIKSGWI6PZUTVPCPPXANCNFSM5XF765KA . You are receiving this because you authored the thread.Message ID: @.***>

giovanninardini commented 2 years ago

Yes, the emulated network scenario can be customized as you wish. There is a simulation example for a multiple MEC scenario @ simulations/NR/mec/multiMecHost. Maybe you could use it as starting point for your emulated scenario.

Best regards. Giovanni

imanazimi1997 commented 2 years ago

Thanks

On Fri, 24 Jun 2022, 12:58 Giovanni Nardini, @.***> wrote:

Yes, the emulated network scenario can be customized as you wish. There is a simulation example for a multiple MEC scenario @ simulations/NR/mec/multiMecHost. Maybe you could use it as starting point for your emulated scenario.

Best regards. Giovanni

— Reply to this email directly, view it on GitHub https://github.com/Unipisa/Simu5G/issues/52#issuecomment-1165334062, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK75QBU6HXA44FMFHOKBAALVQVWT7ANCNFSM5XF765KA . You are receiving this because you authored the thread.Message ID: @.***>