You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "John Plevyak (JIRA)" <ji...@apache.org> on 2014/08/26 04:21:58 UTC

[jira] [Commented] (TS-3044) linux native AIO should use eventfd if available to signal thread

    [ https://issues.apache.org/jira/browse/TS-3044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14110181#comment-14110181 ] 

John Plevyak commented on TS-3044:
----------------------------------

Assigned to weijin for review as he was in charge of the native linux AIO and can assess the impact.  As I remember, this isn't enabled by default because of the latency concerns by Leif.  With this patch, if the latency concerns are addressed, we might want to enable this feature by default.

> linux native AIO should use eventfd if available to signal thread
> -----------------------------------------------------------------
>
>                 Key: TS-3044
>                 URL: https://issues.apache.org/jira/browse/TS-3044
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Cache
>            Reporter: John Plevyak
>            Assignee: weijin
>         Attachments: native-aio-eventfd.patch
>
>
> linux native AIO has the ability to signal the event thread to get off the poll and service the disk via the io_set_eventfd() call.  linux native AIO scales better than the thread-based IO, but the current implementation can introduce delays on lightly loaded systems because of the thread is waiting on epoll().   This can be remedied by using io_set_eventfd



--
This message was sent by Atlassian JIRA
(v6.2#6252)