[
https://issues.apache.org/jira/browse/DIRMINA-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833532#action_12833532
]
Omry Yadan commented on DIRMINA-762:
------------------------------------
the problem I reported appears to be fixed, but this benchmark exposes another
performance issue:
configure it with 32 long connection, 0 short connection threads and 0 delay
between long connection messages:
// Number of long lived connections
static final int LONG_CONNECTIONS = 32;
// Number of threads that spawns short lived connections
static final int SHORT_CONNECTIONS_THREADS = 0;
// number of ms to sleep before sending a message to the server in the
long connection threads
static final int LONG_CONNECITON_THREAD_MESSAGE_DELAY = 0;
Throughput it very low with this setup (about 10 messages/sec).
With the attached Netty test server you I reached 200k-300k messages/sec with
this setup.
> 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.