Unipisa / Simu5G

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

upf_mec module inside mecHost is transmitting packets slowly #165

Closed zazim13 closed 10 months ago

zazim13 commented 1 year ago

Hi, I am trying to evaluate the performance of a Mec application that I have implemented. My UE is continuously sending packets with a high rate. The problem is that the MecApp is receiving just a few packets. After following packet flow, It seems that the upf_mec module inside the mecHost is transmiting data really slowly(other modules before are transmiting almost all received packets). I am trying to reduce my delay, is it possible to make the upf_mec module faster, at least as faster as others UPFs ?
Here some results (input and ouput queues) showing my observations: upf_mec incomming packets (If I understand well the queued packet at input queue ->blue and queued packets at output queue ->orange): Screenshot from 2023-07-06 11-01-15 upf_mec outgoing packets(If I understand well the dequeued packet at output queue->orange and dequeued packets at input queue->bleu ): Screenshot from 2023-07-06 11-01-33 We can observe that by the end of my experience less than half of packets received by the upf_mec are transmitted to the next module.

Here the virtualised infrastructure incoming packets Screenshot from 2023-07-06 11-01-54

I precise that I am not sure that the problem comes from the upf_mec only. I just followed the packet flow and upf_mec module is sending less packets that it is receiving .

Sincerly Hakim.

giovanninardini commented 12 months ago

Hello,

I think you are misinterpreting the charts.

pppIf is the network interface that connects the _upfmec with the virtualizationInfrastructure. ppp0 is the network interface that connects the _upfmec with the iUpf (e.g., the 5G core network).

The first chart you posted (incoming packets) refers to the packets that a network interface receive from the IP layer of the same module. The second chart (outgoing packets) refers to packets that a network interface has sent out. Unless the interface drops some packets, it is expectable that they are the same value (as it is in your example).

So, putting the above info together, we have that in the first two charts:

Likewise, the third chart shows the packets that the network interface of the virtualizationInfrastructure received from its IP layer, hence packets that have been sent out by the virtualizationInfrastructure towards the _upfmec (probably, packets going from the MEC app to the UE) —> and this demonstrate that the _upfmec and virtualizationInfrastructure are working as they should.

zazim13 commented 10 months ago

Hi, Thank you for your answer. Turns out my packets are dropped when the snr is too low Hakim.