04-21-2024 08:14 PM - edited 04-21-2024 11:08 PM
RouterA#ping mpls pseudowire b.b.b.b vcid source a.a.a.a repeat n
Success rate is 100 percent (100/100), round-trip min/avg/max = 15/15/19 ms
Success rate is 100 percent (500/500), round-trip min/avg/max = 15/15/23 m
Success rate is 100 percent (1000/1000), round-trip min/avg/max = 15/15/116 ms
Success rate is 100 percent (1000/1000), round-trip min/avg/max = 15/15/29 ms
Success rate is 100 percent (1000/1000), round-trip min/avg/max = 15/15/28 ms
RouterB#ping mpls pseudowire a.a.a.a vcid source b.b.b.b repeat n
Success rate is 100 percent (500/500), round-trip min/avg/max = 16/16/113 ms
Success rate is 100 percent (500/500), round-trip min/avg/max = 16/16/27 ms
Success rate is 100 percent (1000/1000), round-trip min/avg/max = 15/16/22 ms
Success rate is 100 percent (1000/1000), round-trip min/avg/max = 15/16/32 ms
Success rate is 100 percent (1000/1000), round-trip min/avg/max = 16/16/22 ms
Solved! Go to Solution.
04-22-2024 12:09 AM
Here some relatable answer for second one.
The average RTT is calculated by summing all the RTT values for a set of ping responses and then dividing by the total number of responses.
Consider a set of ping responses with a large number of low RTTs and a few high RTTs. If you have 990 responses with an RTT of 15ms and 10 responses with higher RTTs (say, ranging from 19ms to 116ms), the average will be much closer to 15ms, even though the maximum RTT is much higher.
If you calculate the average with the above example, it is clear that the majority of low RTTs will keep the average close to the minimum: Average RTT=(990×15)+19+23+29+116/1000=15.18ms
>_<
Rate it, If its helpful to you.
04-21-2024 09:14 PM
Hello @morris0117
It's not normal to have large spikes RTT on a stable network connection. MPLS configuration or unexpected routing changes can also lead to latency spikes. Verify that your MPLS setup and routing tables are configured correctly and that there are no unexpected routing changes during the high latency times.
Are you tested at different times of the day or under varying network loads to see if there is a pattern to the latency spikes ?
>_<
04-21-2024 09:25 PM
Do traceroute mpls
Share output
MHM
04-21-2024 11:05 PM - edited 04-21-2024 11:06 PM
Thanks for replying. I'm not sure what you mean by "under varying network loads" but I just simply did the ping test on the same routers several times within an hour this morning. BTW, a senior colleague just told me it's normal in our network bc the router sometimes need to process some prioritized tasks so it responds to icmp late and it causes latency.
Now there's still one question: How can avg rtt equal to min rtt when max rtt is not the same? How does avg rtt be calculated?
Thank you for actively replying as always. I checked the traceroute and it's fine, without high latency.
Pls help to answer the 2nd question if you're interested. Thanks.
04-22-2024 12:09 AM
Here some relatable answer for second one.
The average RTT is calculated by summing all the RTT values for a set of ping responses and then dividing by the total number of responses.
Consider a set of ping responses with a large number of low RTTs and a few high RTTs. If you have 990 responses with an RTT of 15ms and 10 responses with higher RTTs (say, ranging from 19ms to 116ms), the average will be much closer to 15ms, even though the maximum RTT is much higher.
If you calculate the average with the above example, it is clear that the majority of low RTTs will keep the average close to the minimum: Average RTT=(990×15)+19+23+29+116/1000=15.18ms
>_<
Rate it, If its helpful to you.
04-22-2024 02:06 AM
BTW, what @Kumaresan Ravichandran shows for computing an average is correct, variants would cause the same results. I.e. most of the values are near the min result but with very few higher values, even just one high peak value will show that kind of result.
04-22-2024 08:06 PM
Thanks for giving that calculation example, that's clear! So it seems that the decimal places of the output are omitted.
04-22-2024 12:32 AM
Use ping repeat two
And check
Min/average/Max
MHM
04-22-2024 02:23 AM - edited 04-22-2024 04:29 AM
"BTW, a senior colleague just told me it's normal in our network bc the router sometimes need to process some prioritized tasks so it responds to icmp late and it causes latency."
What your senior told you is correct concerning any pinged host might be slow to respond. I.e. ping latency is the combination of transit delay, in both directions, and host response times.
For the latter, Cisco supports SLA pings where the receiving host negates its response delay by noting how long it took to process the ping reply. This feature might not be provided for MPLS.
However, another cause of occasional ping times can be transient queuing delays.
How to tell host delay from network delay? Either use a dedicated responder only for this purpose, a responder which can negate its own delay, or ping different responders, concurrently, and see if they get similar results (at the same times).
04-22-2024 12:33 AM
Hello,
--> On an international L2 VPN service, the customer is complaining about latency.
Where does this latency manifest itself ? Is it related to specific applications ? What kind of QoS do you have implemented on the CE/PE routers ?
Can you post the output of:
show mpls forwarding-table
?
Sorry for asking all these question, but troubleshooting latency in MPLS L2VPNs can be a bit cumbersome...
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