You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Susmit Sarkar (Jira)" <ji...@apache.org> on 2021/03/01 20:46:00 UTC

[jira] [Comment Edited] (SSHD-1135) Configurable sshd transfer threads

    [ https://issues.apache.org/jira/browse/SSHD-1135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17293093#comment-17293093 ] 

Susmit Sarkar edited comment on SSHD-1135 at 3/1/21, 8:45 PM:
--------------------------------------------------------------

Thanks [~lgoldstein] . If all the threads in the pool are busy with other tasks, then the incoming task shall wait. So increasing the NI02 shall it increase the thread pool size?


was (Author: susmit07):
Thanks Lyor. If all the threads in the pool are busy with other tasks, then the incoming task shall wait. So increasing the NI02 shall it increase the thread pool size?

> Configurable sshd transfer threads
> ----------------------------------
>
>                 Key: SSHD-1135
>                 URL: https://issues.apache.org/jira/browse/SSHD-1135
>             Project: MINA SSHD
>          Issue Type: Question
>            Reporter: Susmit Sarkar
>            Priority: Critical
>
> Set the number of transfer threads. Once a socket has either been accepted or connected, the socket is registered with a transfer thread. This thread asynchronously performs all the IO for the socket. If all the permanent threads become fully loaded then additional threads will be created to handle additional connections and shutdown once they have no sockets to service.
>   
>  Is there any performance tuning parameter that we can use to leverage our above use case?
> I know if we use socketImplementation default (NIO2) there is a configuration value called {{nio-workers. Will it serve our purpose?}}
> And if so what are the upper boundary limits for the value nio-worker
>  
> (Property.integer("nio-workers", Runtime.getRuntime().availableProcessors() + X)



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

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