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

min yun law commented on SSHD-1049:
-----------------------------------

Hi, Tsing Wang, I re-run my testing code in three different exadata machine 
racks with Mina SSHD v2.5 and 5.8G zip file( all has the updated linux imaging 
version, and let me named the three machines as: M1, M2, M3).
for M1, SFTP file upload take around 116s, and SCP file upload takes around 
100s. SCP has a little fast than SFTP and I dont see any failure using both 
sftp and scp with many times unit testing. I see some KeyEstablished events 
(implemented from SessionListener) during file transfer. so SSHD v2.5 did solve 
the speed issues.

for M2, it is very interesting, here is testing result:
five time using sftp as following spend time with 5.8G data: 1112s, 130s, 125s, 
130s, 1080s
four time using scp as following spend time with 5.8G data: 1073s, 1065s , 
145s, 1039s

for M3, which is sad because it was my primary testing environment when I was 
trying to replace Jsch with Mina SSHD since verion 2.1. With 2.5, it still 
cannot pass the sftp testing, which always failed with session disconnected 
with message as "reason code: 2, msg: Detected IdleTimeout after 600497/600000 
ms."
When using SCP, it works using 144s for 5.8G file. that was reason I use SCP in 
my project, however; sometime I saw the same issue like in SFTP that session 
will disconnected uring file upload.

> comparison between SftpClient and sftp comand in Windows10
> ----------------------------------------------------------
>
>                 Key: SSHD-1049
>                 URL: https://issues.apache.org/jira/browse/SSHD-1049
>             Project: MINA SSHD
>          Issue Type: Question
>    Affects Versions: 2.5.1
>         Environment: windows10
> centos 7
>            Reporter: Tsing Wang
>            Priority: Minor
>
> # try with the latest version 2.5.1
>  # comparison test
>  ## method 1: using cmd.exe in windows, sftp username@host, then put large 
> file, it displays about 70-80M/s
>  ## method 2: using the performance test class in github 
> (SftpPerformanceTest), cal t1-t0. for 100MB file, it takes about 5s to 
> finish. So the rate will close to 20M/s - 30M/s,  it do improve with old one( 
> speed up about 3 times).
> the test result's throughput is about 1/3 compared with sftp command, so I am 
> curious about what's limit for sftpclient.
>  
> Also I setup a simple sshd server in target linux machine, the upload rate is 
> also about 1/3. I wonder what's expect for sftp performance.



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