Replies: 6 comments
-
|
This isn't really an "issue", you should take discussion items such as this to the mailing list.
|
Beta Was this translation helpful? Give feedback.
-
|
Regarding 2. So the problem with tiny packets causing slowdowns when the buffer isn't a multiple of MAX_SFTP_READ_SIZE shouldn't happen anymore when reading. |
Beta Was this translation helpful? Give feedback.
-
|
85dbd4c |
Beta Was this translation helpful? Give feedback.
-
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Beta Was this translation helpful? Give feedback.
-
|
The ticket was automatically closed, but the problem -- Not only is the semantics of the function, unfortunately, more like that of A single-threaded uploading to Even if the more complex code of non-blocking writing doubles the throughput, it'll still be subpar. Is this -- SFTP-uploads -- something, the developers are benchmarking regularly? |
Beta Was this translation helpful? Give feedback.
-
|
IIRC SFTP download implements a pipelined read while write doesn't pipeline uploads which is the speed difference compared to other clients. This can be pipelined, but someone has to do the work. We are always happy to review PRs. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to optimize read/write performance for large file transfers and found a few issues:
=> put them into libssh2_sftp.h instead of src/sftp.h?
=> or alternatively expose them via two functions in libssh2_sftp.h, e.g.
size_t get_sftp_read_packet_size();
size_t get_sftp_write_packet_size();
Best regards, Zenju
Beta Was this translation helpful? Give feedback.
All reactions