Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-281

Allow idle thread reuse

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 3.6.0.Beta1
    • 3.3.1.Final
    • None
    • None

    Description

      XNIO thread pool is configured to always have core size == max size, which causes thread count to always increase to maximum and idle threads are never allowed to die.

      This makes it impossible to configure the system so that there would be sufficient, small number of threads to handle requests, but have a big number of reserve threads. Huge number of threads is a waste of system resources and may prevent efficient use of CPU caches (thread stacks etc.).

      Attached is a patch that provides a workaround until XNIO can provide a real solution for the problem.

      Attachments

        Issue Links

          Activity

            People

              dlloyd@redhat.com David Lloyd
              armihu Arto Huusko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: