When TrueNAS is running in PVE, SMB performs poorly under the 10G network card.

juzi

New Member
Sep 6, 2024
2
0
1
When TrueNAS is running in PVE, SMB performs poorly under the 10G network card.

The following output can be run with the TrueNAS 10G network card through iperf 3:
```
iperf3.exe -c 192.168.100.3
Connecting to host 192.168.100.3, port 5201
[ 5] local 192.168.100.198 port 5756 connected to 192.168.100.3 port 5201
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 1.04 GBytes 8.89 Gbits/sec
[ 5] 1.00-2.00 sec 1.07 GBytes 9.20 Gbits/sec
[ 5] 2.00-3.00 sec 1.05 GBytes 9.05 Gbits/sec [5] 3.00-4.00 sec 1.03 GBytes 8.86 Gbits/sec [5] 4.00-5.00 sec 1.07 GBytes 9.19 Gbits/sec [5] 5.00-6.00 sec 1.07 GBytes 9.22 Gbits/sec [5] 6.00-7.00 sec 1.08 GBytes 9.29 Gbits/sec [5] 7.00-8.00 sec 1.07 GBytes 9.21 Gbits/sec [5] 8.00-9.00 sec 1005 MBytes 8.44 Gbits/sec [5] 9.00-10.00 sec 1.03 GBytes 8.84 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ID] Interval Transfer Bitrate
[5] 0.00-10.00 sec 10.5 GBytes 9.02 Gbits/sec sender
[5] 0.00-10.01 sec 10.5 GBytes 9.01 Gbits/sec receiver

iperf Done.
```

But through TrueNAS's SMB share, it can only run about 3.5Gbps
But it used to run normally at the 10G level, but it suddenly slowed down one day

Host information:
CPU: Intel(R) Xeon(R) CPU E5-2678 v3

PVE information:
256GiB memory
10G network card: ens6 MTU: 9014 Linux Bridge
Linux 6.8.12-4-pve (2024-11-06T15:04Z)
Manager version: pve-manager/8.3.3/f157a38b211595d6
Package version:
```
proxmox-ve: 8.3.0 (running kernel: 6.8.12-4-pve)
pve-manager: 8.3.3 (running version: 8.3.3/f157a38b211595d6)
proxmox-kernel-helper: 8.1.0
proxmox-kernel-6.8: 6.8.12-8
proxmox-kernel-6.8.12-8-pve-signed: 6.8.12-8
proxmox-kernel-6.8.12-4-pve-signed: 6.8.12-4
proxmox-kernel-6.8.12-3-pve-signed: 6.8.12-3
proxmox-kernel-6.8.12-2-pve-signed: 6.8.12-2
proxmox-kernel-6.8.4-2-pve-signed: 6.8.4-2
ceph-fuse: 17.2.7-pve3
corosync: 3.1.7-pve3
criu: 3.17.1-2+deb12u1
glusterfs-client: 10.3-5
ifupdown2: 3.2.0-1+pmx11
ksm-control-daemon: 1.5-1
libjs-extjs: 7.0.0-5
libknet1: 1.28-pve1
libproxmox-acme-perl: 1.5.1
libproxmox-backup-qemu0: 1.5.1
libproxmox-rs-perl: 0.3.4
libpve-access-control: 8.2.0
libpve-apiclient-perl: 3.3.2
libpve-cluster-api-perl: 8.0.10
libpve-cluster-perl: 8.0.10
libpve-common-perl: 8.2.9
libpve-guest-common-perl: 5.1.6
libpve-http-server-perl: 5.2.0
libpve-network-perl: 0.10.0
libpve-rs-perl: 0.9.1
libpve-storage-perl: 8.3.3
libspice-server1: 0.15.1-1
lvm2: 2.03.16-2
lxc-pve: 6.0.0-1
lxcfs: 6.0.0-pve2
novnc-pve: 1.5.0-1
openvswitch-switch: 3.1.0-2+deb12u1
proxmox-backup-client: 3.3.2-1
proxmox-backup-file-restore: 3.3.2-2
proxmox-firewall: 0.6.0
proxmox-kernel-helper: 8.1.0
proxmox-mail-forward: 0.3.1
proxmox-mini-journalreader: 1.4.0
proxmox-offline-mirror-helper: 0.6.7
proxmox-widget-toolkit: 4.3.4
pve-cluster: 8.0.10
pve-container: 5.2.3
pve-docs: 8.3.1
pve-edk2-firmware: 4.2023.08-4
pve-esxi-import-tools: 0.7.2
pve-firewall: 5.1.0
pve-firmware: 3.14-3
pve-ha-manager: 4.0.6
pve-i18n: 3.3.3
pve-qemu-kvm: 9.0.2-5
pve-xtermjs: 5.3.0-3
qemu-server: 8.3.7
smartmontools: 7.3-pve1
spiceterm: 3.3.0
swtpm: 0.8.0+pve1
vncterm: 1.8.0
zfsutils-linux: 2.2.7-pve1
```

TrueNAS virtual machine information:
CPU: host 1sockets,24cores
126GiB memory
Disks are used as pass-through PCI devices in PVE

HDD disk array:
Data vdev 1 x RAIDZ1 | 8 disks | 14.55 TiB (newly purchased Seagate hard drives)
Metadata vdev 1 x MIRROR | 2 disks | 238.47 GiB (SSD)
log vdev 2 x DISK | 1 disk | 238.47 GiB (SSD)
Cache vdev 1 x 232.89 GiB (SSD)
Array utilization: 36.2%
ZFS health: online
Failed S.M.A.R.T. Tests: 0

TrueNAS-SCALE-ElectricEel - TrueNAS SCALE ElectricEel 24.10 [release]

TrueNAS-SCALE-24.10.2
Standard PC (Q35 + ICH9, 2009)
10G NIC information: VirtIO MTU:9014 Multiqueue:24

Windows information:
Version Windows 11 Professional Edition
Version number 24H2
Installation date 2024/9/2
Operating system version 26100.2605
Experience Windows feature experience package 1000.26100.36.0
10G NIC: External 10G NIC via Thunderbolt 4
Model: QNA-T310G1S (QNAP)
Identified as 10.0Gbps in Windows system