[
https://issues.apache.org/jira/browse/DIRMINA-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12829113#action_12829113
]
Omry Yadan commented on DIRMINA-762:
------------------------------------
I compared apples to apples.
the scenario with 64 persistent connections firing messages without any delay
was run against both servers.
the problem with open-send-receive-close test is that it's very easy to hit
that pesky "java.net.NoRouteToHostException: Cannot assign requested address"
I tweaked my linux tcp stack a bit and to better handle the
open-send-receive-close use case (reuse time_wait and crap like that).
the test was 3 threads a delay of 5 ms between messages.
both servers had similar throughput (~560/sec for netty, ~540/sec for mina).
this is nearly optimal, the maximum number of messages for this setup would be
(1000/5)* 3=600.
this indicates that I could get higher had I worked around the local ports
issue so in any case it's not a very good te
> WARN org.apache.mina.core.service.IoProcessor - Create a new selector.
> Selected is 0, delta = 0
> ------------------------------------------------------------------------------------------------
>
> Key: DIRMINA-762
> URL: https://issues.apache.org/jira/browse/DIRMINA-762
> Project: MINA
> Issue Type: Bug
> Environment: Linux (2.6.26-2-amd64), java version 1.6.0_12 and also
> 1.6.0_18.
> Reporter: Omry Yadan
> Priority: Critical
> Fix For: 2.0.0-RC2
>
> Attachments: BufferCodec.java, NettyTestServer.java,
> RateCounter.java, Screen shot 2010-02-02 at 7.48.39 PM.png, Screen shot
> 2010-02-02 at 7.48.46 PM.png, Screen shot 2010-02-02 at 7.48.59 PM.png,
> Screen shot 2010-02-02 at 7.49.13 PM.png, Screen shot 2010-02-02 at 7.49.18
> PM.png, Server.java, StressClient.java
>
>
> Mina server gets into a bad state where it constantly prints :
> WARN org.apache.mina.core.service.IoProcessor - Create a new selector.
> Selected is 0, delta = 0
> when this happens, server throughput drops significantly.
> to reproduce run the attached server and client for a short while (30 seconds
> on my box).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.