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

ASF subversion and git services commented on ARTEMIS-994:
---------------------------------------------------------

Commit a610748c09ef18f0f4f589a9bf6ac2a745b52977 in activemq-artemis's branch 
refs/heads/master from [~teaandcoffee]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=a610748 ]

ARTEMIS-994 Support Netty Native Epoll on Linux

The following changes are made to support Epoll.

Refactored SharedNioEventLoopGroup into renamed SharedEventLoopGroup to be 
generic (as so we can re-use for both Nio and Epoll)

Add support and toggles for Epoll in NettyAcceptor and NettyConnector (with 
fall back to NIO if cannot load Epoll)

Removal from code of PartialPooledByteBufAllocator, caused bad address when 
doing native, and no longer needed - see jira discussion

New Connector Properties:

useEpoll - toggles to use epoll or not, default true (but we failback to nio 
gracefully)
remotingThreads = same behaviour as nioRemotingThreads. Previous property is 
depreated.
useGlobalWorkerPool = same behaviour as useNioGlobalWorkerPool. Old property is 
deprecated.

New Acceptor Properties:

useEpoll - toggles to use epoll or not, default true (but we failback to nio 
gracefully)
useGlobalWorkerPool = same behaviour as useNioGlobalWorkerPool but for Epoll.

This closes #1093


> 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: 1.5.3, 2.0.0
>            Reporter: Michael Andre Pearce (IG)
>             Fix For: 2.next
>
>
> 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)

Reply via email to