[ https://issues.apache.org/jira/browse/HARMONY-4879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aleksey Shipilev updated HARMONY-4879:
--------------------------------------
Attachment: selectors-epoll-2.patch
selectors-epoll-2.patch
This version is early draft and NOT intended for the inclusion, since result handling could
be O(n^2) in the worst case, that would be solved later. Nevertheless, the performance on
select() operations has been improved dramatically.
> [classlib][nio] epoll-based Selector
> ------------------------------------
>
> Key: HARMONY-4879
> URL: https://issues.apache.org/jira/browse/HARMONY-4879
> Project: Harmony
> Issue Type: Improvement
> Components: Classlib
> Environment: Linux
> Reporter: Aleksey Shipilev
> Attachments: selectors-epoll-2.patch
>
>
> As the part of Linux Scalability Project, kernel developers had implemented the epoll()
I/O multiplexing facility (http://lse.sourceforge.net/epoll/index.html), which scales much
better than legacy poll() and select(). Attached patch implements epoll() support for java.nio.channels.Selector,
which can be turned on with option:
> -Djava.nio.channels.spi.SelectorProvider=org.apache.harmony.nio.internal.EpollSelectorProviderImpl
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
|