In libprocess libevent.cpp, is avoid to using epoll. These is the code: 

/home/suteng/code/mesos/3rdparty/libprocess/src/libevent.cpp

206   // TODO(jmlvanre): Allow support for 'epoll' once SSL related
207   // issues are resolved.
208   struct event_config* config = event_config_new();
209   event_config_avoid_method(config, "epoll");



-----邮件原件-----
发件人: Benjamin Mahler [mailto:bmah...@apache.org] 
发送时间: 2018年5月4日 3:33
收件人: dev <dev@mesos.apache.org>
主题: Re: libprocess libevent backend

Which issue are you referring to?

Libprocess uses libev by default, with --enable-libevent as a configure option 
to use libevent instead. Both of these backends should use epoll if the system 
has it available. Are you seeing otherwise?

On Thu, May 3, 2018 at 6:15 AM, Suteng <sut...@huawei.com> wrote:

> libprocess uie poll as libevent backend, can change to epoll to 
> improve performance ?
>
> There is a TODO issue, is resolved?
>
>
>
>
>
> Thanks,
>
> SU Teng
>
>
>
>
>
> Su Teng  00241668
>
>
>
> Distributed and Parallel Software Lab
>
> Huawei Technologies Co., Ltd.
>
> Email:sut...@huawei.com
>
>
>
>
>

Reply via email to