diff options
author | Shehjar Tikoo <shehjart@zresearch.com> | 2009-04-10 04:22:37 -0700 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-10 18:09:03 +0530 |
commit | a31e26f8df26b1229e9fbca60ff8bf462b234241 (patch) | |
tree | e5ebb4e6880b2fb276704349c72c40f5eebe8d42 /xlators/performance/io-threads | |
parent | e1977a4e75637109889b581201e44e24506398c8 (diff) |
io-threads: Reduce default min and max threads
Going by the memory usage for each threads, it is prudent to
have lower number of threads by default and let users who understand
the memory consequences increase the thread count for themselves.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/performance/io-threads')
-rw-r--r-- | xlators/performance/io-threads/src/io-threads.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/performance/io-threads/src/io-threads.h b/xlators/performance/io-threads/src/io-threads.h index 3fff676f6cf..b6a7213b1ed 100644 --- a/xlators/performance/io-threads/src/io-threads.h +++ b/xlators/performance/io-threads/src/io-threads.h @@ -57,8 +57,8 @@ struct iot_request { #define skew_usec_idle_time(usec) ((usec) + (random () % MAX_IDLE_SKEW)) #define IOT_DEFAULT_IDLE 180 /* In secs. */ -#define IOT_MIN_THREADS 32 -#define IOT_MAX_THREADS 512 +#define IOT_MIN_THREADS 16 +#define IOT_MAX_THREADS 256 #define IOT_SCALING_OFF _gf_false #define IOT_SCALING_ON _gf_true |