CHUNK_REQUEST_THREAD_POOL_SIZE_TOTAL?

    Joined
    Feb 10, 2017
    Messages
    350
    Reaction score
    775
    • Community Content - Bronze 2
    • Legacy Citizen 5
    • Likeable
    Any one able to provide further information or insight on this particular setting?
    `CHUNK_REQUEST_THREAD_POOL_SIZE_TOTAL = 10 //Thread pool size for chunk requests (from disk and generated)`
    Should it be based off of number of CPUs or is it related or proportional to
    `CHUNK_REQUEST_THREAD_POOL_SIZE_CPU = 2` ?
     

    AndyP

    Customer Experience Manager
    Joined
    Aug 15, 2013
    Messages
    1,199
    Reaction score
    264
    • Schine
    • Wired for Logic
    The first setting
    CHUNK_REQUEST_THREAD_POOL_SIZE_TOTAL
    defined the thread pool size for the chunk generation.
    Keeping it on default (25) is fine for most use cases.

    CHUNK_REQUEST_THREAD_POOL_SIZE_CPU
    Is the number of threads that will be used for generation.
    It should be ideally one below your physical cores. (To have one core free for the main thread, ideally)

    The only need to change the latter value would be for CPUs with more than usual cores (like 8+) to increase the loading and generation performance a bit.
    The first value should not be increased unless you have a higher value for CPU than the TOTAL.
    But you would have to try higher values then and watch the performance,
    as increasing the total also increases the memory usage for generating and loading.

    - Andy
     
    Joined
    Feb 10, 2017
    Messages
    350
    Reaction score
    775
    • Community Content - Bronze 2
    • Legacy Citizen 5
    • Likeable
    Thanks Andy, just one query on your response,
    "Keeping it on default (25) is fine for most use cases."?
    In the settings I have on my servers the default appears to be 10. Can you confirm, is the default 10 or 25?
     

    AndyP

    Customer Experience Manager
    Joined
    Aug 15, 2013
    Messages
    1,199
    Reaction score
    264
    • Schine
    • Wired for Logic
    The default is 10.
    Indeed.

    It was changed from 25 to 10 at some point. (>1 year ago)
    Copied this from my "release installation" and this has never needed a reinstall or reset of config files, so it has still the initial value when the setting was added, my fault.

    - Andy