From 86d9db6a09bf4b4fe0c320622cf151c117d5de96 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Thu, 27 Jan 2011 23:13:12 +0000 Subject: [PATCH] - Since max_tasklet_cmd is now per-CPU, it's better to decrease it to the value ksoftirqd has. - Docs update git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3231 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/README | 6 +++--- scst/src/scst_priv.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scst/README b/scst/README index 273d56596..341405a5e 100644 --- a/scst/README +++ b/scst/README @@ -395,9 +395,9 @@ following entries: initiators to allow processing commands on this CPU in soft-IRQ context in tasklets. If the count of the commands exceeds this value, then all of them will be processed only in SCST threads. This is to - to prevent possible starvation under heavy load and in some cases to - improve performance by more evenly spreading load over available - CPUs. + to prevent possible under heavy load starvation of processes on the + CPUs serving soft IRQs and in some cases to improve performance by + more evenly spreading load over available CPUs. - sgv - this is a root subdirectory for all SCST SGV caches diff --git a/scst/src/scst_priv.h b/scst/src/scst_priv.h index 58172740d..85a2db3a1 100644 --- a/scst/src/scst_priv.h +++ b/scst/src/scst_priv.h @@ -154,7 +154,7 @@ extern struct scst_acg *scst_default_acg; extern unsigned int scst_setup_id; #endif -#define SCST_DEF_MAX_TASKLET_CMD 20 +#define SCST_DEF_MAX_TASKLET_CMD 10 extern int scst_max_tasklet_cmd; extern spinlock_t scst_init_lock;