05-04-2022 01:47 PM
I performed an OTA capture and noticed a lot of the traffic I was interested in had frame size ~3KB. It is all UDP. Could this be problematic with MSS of 1.5KB? Particularly when channel utilization gets high?
Solved! Go to Solution.
05-06-2022 06:14 AM
@MHM Cisco World that is for the CAPWAP tunnel path MTU between AP and WLC.
The user endpoints (wifi user and the server they connect to) have zero visibility of that MTU.
If the app sends 3K packets they'll get fragmented even before the device sends them and then could get fragmented again by the AP. Every time they get fragmented that degrades performance and increases jitter. PMTUD was supposed to be the solution to this:
https://en.wikipedia.org/wiki/Path_MTU_Discovery
But in reality because of firewalls blocking ICMP, PMTUD often doesn't work.
One of many discussions you can find if you search https://blog.cloudflare.com/ip-fragmentation-is-broken/
Bottom line - make the app use smaller packets which won't need fragmentation if you want reliable and consistent performance.
The max value you can use without needing fragmentation depends on exactly what is between your endpoints but you can test by setting DF (do not fragment) on the packets and see what the max value is that gets through. Ping is the easy way to do that.
05-04-2022 02:54 PM
Hi
MSS means Maximum Segment Size and is related to TCP and not UDP. TCP MSS must be between 536 and 1363 bytes on Cisco WLC.
High channel utilization can cause retransmission and yes, it get worst when packet is smaller.
05-04-2022 03:20 PM
Thanks. I am wondering about the frame size. I believe it will get fragmented as the traffic is routed which could be bad for UDP performance? High channel utilization is not good for any traffic but I’m guessing larger frames are more susceptible to failures.
05-05-2022 12:23 AM
Can you share the information you captured and explain the environment to understand better here/
05-05-2022 06:35 AM
I'm working with a developer that has a real time bi-directional video application. We have Cisco 9120 APs configured for 40Mhz channels. We observe 70-80% channel utilization when ~8 clients are on the same AP. The app begins to experience jitter as this occurs. Notice frame size and timestamps in the screenshot below.
05-06-2022 12:28 PM
After analysis your OTA please find below
A-MPDU is enable and it normal have packet with more than 2000 bytes.
05-07-2022 02:59 AM
@MHM Cisco World A-MPDU helps to improve efficiency at the wireless layer (introduced in 802.11n).
Rasika explained A-MPDU nicely here: https://mrncciew.com/2013/04/11/a-mpdu-a-msdu/
That doesn't change the fact that the IP interface for the WiFi on the device (and the ethernet interface at the server end) will usually have an interface MTU of 1500 bytes and THAT is primarily what determines when the IP packets get fragmented. BUT if there are lower MTU's (eg IPSEC, GRE tunnels) in the path between the endpoints then the effective MTU of the end to end path can end up being significantly smaller than 1500.
05-05-2022 09:44 AM - edited 05-06-2022 12:28 PM
...
05-06-2022 06:14 AM
@MHM Cisco World that is for the CAPWAP tunnel path MTU between AP and WLC.
The user endpoints (wifi user and the server they connect to) have zero visibility of that MTU.
If the app sends 3K packets they'll get fragmented even before the device sends them and then could get fragmented again by the AP. Every time they get fragmented that degrades performance and increases jitter. PMTUD was supposed to be the solution to this:
https://en.wikipedia.org/wiki/Path_MTU_Discovery
But in reality because of firewalls blocking ICMP, PMTUD often doesn't work.
One of many discussions you can find if you search https://blog.cloudflare.com/ip-fragmentation-is-broken/
Bottom line - make the app use smaller packets which won't need fragmentation if you want reliable and consistent performance.
The max value you can use without needing fragmentation depends on exactly what is between your endpoints but you can test by setting DF (do not fragment) on the packets and see what the max value is that gets through. Ping is the easy way to do that.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide