You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Liu Tao (JIRA)" <ji...@apache.org> on 2011/06/30 14:42:28 UTC
[jira] [Created] (SSHD-135) The performance of uploading and
downloading files in SFTP subsystem is very poor.
The performance of uploading and downloading files in SFTP subsystem is very poor.
-----------------------------------------------------------------------------------
Key: SSHD-135
URL: https://issues.apache.org/jira/browse/SSHD-135
Project: MINA SSHD
Issue Type: Improvement
Affects Versions: 0.5.0
Environment: OS: Windows 7
JDK:
Reporter: Liu Tao
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SSHD-135) The performance of uploading and
downloading files in SFTP subsystem is very poor.
Posted by "Liu Tao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SSHD-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Liu Tao updated SSHD-135:
-------------------------
Attachment: sftp.patch
Patch to use a single OutputStream and InputStream in the SftpSubsystem
> The performance of uploading and downloading files in SFTP subsystem is very poor.
> -----------------------------------------------------------------------------------
>
> Key: SSHD-135
> URL: https://issues.apache.org/jira/browse/SSHD-135
> Project: MINA SSHD
> Issue Type: Improvement
> Affects Versions: 0.5.0
> Environment: OS: Windows 7
> JDK:
> java version "1.6.0_26"
> Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
> Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
> Reporter: Liu Tao
> Attachments: sftp.patch
>
>
> When I use FileZilla to upload a big file to the Mina Sftpd, the speed is only 30K/S.
> The main reason is that the file is opened and closed frequently when SftpSubsystem handles SSH_FXP_WRITE message.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SSHD-135) The performance of uploading and
downloading files in SFTP subsystem is very poor.
Posted by "Liu Tao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SSHD-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Liu Tao updated SSHD-135:
-------------------------
Description:
When I use FileZilla to upload a big file to the Mina Sftpd, the speed is only 30K/S.
The main reason is that the file is opened and closed frequently when SftpSubsystem handles SSH_FXP_WRITE message.
was:
When I use FileZilla to upload big file to the Mina Sftpd, the speed is only 30K/S.
> The performance of uploading and downloading files in SFTP subsystem is very poor.
> -----------------------------------------------------------------------------------
>
> Key: SSHD-135
> URL: https://issues.apache.org/jira/browse/SSHD-135
> Project: MINA SSHD
> Issue Type: Improvement
> Affects Versions: 0.5.0
> Environment: OS: Windows 7
> JDK:
> java version "1.6.0_26"
> Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
> Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
> Reporter: Liu Tao
>
> When I use FileZilla to upload a big file to the Mina Sftpd, the speed is only 30K/S.
> The main reason is that the file is opened and closed frequently when SftpSubsystem handles SSH_FXP_WRITE message.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (SSHD-135) The performance of uploading and
downloading files in SFTP subsystem is very poor.
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SSHD-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved SSHD-135.
----------------------------------
Resolution: Fixed
Fix Version/s: 0.6.0
Assignee: Guillaume Nodet
Committing to https://svn.apache.org/repos/asf/mina/sshd/trunk ...
M sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java
M sshd-core/src/test/java/org/apache/sshd/SftpTest.java
Committed r1163306
> The performance of uploading and downloading files in SFTP subsystem is very poor.
> -----------------------------------------------------------------------------------
>
> Key: SSHD-135
> URL: https://issues.apache.org/jira/browse/SSHD-135
> Project: MINA SSHD
> Issue Type: Improvement
> Affects Versions: 0.5.0
> Environment: OS: Windows 7
> JDK:
> java version "1.6.0_26"
> Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
> Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
> Reporter: Liu Tao
> Assignee: Guillaume Nodet
> Fix For: 0.6.0
>
> Attachments: sftp.patch
>
>
> When I use FileZilla to upload a big file to the Mina Sftpd, the speed is only 30K/S.
> The main reason is that the file is opened and closed frequently when SftpSubsystem handles SSH_FXP_WRITE message.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SSHD-135) The performance of uploading and
downloading files in SFTP subsystem is very poor.
Posted by "Liu Tao (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SSHD-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Liu Tao updated SSHD-135:
-------------------------
Description:
When I use FileZilla to upload big file to the Mina Sftpd, the speed is only 30K/S.
Environment:
OS: Windows 7
JDK:
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
was:
OS: Windows 7
JDK:
> The performance of uploading and downloading files in SFTP subsystem is very poor.
> -----------------------------------------------------------------------------------
>
> Key: SSHD-135
> URL: https://issues.apache.org/jira/browse/SSHD-135
> Project: MINA SSHD
> Issue Type: Improvement
> Affects Versions: 0.5.0
> Environment: OS: Windows 7
> JDK:
> java version "1.6.0_26"
> Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
> Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
> Reporter: Liu Tao
>
> When I use FileZilla to upload big file to the Mina Sftpd, the speed is only 30K/S.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SSHD-135) The performance of uploading and
downloading files in SFTP subsystem is very poor.
Posted by "Bobby Powers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SSHD-135?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13058671#comment-13058671 ]
Bobby Powers commented on SSHD-135:
-----------------------------------
interesting. We could try creating a single outputstream when SSH_FXP_OPEN is opened with a write flag, closing it on SSH_FXP_CLOSE. Would you be interested in contributing a patch? If not I'll take a stab at this this weekend.
> The performance of uploading and downloading files in SFTP subsystem is very poor.
> -----------------------------------------------------------------------------------
>
> Key: SSHD-135
> URL: https://issues.apache.org/jira/browse/SSHD-135
> Project: MINA SSHD
> Issue Type: Improvement
> Affects Versions: 0.5.0
> Environment: OS: Windows 7
> JDK:
> java version "1.6.0_26"
> Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
> Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
> Reporter: Liu Tao
>
> When I use FileZilla to upload a big file to the Mina Sftpd, the speed is only 30K/S.
> The main reason is that the file is opened and closed frequently when SftpSubsystem handles SSH_FXP_WRITE message.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira