...
코드 블럭 |
---|
export RTE_SDK=/root/dpdk-23.03 export RTE_TARGET=x86_64-native-linux-gcc wget https://git.dpdk.org/apps/pktgen-dpdk/snapshot/pktgen-dpdk-pktgen-23.06.1.tar.xz tar xJf pktgen-dpdk-pktgen-23.06.1.tar.xz |
Following configuration can be applied if the expected bandwidth is not showing up for mellanox X5 (ref: https://stackoverflow.com/questions/72345569/why-does-dpdk-mellanox-connectx5-process-128b-packets-much-faster-than-other-s/72393527#72393527)
코드 블럭 |
---|
systemctl stop irqbalance.service systemctl disable 335 irqbalance.service systemctl stop wpa_supplicant systemctl disable wpa_supplicant ./set_irq_affinity_cpulist.sh [non dpdk cores] [desired NIC] mlxconfig -d /dev/mst/mt4119_pciconf0[pcie device id] set SRIOV_EN=0 mlx_tune -r ifconfig [NIC] txqueuelen 20000 ethtool -G [NIC] rx 8192 tx 8192 ethtool -A [NIC] rx off tx off mlxconfig -d [pcie address] set ZERO_TOUCH_TUNING_ENABLE=1 336 mlxconfig -d /dev/mst/mt4119_pciconf0 [pcie address] set CQE_COMPRESSION=1\n 337 mlxconfig -d /dev/mst/mt4119_pciconf0[pcie address] s PCI_WR_ORDERING=1 338 reboot |
Testing between two servers. We are using 8 virtual function in each server but not utilizing all of them.
...