users@grizzly.java.net

do select spin on linux

From: John Franey <jjfraney_at_gmail.com>
Date: Thu, 9 Apr 2009 12:18:41 -0400

Hi,

I'm running stress tests on linux. At some point, cpu utilization goes
high. I've verified using the debugger that Controller.doSelect gets zero
keys back from handler's select.

Google search led me to this page at apache mina jira
DIRMINA-678<https://issues.apache.org/jira/browse/DIRMINA-678>.


Please see especially, this comment from Emannual Lecharmy (31/Mar/09 03:23
PM)<https://issues.apache.org/jira/browse/DIRMINA-678?focusedCommentId=12696711&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12696711>
.

So, I'm looking for this 'beautiful hack' in the Controller source code for
1.9.11 and am not seeing it. I think maybe I'm blind :) or the hack is in
grizzly 2.0? If its in 2.0, do you think I can make it fit into 1.9.11? Or
do you advise I try my application on 2.0 trunk?

Thanks,
John