tomaswolf opened a new issue, #293:
URL: https://github.com/apache/mina-sshd/issues/293

   Looking through the GitHub build logs, there seems to be a problem with two 
tests on Linux, with the NIO2 or MINA transport back-ends. They show very poor 
performance:
   
   **org.apache.sshd.sftp.client.SftpTransferTest**
   ```
   Build                   NIO2       MINA      Netty
   
   ubuntu, java 8         ~300s       ~300s     ~70s
   ubuntu, java 11        ~300s       ~300s     ~50s
   ubuntu, java 17        ~300s       ~300s     ~50s
   
   windows, java 8         ~62s        ~67s     ~66s
   windows, java 11        ~49s        ~49s     ~43s
   windows, java 17        ~43s        ~44s     ~45s
   ```
   
   **org.apache.sshd.scp.client.ScpTest**
   ```
   Build                   NIO2       MINA      Netty
   
   ubuntu, java 8          ~19s        ~19s     ~11s
   ubuntu, java 11         ~19s        ~19s     ~11s
   ubuntu, java 17         ~19s        ~19s     ~11s
   
   windows, java 8         ~12s        ~12s     ~12s
   windows, java 11        ~12s        ~12s     ~12s
   windows, java 17        ~12s        ~12s     ~12s
   ```
   
   These are the only tests for which I see such discrepancies. It looks like 
the code is doing something that doesn't play well with NIO2 or MINA on Linux.
   
   It's not a new problem either; I could find this pattern also in the [build 
logs of 
2022-10-25](https://github.com/apache/mina-sshd/actions/runs/3318464369/jobs/5482485034)
 (commit 7ad3eadef) and also in even older builds. Though e.g. in a [build from 
2022-09-20](https://github.com/apache/mina-sshd/actions/runs/3089979040/jobs/4998289149)
 the differences are smaller (but still there; 120s instead of 300s, and 15s 
instead of 19s).
   
   The windows times and the Linux/Netty times appear to be about normal and 
are what I also see for NIO2 or MINA when building locally on OS X: 12s for 
ScpTest and about a minute for the SftpTransferTest.
   
   What is going on here?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to