You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Suteng <su...@huawei.com> on 2018/05/03 13:15:56 UTC

libprocess libevent backend

libprocess uie poll as libevent backend, can change to epoll to improve performance ?
There is a TODO issue, is resolved?

[cid:image001.png@01D3E323.E3736F30]

Thanks,
SU Teng

[cid:image002.png@01D3E323.E3736F30]


Su Teng  00241668


Distributed and Parallel Software Lab
Huawei Technologies Co., Ltd.
Email:suteng@huawei.com<ma...@huawei.com>




Re: 答复: libprocess libevent backend

Posted by Benjamin Mahler <bm...@apache.org>.
Thanks, will look into getting this re-enabled.

Please feel free to try out the fix and let us know if you see any issues.

On Thu, May 3, 2018 at 11:35 PM, Suteng <su...@huawei.com> wrote:

> Create an issue
> https://issues.apache.org/jira/browse/MESOS-8881
>
> -----邮件原件-----
> 发件人: Benjamin Mahler [mailto:bmahler@apache.org]
> 发送时间: 2018年5月4日 11:47
> 收件人: Joris Van Remoortere <jo...@gmail.com>;
> dev@mesos.apache.org
> 主题: Re: libprocess libevent backend
>
> +Joris
>
> Wow, Joris do you know why this is disabled? What were the issues?
>
> Suteng, can you file a JIRA ticket?
>
> On Thu, May 3, 2018 at 6:26 PM Suteng <su...@huawei.com> wrote:
>
> >
> > 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:bmahler@apache.org]
> > 发送时间: 2018年5月4日 3:33
> > 收件人: dev <de...@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 <su...@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:suteng@huawei.com
> > >
> > >
> > >
> > >
> > >
> >
>

答复: libprocess libevent backend

Posted by Suteng <su...@huawei.com>.
Create an issue
https://issues.apache.org/jira/browse/MESOS-8881

-----邮件原件-----
发件人: Benjamin Mahler [mailto:bmahler@apache.org] 
发送时间: 2018年5月4日 11:47
收件人: Joris Van Remoortere <jo...@gmail.com>; dev@mesos.apache.org
主题: Re: libprocess libevent backend

+Joris

Wow, Joris do you know why this is disabled? What were the issues?

Suteng, can you file a JIRA ticket?

On Thu, May 3, 2018 at 6:26 PM Suteng <su...@huawei.com> wrote:

>
> 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:bmahler@apache.org]
> 发送时间: 2018年5月4日 3:33
> 收件人: dev <de...@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 <su...@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:suteng@huawei.com
> >
> >
> >
> >
> >
>

Re: libprocess libevent backend

Posted by Benjamin Mahler <bm...@apache.org>.
+Joris

Wow, Joris do you know why this is disabled? What were the issues?

Suteng, can you file a JIRA ticket?

On Thu, May 3, 2018 at 6:26 PM Suteng <su...@huawei.com> wrote:

>
> 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:bmahler@apache.org]
> 发送时间: 2018年5月4日 3:33
> 收件人: dev <de...@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 <su...@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:suteng@huawei.com
> >
> >
> >
> >
> >
>

答复: libprocess libevent backend

Posted by Suteng <su...@huawei.com>.
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:bmahler@apache.org] 
发送时间: 2018年5月4日 3:33
收件人: dev <de...@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 <su...@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:suteng@huawei.com
>
>
>
>
>

Re: libprocess libevent backend

Posted by Benjamin Mahler <bm...@apache.org>.
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 <su...@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:suteng@huawei.com
>
>
>
>
>