User Manual
PerformanceRev 2.1-1.0.6
Mellanox Technologies
136
• Stop
• Restart
mlnx_affinity can also be started by driver load/unload
To enable mlnx_affinity by default:
• Add the line below to the /etc/infiniband/openib.conf file.
7.2.7.3 Tuning for Multiple Adapters
When optimizing the system performance for using more than one adapter. It is recommended to
separate the adapter's core utilization so there will be no interleaving between interfaces.
The following script can be used to separate each adapter's IRQs to different set of cores.
Example:
If the system has 2 adapters on the same NUMA node (0-7) each with 2 interfaces run the follow-
ing:
# mlnx_affinity stop
# mlnx_affinity restart
RUN_AFFINITY_TUNER=yes
# set_irq_affinity_cpulist.sh <cpu list>
<interface>
<cpu list> can be either a comma separated list of single core numbers (0,1,2,3)
or core groups (0-3)
# /etc/init.d/irqbalancer stop
# set_irq_affinity_cpulist.sh 0-1 eth2
# set_irq_affinity_cpulist.sh 2-3 eth3
# set_irq_affinity_cpulist.sh 4-5 eth4
# set_irq_affinity_cpulist.sh 6-7 eth5