Bug #11602
closedDelayed packet transmission in cxgbe driver can lead to latency and reduced performance
0%
Description
In some situations the cxgbe driver can introduce latency in 2.5.
It looks as though that is caused by a driver issue that has since been patched:
https://github.com/pfsense/FreeBSD-src/commit/42f7f5c5d22cc9e845e51a1f8a5b92573b8b3d2f
Typically users are seeing:
PING 10.100.10.12 (10.100.10.12) from 10.0.0.2: 56 data bytes 64 bytes from 10.100.10.12: icmp_seq=0 ttl=128 time=0.173 ms 64 bytes from 10.100.10.12: icmp_seq=1 ttl=128 time=20.169 ms 64 bytes from 10.100.10.12: icmp_seq=2 ttl=128 time=59.394 ms 64 bytes from 10.100.10.12: icmp_seq=3 ttl=128 time=0.161 ms 64 bytes from 10.100.10.12: icmp_seq=4 ttl=128 time=0.163 ms 64 bytes from 10.100.10.12: icmp_seq=5 ttl=128 time=0.206 ms 64 bytes from 10.100.10.12: icmp_seq=6 ttl=128 time=47.562 ms 64 bytes from 10.100.10.12: icmp_seq=7 ttl=128 time=0.169 ms 64 bytes from 10.100.10.12: icmp_seq=8 ttl=128 time=0.272 ms 64 bytes from 10.100.10.12: icmp_seq=9 ttl=128 time=0.158 ms
That same test was all sub 1ms in 2.4.5p1
Updated by Steve Wheeler almost 4 years ago
Updated by Jim Thompson almost 4 years ago
Navdeep wrote in
——
The bug was first fixed in these commits in FreeBSD 14-current and 13:
https://www.google.com/url?q=https://lists.freebsd.org/pipermail/dev-commits-src-all/2021-February/002084.html&source=gmail-imap&ust=1615587428000000&usg=AOvVaw1Z4q5jZasGQmMKg5Cv1xVT
https://www.google.com/url?q=https://lists.freebsd.org/pipermail/dev-commits-src-all/2021-February/002263.html&source=gmail-imap&ust=1615587428000000&usg=AOvVaw3WXi8l9gnpCRMibaYgErlR
These two on top of 12.2 should do it:
https://www.google.com/url?q=https://lists.freebsd.org/pipermail/dev-commits-src-all/2021-February/002794.html&source=gmail-imap&ust=1615587428000000&usg=AOvVaw2EH0LbJKH_3jlnMR0-Rg49
https://www.google.com/url?q=https://lists.freebsd.org/pipermail/dev-commits-src-all/2021-February/002795.html&source=gmail-imap&ust=1615587428000000&usg=AOvVaw0Gj4K_JdtLC5Wvt2wALJxE
Updated by Renato Botelho almost 4 years ago
- Status changed from New to Feedback
- Assignee set to Renato Botelho
Fixes cherry-picked to 2.5.1 / 21.02.2 repositories
Updated by Jim Pingle almost 4 years ago
- Subject changed from Latency through cxgbe to Delayed packet transmission in cxgbe driver can lead to latency and reduced performance
Updating subject for release notes.
Updated by Timo M almost 4 years ago
Wanted to provide feedback that this looks be resolved in the latest 2.5.1 snapshots:
Before: 2.5.0-RELEASE
--- X.X.X.X ping statistics --- 500 packets transmitted, 500 received, 0% packet loss, time 701ms rtt min/avg/max/mdev = 0.175/25.373/109.791/27.343 ms, pipe 8
After: 2.5.1-RC
--- X.X.X.X ping statistics --- 500 packets transmitted, 500 received, 0% packet loss, time 96ms rtt min/avg/max/mdev = 0.181/0.267/0.365/0.040 ms
A big thank you for addressing this issue so quickly.
Updated by Renato Botelho almost 4 years ago
- Status changed from Feedback to Resolved