GitHub user rhtyd opened a pull request:

    https://github.com/apache/cloudstack/pull/1543

    CLOUDSTACK-9348: Make NioConnectio loop less aggressive

    - Reverts ea2286 that introduced a wakeup on each connection loop run.
    - In SSL handshake code removes delegated tasks to be run in separate 
threads.
    
    /cc @kiwiflyer @swill @jburwell and others for review
    
    @kiwiflyer please help me test this fix and share if it makes the 
NioConnection robust now, without having the selector consume a lot of CPU. 
Thanks.

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

    $ git pull https://github.com/shapeblue/cloudstack 
nio-fix-aggressive-cpu-use

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

    https://github.com/apache/cloudstack/pull/1543.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 #1543
    
----
commit 540d9572fd491db3ce182d26636fc74ada4e171c
Author: Rohit Yadav <rohit.ya...@shapeblue.com>
Date:   2016-05-13T03:24:24Z

    CLOUDSTACK-9348: Make NioConnectio loop less aggressive
    
    - Reverts ea2286 that introduced a wakeup on each connection loop run.
    - In SSL handshake code removes delegated tasks to be run in separate 
threads.
    
    Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com>

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to