GitHub user clebertsuconic opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1128

    Performance improvements

    I have extensively been working on running quiver 
(https://github.com/ssorj/quiver) to validate Proton.
    
    It came handy also that @michaelandrepearce had sent us a PR for epoll, and 
that was coincidently nice with the performance work I was doing around artemis 
and the recently refactoring made.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/clebertsuconic/activemq-artemis perf

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1128.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1128
    
----
commit c1a3ee0200dd38e7711f0fbc739606f2fdb776b8
Author: Clebert Suconic <[email protected]>
Date:   2017-03-23T14:31:24Z

    ARTEMIS-1056 Removing PartialPooledByteBufAllocator

commit 4a245563648df425867098bb8b977ed90d6af623
Author: Michael André Pearce <[email protected]>
Date:   2017-03-15T06:06:45Z

    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

commit 13c0be566b07730d2d7a6deec8b894f650e4d245
Author: Clebert Suconic <[email protected]>
Date:   2017-03-23T20:32:42Z

    ARTEMIS-994 Tidy up on epoll
    
    - improved logging
    - renamed properties and tidy up on configurations

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to