Observing Softlockup's while running heavy IOs
From: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Date: 2016-08-18 05:55:38
Hi, Problem statement: Observing softlockups while running heavy IOs on 8 SSD drives connected behind our LSI SAS 3004 HBA. System configuration: OS & kernel version: Fedora 23, v4.2.3-300.fc23.x86_64 NUMA : disabled, CPUs : 24 logical cpus, SCSI_MQ: enabled Driver : mpt3sas, MSIx vectors: we have enabled only 2 MSIx vectors using driver module parameter 'max_msix_vectors' set to 2, IRQbalance version: v1.0.9 IRQbalance policy : 'subset' rq_affinity : 2 mpt3sas IRQs info: irq number = 219, smp_affinity = 000040 affinity_hint = 000fff irq number = 220, smp_affinity = 001000 affinity_hint = fff000 issued IOs using fio tool with below parameters, iodepth=128 direct=1 runtime=300 group_reporting ioengine=libaio cpus_allowed=6,7,8,9,10,11,18,19,20,21,22,23 time_based [Ran-Read-4k-IOPs] numjobs=24 rw=randread bs=4k My Analysis: Observing a loop in the IO path, i.e only one CPU is busy with processing the interrupts and other CPUs (in the affinity_hint mask) are busy with sending the IOs (these CPUs are not yet all receiving