Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3044

Linux native AIO should use eventfd if available to signal thread

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.2.0
    • Cache
    • None

    Description

      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

      Attachments

        1. native-aio-eventfd.patch
          3 kB
          John Plevyak

        Activity

          People

            psudaemon Phil Sorber
            jplevyak John Plevyak
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: