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

Changli Gao updated THRIFT-3951:
--------------------------------
    Attachment: 0001-Try-to-send-response-immediately.patch

> 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
>              Labels: patch, performance
>         Attachments: 0001-Try-to-send-response-immediately.patch
>
>
>     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