-
Notifications
You must be signed in to change notification settings - Fork 126
Add PollsetSelector implementation to resolve the performance degradation #1000
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: openj9
Are you sure you want to change the base?
Conversation
|
Pls fix the line endings check failures. |
|
jenkins test sanity,sanity.system aix jdk11 |
|
jenkins compile xlinux,xmac,amac jdk11 |
|
See the xlinux compile failure |
|
Further testing in https://trssrtp1.fyre.ibm.com/resultSummary?parentId=69332b893f6dc49d2fb8e4b9 It's still running, but there is a stack overflow failure running renaissance-movie-lens_0, which I repeated in a grinder. The same test is passing with the previous nightly build. |
7ecd733 to
775e2a7
Compare
|
jenkins compile xlinux jdk11 |
23cc4cc to
7db7191
Compare
|
jenkins compile xlinux jdk11 |
|
jenkins compile xlinux,xmac,amac jdk11 |
@pshipton , the |
|
@pshipton , |
7db7191 to
a940f39
Compare
|
@pshipton |
|
jenkins test sanity,sanity.system xlinux jdk11 |
|
Pls see the failures in https://trssrtp1.fyre.ibm.com/output/test?id=693375823f6dc49d2fbe7452 java/nio/channels/AsynchronousServerSocketChannel/WithSecurityManager.java java/nio/channels/SocketChannel/CloseDuringConnect.java failed with a timeout. |
|
Further xlinux testing in https://trssrtp1.fyre.ibm.com/resultSummary?parentId=6938542a3e3bd23d4c2afa4b The same failures as #1000 (comment) plus others in the next comment. |
d51680e to
b4a4bd0
Compare
|
There are some additional failures on xlinux. java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java - timeout |
…tion This change brings the PollsetSelector implementation to address the performance degradation reported by a customer. The new implementation reduces thread stalls and CPU spikes by improving event handling. Validated with customer workloads showing full performance recovery. Signed-off-by: Shruthi <[email protected]>
b4a4bd0 to
d16e09a
Compare
|
@pshipton |
| private final SelChImpl channel; | ||
| private final SelectorImpl selector; | ||
| protected final SelChImpl channel; | ||
| public final SelectorImpl selector; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pls add a public access for this rather than making the variable public.
|
|
||
| private final SelChImpl channel; | ||
| private final SelectorImpl selector; | ||
| protected final SelChImpl channel; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a public accessor for this, why does it need to be protected?
| { | ||
| // The set of keys registered with this Selector | ||
| private final Set<SelectionKey> keys; | ||
| protected final Set<SelectionKey> keys; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do these need to be protected? This and selectedKeys.
This PR integrates a more efficient selector path in AIX using PollsetSelector to improve overall system responsiveness. It addresses the reported performance issues and ensures stable operation under high load scenarios.