Open procodemechanics opened 4 years ago
Upon running more trials and experimenting with the distribution of number of sender and receiver nodes, the main take away is that increasing the size of packet and the number of vehicles in the simulation results in this error. I also observe the following :
.car[49..99].udpApp[].typename = "AlertReceiver"`
If the senders are grouped in smaller groups and uniformly distributed amongst the receiver nodes, the error is not encountered. For example, `.car[0..4].udpApp[].typename = "AlertSender"
.car[5..9].udpApp[].typename = "AlertReceiver"
.car[10..14].udpApp[].typename = "AlertSender"
.car[15..19].udpApp[].typename = "AlertReceiver"
...`
If the Alert packet size is increased to 300 bytes, this above distribution of 50 Senders and 50 Receivers encounters the same error. However, if I reduce the number of senders to 25 and have 75 receivers instead of 50, the simulation works without error.
Why is this behavior observed when the only thing changing is the number of vehicles?
I am running D2D Multicast car simulation for 100 Cars with Alert application. I have assigned 50 cars as AlertSenders and rest as AlertReceivers. I have a highway map of 1 km in length. When running the simulation, I receive an error for Sender Node which receives a packet from lower layer and raises the below error -
Error: Mac::fromPhy(): Received feedback for an unexisting H-ARQ tx buffer -- in module (LteMacUeRealisticD2D) Highway.car[5].lteNic.mac (id=415), at t=25.051s, event #14073776
Upon going through LteMacBase.cc under the method void LteMacBase::fromPhy(cPacket *pkt), I notice that the above error is arising because there are no more harqTxBuffers to retrieve. See below section of code -
` { if (userInfo->getFrameType() == HARQPKT)
What could be the reason for H-ARQ buffer to be empty? I have read research papers talking about how H-ARQ buffer primarily stores MAC PDUs that are being sent and received in HARQ Tx and HARQ Rx buffers respectively. Reception is notified via H-ARQ feedback messages and here this feedback message generates the error. Why is the H-ARQ Tx buffer for the transmitted MAC PDU by vehicle node 5 deleted before the feedback could arrive? Or was the buffer never filled with this entry?