[
https://issues.apache.org/jira/browse/DIRMINA-681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834210#action_12834210
]
Mauritz Lovgren commented on DIRMINA-681:
-----------------------------------------
This is fun. I notice that a new WindowsSelectorImpl$SelectorThread is created
and started for exactly every 1000 connections. This seems to be a design
choice made by Sun for scaling selector for handling groups of thousands of
connections. I guess you guys were aware of this already? ;-)
> Strange CPU peak occuring at fixed interval when several thousand connections
> active
> ------------------------------------------------------------------------------------
>
> Key: DIRMINA-681
> URL: https://issues.apache.org/jira/browse/DIRMINA-681
> Project: MINA
> Issue Type: Task
> Components: Core
> Affects Versions: 2.0.0-M4, 2.0.0-RC1
> Environment: Windows Vista Ultimate 64-bit (on 64-bit Sun JDK
> 1.6.0_18). Intel Core 2 Quad Core Q9300 2,5 GHz, 8 GB RAM
> Reporter: Mauritz Lovgren
> Fix For: 2.0.0
>
> Attachments: screenshot-1.jpg, screenshot-2.jpg, screenshot-3.jpg,
> screenshot-4.jpg
>
>
> Observing strange CPU activity occuring at regular (seemingly fixed) interval
> with no protocol traffic activity.
> See attached window capture of task manager that shows this with 3000 active
> connections.
> Is there some kind of cleanup occuring within MINA core at a predefined
> interval?
> The 3000 connections in the example above connects within 250 seconds. A
> normal situation would be that these connections are established over a
> longer period of time, perhaps spreading the CPU peaks shown above as well,
> flattening the curve.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.