-
Notifications
You must be signed in to change notification settings - Fork 88
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
Bug during a handover in a simple asymmetric Dual Connectivity scenario #157
Comments
Hello, apparently this has little to do with handover and dual connectivity. Now, I think that all those airframe gets stucked at the receiving PDCP entity at eNB2, probably because at some point one of those airframes went lost and the PDCP entity waits to deliver the out-of-order packets until it receives the lost one... but the lost one will never arrive... A possible workaround could be to allow out-of-order delivery at the receiving PDCP entity. See the corresponding parameter in Best regards. Edit: actually it might be a bug occurring at handover... as it is likely that the sequence number assigned to the PDCP PDU is not reset at the handover. I will investigate more on this. For now, the workaround above should work. |
Hi @gehirndienst , I found the origin of the bug.
This fixes the issue you pointed out. I also pushed this fix to the master branch of the repository. Best regards. |
I have tested your suggestions and have made the following observations: In the dummy scenario, both approaches (using your patch and enabling out-of-order delivery) fixed the issue. However, in my main scenario (which I am unable to publish, unfortunately), the issue was not resolved with the patch and only partially addressed by enabling out-of-order delivery. I still believe that there is an error occurring after a handover in NSA, as indicated by the following log: Initially, everything appears to be fine. The main User Equipment (UE) (ship[0], tos = 10) is connected to a gNB via an eNB. It sends ship-* packets and receives ack packets from the server. However, immediately after that, the following sequence of events takes place: ship[0] switches to another eNB, specifically eNB105587, which has its own secondary gNB and solely uses this new eNB as the primary medium for traffic, disregarding its secondary gNB. When out-of-order delivery is not enabled, this causes the UL direction to become stuck, and no more packets are sent. Otherwise, the packets are successfully transmitted via the new eNB. The issue arises when the acknowledgement packet is sent from one eNB to the previous one, rather than to the UE or the corresponding secondary gNB, meaning ship[0] will never receive this acknowledgement. Unfortunately, I am unable to share the specific scenario causing this issue, nor can I reproduce it in a dummy scenario. However, it is evident that the NSA handover is still problematic for me, and it is clear that the root cause lies in assigning a proper masterId/nrMasterId. With best regards |
But this is a different issue than the one in your first question, right? Here, the server receives correctly all the packets from the UE (i.e., ship[0] in your case) but the problem is that the packet from the server (i.e., the ack) reaches the correct eNB (the one called eNB104542), which then forwards the packet to the old eNB (the one called eNB104542) via X2. Could you get the following information (at the time when the misbehavior occur)?
I think this problem might be related to the one in #156 |
You're right, that's a new issue, the asymmetric issue is fixed with your last commit, but I believe there is a common source for both of them. I created a lighter version of my initial scenario and was able to reproduce actually all the issues mentioned here. The files are attached at the bottom. The UE now is a simple UDPApp that sends a small amount of data, while the server echoes the packets. Please run the 'TestRun' configuration and observe what happens especially starting from 30s when the first master starts to experience out-of-range and sometimes the first handover occurs by assigning only new eNB105887 master (I also noticed that that depends on whether I used "fast run" or "express run"). Meanwhile UL traffic could be stuck up to 3 seconds (!) with sending 1B packets to the out-of-range gNB. And sometimes the eNB-eNB bug at that time occurs, refer to attached picture below. I also conducted a debugging session to find answers to your questions:
With best regards |
Thanks Nikita, I will take a look as soon as possible and get back to you if a find something interesting. |
Hi @giovanninardini, Thank you for your time and effort! Your information about the 4-byte headers was completely new to me, and I greatly appreciate it. Is there a way to change the default cell association in Simu5G? In real life, I'm sure it is somehow managed so that not only DL SINR is considered, especially during the high UL workload. Regarding the TOS issue, it's strange that even after setting Regarding the P.S.: could all this story be related to a bug in switching between carriers? I noticed that if I change the indexes of the blocks:
then no data is sent at all, which makes no sense! Thank you once again for your assistance. |
The Apparently the UdpEchoApp does not have a As far as the handover issue is concerned, |
Hello,
I have encountered a bug in the NSA handover procedure, and during my research, I think I came across a similar open issue: #112.
The issue arises in a simple scenario where an UE moves eastward and sends UL packets to the server node without any interference. Initially, the UE is connected to eNB1/gNB1 through NSA coupling and later switches to eNB2 during the handover approximately at the 29th second. However, after the handover, the UE stops sending any packets to the server. The message dialogue shows that the UE sends airframes to eNB2, but there is no further progress. This issue persists regardless of the value of the tos parameter (three different configurations in ini file for LTE, NR and SB were tested).
I would appreciate your insights into the possible cause of this bug. I have limited knowledge about the inner workings and the whole idea of the handover procedure and dual connectivity management. Could you shed some light on the source of this issue and provide guidance on how to address it?
Thank you and best regards,
Nikita
P.S. I have attached the scenario in the archive, and the network topology is illustrated in the picture below. The scenario is expected to be extracted in simu5G/simulations/NR folder
dc_bug.zip
The text was updated successfully, but these errors were encountered: