Re: [I] Perfomance file transfer [mina-sshd]

2024-05-16 Thread via GitHub
tomaswolf commented on issue #485: URL: https://github.com/apache/mina-sshd/issues/485#issuecomment-2115924971 So far I have not enough information to do anything. I have run my own speed tests, and I see no performance problem. Before I can do anything I need to be able to reproduce the

Re: [I] Perfomance file transfer [mina-sshd]

2024-05-16 Thread via GitHub
benz-ppi commented on issue #485: URL: https://github.com/apache/mina-sshd/issues/485#issuecomment-2115654272 Even with the changes you have suggested, transferring files with the SFTP Apache client software is significantly slower (> factor 3) than transferring files with jsched or

Re: [I] Perfomance file transfer [mina-sshd]

2024-04-23 Thread via GitHub
Holger-Benz commented on issue #485: URL: https://github.com/apache/mina-sshd/issues/485#issuecomment-2072475600 I'm sorry, you're right. We will open a new issue when we have the relevant debug data. -- This is an automated message from the Apache Git Service. To respond to the message,

Re: [I] Perfomance file transfer [mina-sshd]

2024-04-23 Thread via GitHub
tomaswolf commented on issue #485: URL: https://github.com/apache/mina-sshd/issues/485#issuecomment-2072445000 > Any thoughts on my above comment especially on """ Is there any way to force/override the file upload/download in sftp sessions through put/get commands to use Files.copy() way

Re: [I] Perfomance file transfer [mina-sshd]

2024-04-23 Thread via GitHub
tomaswolf commented on issue #485: URL: https://github.com/apache/mina-sshd/issues/485#issuecomment-2072436702 > The SSHD-server is also integrated in our communication software. The original report was about the client side. Whatever this may be, it would be a new separate issue.

Re: [I] Perfomance file transfer [mina-sshd]

2024-04-23 Thread via GitHub
Holger-Benz commented on issue #485: URL: https://github.com/apache/mina-sshd/issues/485#issuecomment-2072068018 The SSHD-server is also integrated in our communication software. After updating the server from version 2.4.0 to 2.12.1, the communication of the server has become

Re: [I] Perfomance file transfer [mina-sshd]

2024-04-19 Thread via GitHub
kvlnkarthik commented on issue #485: URL: https://github.com/apache/mina-sshd/issues/485#issuecomment-2066830425 @tomaswolf , Any thoughts on my above comment especially on """ Is there any way to force/override the file upload/download in sftp sessions through put/get commands to

Re: [I] Perfomance file transfer [mina-sshd]

2024-04-18 Thread via GitHub
Holger-Benz commented on issue #485: URL: https://github.com/apache/mina-sshd/issues/485#issuecomment-2063380461 Von: kvlnkarthik ***@***.***> Gesendet: Mittwoch, 17. April 2024 19:28 An: apache/mina-sshd ***@***.***> Cc: Holger Benz ***@***.***>; Author ***@***.***>

Re: [I] Perfomance file transfer [mina-sshd]

2024-04-17 Thread via GitHub
kvlnkarthik commented on issue #485: URL: https://github.com/apache/mina-sshd/issues/485#issuecomment-2061827392 We see same issue in our tests as well. We are using 2.12.1 version. We executed filetransfer test case using Files.copy() approach for transferring a file of about 167Mb

Re: [I] Perfomance file transfer [mina-sshd]

2024-04-16 Thread via GitHub
tomaswolf commented on issue #485: URL: https://github.com/apache/mina-sshd/issues/485#issuecomment-2060039475 After some analysis, here's what's going on: transferTo/transferFrom, as well as the FileChannel.write() operations, are _positional_ operations.

Re: [I] Perfomance file transfer [mina-sshd]

2024-04-16 Thread via GitHub
tomaswolf commented on issue #485: URL: https://github.com/apache/mina-sshd/issues/485#issuecomment-2059973935 Interesting: if you change in your code ``` readableChannel.transferTo(0, length, writeableChannel); ``` to ``` writeableChannel.transferFrom(readableChannel, 0,

Re: [I] Perfomance file transfer [mina-sshd]

2024-04-16 Thread via GitHub
tomaswolf commented on issue #485: URL: https://github.com/apache/mina-sshd/issues/485#issuecomment-2059918256 Thank you for this test case. It appears that there is indeed something wrong with the `FileChannel`s. The following is in my tests much faster (and on par with OpenSSH or Jsch):

[I] Perfomance file transfer [mina-sshd]

2024-04-16 Thread via GitHub
Holger-Benz opened a new issue, #485: URL: https://github.com/apache/mina-sshd/issues/485 ### Version 2.12.1 ### Bug description Dear apache support team, we are switching our communication software from the JSCHED sftp library to the apache-mina library.