From d8b5dd28b44158cb2445ebdf1b3aeba7cf4ad9ce Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 11 Sep 2012 15:58:29 +0000 Subject: [PATCH] ib_srpt README: Add more performance notes git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4511 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/README | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srpt/README b/srpt/README index bcff36273..27e55dda1 100644 --- a/srpt/README +++ b/srpt/README @@ -321,6 +321,9 @@ For more information, see also: Performance Notes - Target Side ------------------------------- +* Building the SCST core and the ib_srpt target driver in release mode + improves performance compared to debug mode. + * When using high-latency storage devices (hard disks), the default value choosen by SCST for DEVICE.threads_num should be fine. When using low-latency storage devices though (SSDs), DEVICE.threads_num should be set @@ -360,7 +363,9 @@ Performance Notes - Both Sides * Disabling CONFIG_SCHED_DEBUG and CONFIG_SCHEDSTATS in the kernel config helps. -* Use the SLAB memory allocator instead of SLUB. +* Disable CONFIG_IRQSOFF_TRACER such that CONFIG_TRACE_IRQFLAGS is disabled. + +* Using the SLAB memory allocator instead of SLUB may help. Frequently Asked Questions