7–iSCSI Extensions for RDMA
Optimizing Linux Performance
75
BC0154503-00 C
IRQ Affinity Settings
This example sets CPU core 0, 1, 2 and 3 to IRQ XX, YY, ZZ and XYZ
respectively. This will need to be done 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
Block Device Staging
Set the block device staging settings for each iSCSI device/target:
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
Summary of Contents for QL45212
Page 111: ......