You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (Updated) (JIRA)" <ji...@apache.org> on 2012/03/07 06:48:01 UTC

[jira] [Updated] (TS-1107) dynamically scale the number of net threads

     [ https://issues.apache.org/jira/browse/TS-1107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Peach updated TS-1107:
----------------------------

    Affects Version/s: 3.3.0

Push out to 3.3
                
> dynamically scale the number of net threads
> -------------------------------------------
>
>                 Key: TS-1107
>                 URL: https://issues.apache.org/jira/browse/TS-1107
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Core, Performance
>    Affects Versions: 3.3.0
>            Reporter: James Peach
>            Priority: Minor
>
> The number of net threads is calculated once at startup, but we ought to consider dynamically scaling the number of threads a runtime based on load.
> zwoop: right, that's what I meant (keep a counter of how many times epoll had no events, and treat that as an "idle" thread)
> zwoop: probably a multiplier of some setting (thread_idle_seconds or some such)
> zwoop: this would be a cool feature, if you have the time for it ;)
> zwoop: can keep the original calculations / settings as the "upper" limit I think
> zwoop: (the calculations can also easily be configured in records.config, so that people can modify that upper limit)
> zwoop: an ideal solution (backward compatible) would be to just add one new setting, <reap_idle_threads_seconds> or some such, default to 0 (off). With it not set, our normal logic applies. With it set, your stuff takes effect, but cap it at whatever the other settings are.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira