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

Guillaume Nodet commented on SSHD-1169:
---------------------------------------

It would help a lot if you could set up a unit test that we could run in our 
build to actually replicate and debug the problem.

> Sftp Server throughput is lagging for concurrent threads
> --------------------------------------------------------
>
>                 Key: SSHD-1169
>                 URL: https://issues.apache.org/jira/browse/SSHD-1169
>             Project: MINA SSHD
>          Issue Type: Improvement
>    Affects Versions: 2.5.1
>            Reporter: Susmit Sarkar
>            Priority: Blocker
>         Attachments: image-2021-05-18-20-10-43-416.png, 
> image-2021-05-18-22-37-08-832.png
>
>
> Hello Team,
> We are seeing a considerably low throughput for large-sized file (100Mb sized 
> file during concurrent execution)
> We did some load testing and the throughputs sometimes increase (when we do a 
> VM reboot for 1st run) and sometimes its pretty low compare to commercial 
> servers
>  
> *2000 cycle runs | 20 concurrent threads | 100mb files == Throughput is 0.94 
> documents per seconds*
> For a commercial server (like Maverick), it's around 1.17 documents per 
> second.
> Now if we do a server reboot and re-execute the test then the throughput 
> increases by leaps and bounds
> *2000 cycle runs | 20 concurrent threads | 100 MB files == Throughput is 1.90 
> documents per seconds (More than 100 percent)*
> *cycle means 100 MB file upload times, 2000 means 2000times*100 MB which got 
> distributed by 20 concurrent sftp sessions*
>  I am using IO Factory as NIO2, and below are the combinations for different 
> NIO worker threads
> !image-2021-05-18-22-37-08-832.png!
> We are pretty confused and need help. For small files, Apache performed very 
> well the throughput was 30 percent better than Maverick, but for large files, 
> we are seeing these issues sometimes (mostly with reboot it performs good, 
> but after that run its starts lagging)
> nio-workers ===> *varies from the chart above*
>  max-auth-requests ===> 3
>  Compression ===> NONE
>  max-concurrent-sessions ===> 2147483647
>   packet-size ===> 65536
>  idle-timeout ===> 300000
>  server-identification ===> SFTP Server
>  window-size ===> 4194304
> we are setting currently all this properties to *SshServer*, is there any 
> performance tuning parameter can be used?
>  



--
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