You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Michael Andre Pearce (IG) (JIRA)" <ji...@apache.org> on 2017/02/24 13:36:44 UTC

[jira] [Commented] (ARTEMIS-994) Support Netty Native Epoll on Linux

    [ https://issues.apache.org/jira/browse/ARTEMIS-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15882676#comment-15882676 ] 

Michael Andre Pearce (IG) commented on ARTEMIS-994:
---------------------------------------------------

Some initial work to add this is:
https://github.com/michaelandrepearce/activemq-artemis/commit/0ac8f806d220c71b27133261e07a29a0813fff4d

As noted on the commit comments

According to : http://netty.io/wiki/native-transports.html

It should be fully compatible and a swap out, on testing though we note the below issue using Epoll.

This needs to be resolved.

===================

13:15:45,208 WARNING [io.netty.channel.DefaultChannelPipeline] An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.: io.netty.channel.unix.Errors$NativeIoException: read() failed: Bad address
at io.netty.channel.unix.Errors.newIOException(Errors.java:117) [netty-all-4.1.5.Final.jar:4.1.5.Final]
at io.netty.channel.unix.Errors.ioResult(Errors.java:138) [netty-all-4.1.5.Final.jar:4.1.5.Final]
at io.netty.channel.unix.FileDescriptor.read(FileDescriptor.java:172) [netty-all-4.1.5.Final.jar:4.1.5.Final]
at io.netty.channel.epoll.AbstractEpollChannel.doReadBytes(AbstractEpollChannel.java:258) [netty-all-4.1.5.Final.jar:4.1.5.Final]
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:962) [netty-all-4.1.5.Final.jar:4.1.5.Final]
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:386) [netty-all-4.1.5.Final.jar:4.1.5.Final]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:302) [netty-all-4.1.5.Final.jar:4.1.5.Final]
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:873) [netty-all-4.1.5.Final.jar:4.1.5.Final]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_102]

> Support Netty Native Epoll on Linux
> -----------------------------------
>
>                 Key: ARTEMIS-994
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-994
>             Project: ActiveMQ Artemis
>          Issue Type: New Feature
>          Components: Broker
>    Affects Versions: 2.0.0, 1.5.3
>            Reporter: Michael Andre Pearce (IG)
>
> Netty has support for native epoll, this is available only on linux systems. This is more performant.
> http://netty.io/wiki/native-transports.html
> This is inline with supporting asyncio with libaio using such native feature to bring perfomance benefits to artemis.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)