aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDmitry Bogdanov <[email protected]>2021-09-14 13:55:39 +0300
committerMartin K. Petersen <[email protected]>2021-09-22 00:04:56 -0400
commite76b7c5e25a1fa818bb3e727873a899cc89f5196 (patch)
tree4b5faf223d55af02c8bc96c973dee6bccdb2763e /tools/perf/scripts/python
parentee3dce9f38426776b48406441d0dc39c74940818 (diff)
scsi: efct: Decrease area under spinlock
Under the session level spinlock node->active_ios_lock in efct_scsi_io_alloc() we are taking another spinlock for the port. This leads to contention between sessions and even between I/Os in the same session. Reduce the locked region to active_ios list for which active_ios_lock is intended. Spinlock CPU usage decreases from 18% down to 13%. IOPS are increased from 220 kIOPS to 264 kIOPS for one LUN. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Roman Bolshakov <[email protected]> Reviewed-by: Ram Vegesna <[email protected]> Signed-off-by: Dmitry Bogdanov <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions