Chapter X. FCoE PDU Offload Target
For NUMA machines, determine NUMA node of interface and bind all the chfcoe workers
and irqs to the CPUs of same NUMA node.
To determine NUMA node for an interface, run the following command:
[root@host]# cat /sys/class/net/eth1/device/numa_node
0
To determine the CPU list for a NUMA node, run the following command:
[root@host]# cat /sys/devices/system/node/node0/cpulist
0-7,16-23
Load the PDU offload FCoE target using the following command:
[root@host]# modprobe chfcoe chfcoe_fip_mode=1 chfcoe_worker_num=12
The above command will load chfcoe module in VN2VN mode and create 12 chfcoe workers.
Binding one chfcoe worker per CPU
Use the following command to bind chfcoe workers to CPUs 2,3,4,5,6,7,18,19,20,21,22,23
[root@host]# chfcoe_perftune.sh worker 2 3 4 5 6 7 18 19 20 21 22 23
chfcoeworker_0: pid 19154's new affinity list: 2
chfcoeworker_1: pid 19155's new affinity list: 3
chfcoeworker_2: pid 19156's new affinity list: 4
chfcoeworker_3: pid 19157's new affinity list: 5
chfcoeworker_4: pid 19158's new affinity list: 6
chfcoeworker_5: pid 19159's new affinity list: 7
chfcoeworker_6: pid 19160's new affinity list: 18
chfcoeworker_7: pid 19161's new affinity list: 19
chfcoeworker_8: pid 19162's new affinity list: 20
chfcoeworker_9: pid 19163's new affinity list: 21
chfcoeworker_10: pid 19164's new affinity list: 22
chfcoeworker_11: pid 19165's new affinity list: 23
Chelsio T5/T4 Unified Wire For Linux
Page 174
Need help?
Do you have a question about the Chelsio T5 and is the answer not in the manual?
Questions and answers