Project

General

Profile

Actions

Bug #11602

closed

Delayed packet transmission in cxgbe driver can lead to latency and reduced performance

Added by Steve Wheeler over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
Interfaces
Target version:
Start date:
03/02/2021
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.5.0
Affected Architecture:
amd64

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

Actions #3

Updated by Renato Botelho over 3 years ago

  • Status changed from New to Feedback
  • Assignee set to Renato Botelho

Fixes cherry-picked to 2.5.1 / 21.02.2 repositories

Actions #4

Updated by Steve Wheeler over 3 years ago

  • Private changed from Yes to No
Actions #5

Updated by Jim Pingle over 3 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.

Actions #6

Updated by Timo M over 3 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.

Actions #7

Updated by Renato Botelho over 3 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF