在執行 iSCSI 時,連接預設閘道時磁碟 I/O 會變得更糟

在執行 iSCSI 時,連接預設閘道時磁碟 I/O 會變得更糟

伺服器一直在為無磁碟客戶端執行 iSCSI 服務,我注意到伺服器閘道的連線(網際網路連線或假閘道)使 iSCSI 效能變差。
有沒有人經歷過這種情況或可以提供任何調試建議?

僅供參考:即使連接了預設網關,「fio」測試的結果也正常。所以我認為問題出在 iSCSI。

Environment:
  CentOS 7.7.1908 / Kernel 3.10.0-1062.18.1.el7.x86_64
  ZFS version zfs-0.8.3-1 / zfs-kmod-0.8.3-1
  targetcli version 2.1.fb46
  Server NIC: Intel 4 ports 1Gbps, 4 ports trunk
  Switch: 1Gbps 48 ports, 4 ports trunk
zpool iostat when server's default gateway is connected. (attached cable)
              capacity     operations     bandwidth
pool        alloc   free   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
zp1          177G   751G    470     85  56.8M  8.82M
zp1          177G   751G    684     34  83.4M  3.12M
zp1          177G   751G    414    979  49.6M  90.7M
zpool iostat when server's default gateway is not connected. (detached cable)

              capacity     operations     bandwidth
pool        alloc   free   read  write   read  write
----------  -----  -----  -----  -----  -----  -----
zp1          176G   752G  2.19K    445   276M  3.45M
zp1          176G   752G  2.50K    428   314M  4.21M
zp1          176G   752G  1.92K      3   243M  60.0K

相關內容