You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Alan M. Carroll (JIRA)" <ji...@apache.org> on 2016/08/17 17:53:21 UTC

[jira] [Updated] (TS-4260) Change event loop to always stall on waiting for I/O.

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

Alan M. Carroll updated TS-4260:
--------------------------------
    Fix Version/s:     (was: 7.0.0)
                   7.1.0

> Change event loop to always stall on waiting for I/O.
> -----------------------------------------------------
>
>                 Key: TS-4260
>                 URL: https://issues.apache.org/jira/browse/TS-4260
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Alan M. Carroll
>            Assignee: Alan M. Carroll
>             Fix For: 7.1.0
>
>
> Currently the event loop has two wait conditions, one a condition variable and the other I/O ({{epoll}} or equivalent). As far as I can tell the conditiona variable is useful only during start up when the I/O wait data is not yet available. The event loop should be changed to wait on one or the other but not both as this can create artificial latency when an event breaks one wait condition but not both.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)