4.15.0-46-generic doesn't support ethtool adaptive-tx for mlx5 card
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ubuntu Bionic 18.04 LTS:
We found that default bionic kernel 4.15.0-46-generic doesn't support ethtool -C adaptive-tx
Our ethernet card is Mellanox Connect4-Lx and Connect5, and this will affect performance of latency sensitive workloads like memcached.
Maybe we should backport adaptive-tx support to kernel 4.15 LTS?
Xeon Skylake 8168 x86_64:
ubuntu kernel 4.15.0-46-generic
eth: mlx5 connect-5
ethtool doesn't support adaptive-tx (ethernet TX interrupt coalesce)
X-Gene3 aarch64:
ubuntu kernel 4.18.0-16-generic, eth: mlx5 connect-4lx
ethtool supports adaptive-tx (ethernet TX interrupt coalesce)
Same Xeon Skylake 8168 x86_64
latest kernel 5.2.0-rc2
eth: mlx5 connect-5
ethtool supports adaptive-tx (ethernet TX interrupt coalesce)
---
ProblemType: Bug
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Jun 12 14:42 seq
crw-rw---- 1 root audio 116, 33 Jun 12 14:42 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: arm64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 18.04
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
MachineType: AmpereComputing(R) OSPREY EV-883832-X3-0001
Package: linux (not installed)
PciMultimedia:
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
ProcFB: 0 astdrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.173.3
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
Tags: bionic uec-images
Uname: Linux 4.18.0-16-generic aarch64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
dmi.bios.date: 09/25/2018
dmi.bios.vendor: Ampere(TM)
dmi.bios.version: 4.8.19
dmi.board.
dmi.board.name: OSPREY
dmi.board.vendor: AmpereComputing(R)
dmi.board.version: EV-883832-X3-OD1-2
dmi.chassis.
dmi.chassis.type: 23
dmi.chassis.vendor: AmpereComputing(R)
dmi.chassis.
dmi.modalias: dmi:bvnAmpere(
dmi.product.family: eMAG
dmi.product.name: OSPREY EV-883832-X3-0001
dmi.product.sku: EV-883832-X3-OBX-1
dmi.product.
dmi.sys.vendor: AmpereComputing(R)
---
ProblemType: Bug
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Jun 12 15:22 seq
crw-rw---- 1 root audio 116, 33 Jun 12 15:22 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 18.04
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 1604:10c0 Tascam
Bus 001 Device 003: ID 1604:10c0 Tascam
Bus 001 Device 002: ID 1604:10c0 Tascam
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. PowerEdge R640
Package: linux (not installed)
PciMultimedia:
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
LANG=C.UTF-8
SHELL=/bin/bash
ProcFB: 0 mgadrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.173.3
RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
Tags: bionic uec-images
Uname: Linux 4.15.0-46-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
dmi.bios.date: 05/21/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.4.8
dmi.board.name: 0W23H8
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 23
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: PowerEdge
dmi.product.name: PowerEdge R640
dmi.sys.vendor: Dell Inc.
tags: | added: ubuntu-certified |
kernel 4.18 supports Coalesce adaptive TX ======= ======= ======= ======= ======= ======= ======= ======= =====
=======
uname -a
Linux xgene3 4.18.0-16-generic #17~18.04.1-Ubuntu SMP Tue Feb 12 13:35:39 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux
lspci -vvv
0000:01:00.0 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]
Subsystem: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]
ethtool -i enp1s0 rom-version: statistics: yes eeprom- access: no register- dump: no priv-flags: yes
driver: mlx5_core
version: 5.0-0
firmware-version: 14.24.1000 (MT_2430110032)
expansion-
bus-info: 0000:01:00.0
supports-
supports-test: yes
supports-
supports-
supports-
ethtool -c enp1s0
Coalesce parameters for enp1s0:
Adaptive RX: on TX: on
stats-block-usecs: 0
sample-interval: 0
pkt-rate-low: 0
pkt-rate-high: 0
rx-usecs: 8
rx-frames: 128
rx-usecs-irq: 0
rx-frames-irq: 0
tx-usecs: 8
tx-frames: 128
tx-usecs-irq: 0
tx-frames-irq: 0
rx-usecs-low: 0
rx-frame-low: 0
tx-usecs-low: 0
tx-frame-low: 0
rx-usecs-high: 0
rx-frame-high: 0
tx-usecs-high: 0
tx-frame-high: 0
lsmod rndis_host, cdc_ether ipmi_ssif tcp,iscsi_ tcp,ib_ iser iscsi 110592 3 iscsi_tcp, ib_iser, libiscsi async_raid6_ recov async_raid6_ recov raid456, async_raid6_ recov async_memcpy, async_xor, raid456, async_raid6_ recov btrfs,raid456, async_raid6_ recov iw_cm,ib_ iser,ib_ uverbs, mlx5_ib, ib_cm
Module Size Used by
nls_iso8859_1 16384 1
rndis_wlan 57344 0
rndis_host 16384 1 rndis_wlan
cdc_ether 16384 1 rndis_host
usbnet 49152 3 rndis_wlan,
cfg80211 733184 1 rndis_wlan
joydev 28672 0
input_leds 16384 0
ipmi_ssif 28672 0
ipmi_devintf 20480 0
ipmi_msghandler 57344 2 ipmi_devintf,
xgene_hwmon 20480 0
cppc_cpufreq 16384 0
sch_fq_codel 20480 33
ib_iser 49152 0
rdma_cm 65536 1 ib_iser
iw_cm 40960 1 rdma_cm
ib_cm 61440 1 rdma_cm
iscsi_tcp 20480 0
libiscsi_tcp 28672 1 iscsi_tcp
libiscsi 53248 3 libiscsi_
scsi_transport_
ip_tables 28672 0
x_tables 45056 1 ip_tables
autofs4 53248 2
hid_generic 16384 0
usbhid 61440 0
hid 131072 2 usbhid,hid_generic
btrfs 1273856 0
zstd_compress 159744 1 btrfs
raid10 57344 0
raid456 167936 0
async_raid6_recov 20480 1 raid456
async_memcpy 16384 2 raid456,
async_pq 16384 2 raid456,
async_xor 16384 3 async_pq,
async_tx 16384 5 async_pq,
xor 20480 2 async_xor,btrfs
uas 24576 0
usb_storage 69632 1 uas
raid6_pq 106496 4 async_pq,
libcrc32c 16384 2 btrfs,raid456
raid1 40960 0
raid0 20480 0
multipath 20480 0
linear 16384 0
mlx5_ib 237568 0
ib_uverbs 106496 1 mlx5_ib
ib_core 266240 6 rdma_cm,
dwc3 ...