diff options
author | Shehjar Tikoo <shehjart@zresearch.com> | 2009-04-01 14:01:05 -0700 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-02 19:19:29 +0530 |
commit | 9f2ef60274dae8b302d691ba8d266cd76dcd7c4b (patch) | |
tree | 18eda89f71258fa4b631faa9e38dd09d8c2e04ee /xlators/cluster/afr/src | |
parent | b1bbd77f16a13f8109d1e2e1b4ed869db1e86645 (diff) |
io-threads: Support autoscaling volfile options
This commit finally makes the autoscaling feature visible to the user.
Know that we're now using two separate thread-pools, one for data
requests, called ordered thread-pool in io-threads, and the other
for meta-data requests, called un-ordered thread-pool.
We do not expose this information to the user to keep io-threads
simple. Consequently, when the user specifies a min-threads and
max-threads value, the number of threads assigned to each pool
is equal, i.e. both pools start with their min threads set to half of
the option "min-threads" and both scale up their threads at most up to
half of option "max-threads".
Volfile options will be added to the wiki and user-guide.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/cluster/afr/src')
0 files changed, 0 insertions, 0 deletions