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

Lyor Goldstein commented on SSHD-1075:
--------------------------------------

Note that increasing buffer size does not necessarily increase throughput - 
1st, SSH defines a max. packet size of ~32K, and 2nd, the TCP itself cannot 
send more than ~1400 bytes per packet... In other words, you might decide to 
use a 1MB buffer, but it will be broken down to smaller and smaller packets 
anyway. Each packet has a (more or less) fixed processing and delivery overhead 
so increasing buffer size does not necessarily increase throughput.

> how to configure TCP receive buffer, SSH receive buffer, and SFTP receive 
> buffer ?
> ----------------------------------------------------------------------------------
>
>                 Key: SSHD-1075
>                 URL: https://issues.apache.org/jira/browse/SSHD-1075
>             Project: MINA SSHD
>          Issue Type: Question
>            Reporter: Sreedhar J
>            Priority: Major
>
> Where do I specify the  buffer sizes for Apache SSHD SFTP Server?   
> i.e  TCP receive buffer,
> SSH receive buffer, 
> SFTP receive buffer
> For TCP Receive Buffer  i can map it to FactoryManager. 
> NIO2_READ_BUFFER_SIZE,   But did not find any for SSH and SFTP Receiver 
> Buffers .
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to