Details
-
Improvement
-
Resolution: Duplicate
-
Major
-
3.1.5, 4.1.1, 4.5.0
-
None
Description
ep-engine has four sets of executorThreads (reader, writer, nonIO, auxIO), and the size of each of these sets is evaluated at memcached startup time. As such while you /can/ change the numbers, it is necessary to restart the process.
This is not very flexible, and in general limits the ability to change these values in customer environments. If we could change the number of threads dynamically (e.g. via cbecptl this would be extremely useful.
Ideally we would allow increasing and decreasing the thread counts from some sane minimum up to the machine logical CPU count; but even if we could only increase thread count dynamically (once created you can't remove them) that would still be of significant value.