jazzm0 commented on issue #686:
URL: https://github.com/apache/mina-sshd/issues/686#issuecomment-2720984516

   Ok, in fact now I tried with the above suggestion with `OutputStream os = 
       client.write("out.txt", 32768,
           SftpClient.OpenMode.Write, SftpClient.OpenMode.Create, 
SftpClient.OpenMode.Truncate)).` 
   
   It made a big difference in performance! I repeat now the same tests 5 
times, to get more accurate results. On the left hand side it's with 
BouncyCastleSecurityProviderRegistrar on the right hand side it's 
AndroidOpenSSLSecurityProviderRegistrar:
   
   2.9.0 -> 11486.820717968334 kB/s
   2.10.0 -> 5303.628254369023 kB/s    5255.074587674915 kB/s
   2.13.0 -> 5366.038707526245 kB/s     7824.817116975091 kB/s
   2.14.0 -> 4683.725743098117 kB/s      7135.910996529645 kB/s
   2.15.0 -> 4693.1596191998815 kB/s    7148.582695099384 kB/s
   
   Unfortunately 2.9.0 seem to have an issue with 
AndroidOpenSSLSecurityProviderRegistrar. I get an exception with a dependency 
issue.
   I'll profile the app, and look for the hotspots focusing on the versions 
between 2.9.0 and 2.10.0.
   
    Your help already improved the performance.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to