Changli Gao created THRIFT-3951:
-----------------------------------

             Summary: Improve the performance by eliminating unnecessary 
epoll_ctl(2) and epoll_wait(2)
                 Key: THRIFT-3951
                 URL: https://issues.apache.org/jira/browse/THRIFT-3951
             Project: Thrift
          Issue Type: Improvement
          Components: C++ - Library
         Environment: Linux 4.6 Debian 8.2
            Reporter: Changli Gao
            Priority: Minor


    In most cases, the socket is ready for the response, so we don't
    need to ask the kernel. In my echo micro-benchmark, this patch
    boosts the performance to 44k tps with 60% cpu usage from
    39k tps with 66% cpu usage by eliminating some unnecessary
    epoll_ctl(2) and epoll_wait(2).



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

Reply via email to