11–iSCSI Extensions for RDMA
Optimizing Linux Performance
156
AH0054602-00 A
Configuring IRQ Affinity Settings
The following example sets CPU core 0, 1, 2, and 3 to IRQ XX, YY, ZZ, and XYZ
respectively. Performs these steps for each IRQ assigned to a port (default is
eight queues per port).
systemctl disable irqbalance
systemctl stop irqbalance
cat /proc/interrupts | grep qedr
Shows IRQ assigned to each port queue
echo 1 > /proc/irq/XX/smp_affinity_list
echo 2 > /proc/irq/YY/smp_affinity_list
echo 4 > /proc/irq/ZZ/smp_affinity_list
echo 8 > /proc/irq/XYZ/smp_affinity_list
Configuring Block Device Staging
Set the block device staging settings for each iSCSI device or target as follows:
echo noop > /sys/block/sdd/queue/scheduler
echo 2 > /sys/block/sdd/queue/nomerges
echo 0 > /sys/block/sdd/queue/add_random
echo 1 > /sys/block/sdd/queue/rq_affinity