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

Phil Sorber commented on TS-3044:
---------------------------------

Ok, you've convinced me. I am +1 on this patch. If you want to commit this as 
is, I will fix the perror() in the AIO_MODE_NATIVE code.

> 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: Phil Sorber
>             Fix For: 5.2.0
>
>         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.3.4#6332)

Reply via email to