You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Lyor Goldstein (Jira)" <ji...@apache.org> on 2020/06/16 17:42:00 UTC
[jira] [Commented] (SSHD-1018) Performance comparison between
Mavericks and SSHD for write operation
[ https://issues.apache.org/jira/browse/SSHD-1018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17137786#comment-17137786 ]
Lyor Goldstein commented on SSHD-1018:
--------------------------------------
There are so many questions that I don't know where to start
* Are you comparing SFTP in both cases ?
* Have you tried using {{SftpRemotePathChannel}} - it has improved performance
* Have you tweaked SSHD for best performance ?
** Threads
** Memory
** Timeouts
* What size of file are you testing ?
** Using a {{ByteArrayOutputStream}} has overhead
* Is the setup the same ?
* What is the difference in performance ?
Finally - I don't know what _Mavericks_ is, so it is difficult to say what it does and how. Obviously O/S-specific, C/C++ fine tuned code will almost always outperform generic managed Java code.
> Performance comparison between Mavericks and SSHD for write operation
> ---------------------------------------------------------------------
>
> Key: SSHD-1018
> URL: https://issues.apache.org/jira/browse/SSHD-1018
> Project: MINA SSHD
> Issue Type: Question
> Reporter: Sandeep
> Priority: Major
> Attachments: image-2020-06-16-20-06-48-675.png
>
>
> For one of our client we have migrated Mavericks to SSHD but as per there performance comparison SSHD taking long time to write whole file.
> We are using following code to write the file.
> !image-2020-06-16-20-06-48-675.png|width=342,height=116!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org