diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2009-05-19 12:42:14 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-05-20 11:42:25 -0700 |
commit | 62a920642a54eac6e4b24a3590f17d628202a210 (patch) | |
tree | d014c7c2515f4cf5f605e81b98ff3e6c722cef37 /xlators/performance | |
parent | 9a916de3f35dbbfe4399696891a0937d650bf72e (diff) |
io-threads: Reduce default max for threads to 64
We've had complaints from users who've used
autoscaling option with default settings for min and
max threads, about high memory consumption because of
the large default value for max-threads.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'xlators/performance')
-rw-r--r-- | xlators/performance/io-threads/src/io-threads.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/io-threads/src/io-threads.h b/xlators/performance/io-threads/src/io-threads.h index 79c20275dd2..c5ca760000a 100644 --- a/xlators/performance/io-threads/src/io-threads.h +++ b/xlators/performance/io-threads/src/io-threads.h @@ -62,7 +62,7 @@ typedef enum { #define IOT_MIN_THREADS 2 #define IOT_DEFAULT_THREADS 16 -#define IOT_MAX_THREADS 256 +#define IOT_MAX_THREADS 64 #define IOT_SCALING_OFF _gf_false #define IOT_SCALING_ON _gf_true |