diff --git a/srpt/README b/srpt/README index 8b6f6d047..f898f1960 100644 --- a/srpt/README +++ b/srpt/README @@ -327,6 +327,15 @@ storage devices though (SSDs), DEVICE.threads_num should be set to 1 or 2 in /etc/scst.conf in order to reach optimal performance for small block sizes (e.g. 4 KB). +When multiple InfiniBand HCA's are present in a target system the Linux +kernel by default will assign the associated interrupt handlers to CPU 0. +Even irqbalance will often assign the interrupt handlers of multiple HCA's +to the same CPU. That is unfortunate because it leads to unfair handling of +SRP sessions. The solution is to assign InfiniBand HCA interrupts manually +to different CPU's. That's possible by writing looking up the InfiniBand +interrupt numbers in /proc/interrupts and by writing proper bitmasks into +/proc/irq//smp_affinity. + Performance Notes - Initiator Side ----------------------------------