[ 
https://issues.apache.org/jira/browse/SSHD-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Susmit Sarkar closed SSHD-1153.
-------------------------------
    Resolution: Fixed

> NIO2 IOServiceFactory, NIO Worker Threads and the performance
> -------------------------------------------------------------
>
>                 Key: SSHD-1153
>                 URL: https://issues.apache.org/jira/browse/SSHD-1153
>             Project: MINA SSHD
>          Issue Type: Question
>            Reporter: Susmit Sarkar
>            Assignee: Jonathan Valliere
>            Priority: Minor
>         Attachments: image-2021-03-29-23-52-39-814.png, 
> image-2021-03-29-23-54-01-301.png, image-2021-03-29-23-55-16-337.png, 
> image-2021-03-29-23-55-33-299.png
>
>
> IoServiceFactoryFactory ==> *NIO2, MINA, NETTY*
> How does this works internally, and how performance will be affected with the 
> different IoServiceFactoryFactory.
> We did lots of performance testing and found NIO2 is the best performing of 
> the 3? Why is it the best of the other 2, and why Apache selects it as 
> default. (Tested with 50-75 concurrent threads. Did 2 types of test *[1.] PUT 
> for 1.5kb files for 75 concurrent threads [2.] PUT for 100 MB files for 40-50 
> concurrent threads*)
> How do NIO Worker Threads affect the performance? Attaching a screenshot from 
> the thread dump which I took
> !image-2021-03-29-23-52-39-814.png!
> All the threads in park state and some are runnable in different phases of 
> execution. I am not able to decipher what does the stacks mean:
> The details which I got are (*PARKED*):
>  !image-2021-03-29-23-54-01-301.png!
> For *RUNNABLE:*
> *!image-2021-03-29-23-55-33-299.png!*
> *Lastly, I want to bring this to notice not all threads are used out of 75 
> threads I see 50 to be in runnable and the remaining 25 to be in the parked 
> state, is it the expected behavior?*
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to