Skip to content
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

Why sometimes UERANSIM generates multiple NGAP messages within a single SCTP packet? (SCTP chukning) #716

Open
juan-montero-byd opened this issue Jul 17, 2024 · 3 comments

Comments

@juan-montero-byd
Copy link

20240530a.zip

Sometimes (randomly), UERANSIM generates multiple NGAP messages within a single SCTP packet (SCTP chunking). Is there any way to control it? Although Open5GS process these messages successfully, I would like to know if there is a way to send 1 NGAP per SCTP packet. Here a couple of examples:

image

image

Thanks!

@linouxis9
Copy link

linouxis9 commented Jul 24, 2024

Hi @juan-montero-byd,

You would have to set the option SCTP_NODELAY on the socket (but it does not completely prevent SCTP chunk bundling), it's the default behavior of SCTP stack inside the Linux Kernel.

Cheers,
Valentin

@laf0rge
Copy link

laf0rge commented Aug 30, 2024

Indeed as @linouxis9 mentioned, this is not an issue at all about UERANSIM. What you are experiencing is a property/behaviour of the SCTP protocol stack inside the Linux kernel.

@juan-montero-byd
Copy link
Author

Sorry I missed the first reply. Thank you both! I'll attempt playing with the SCTP_NODELAY, but also learn more about the Linux kernel SCTP protocol stack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants