-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow transfer speed #57
Comments
Hi @bpbp-boop Could you tell us more about how you run unFTP?
|
I am using the MUSL binary from the release page and the command line arguments are
not using FTPS and filesystem is a xfs in a VM on block storage on a large HP SAN (albeit only with 15k drives not SSDs :) ) vs-ftpd test was run on the same server too. |
Hmm, OK, not the typical developer test bench case. :-) I assume the 10MB/s was on a big file or was it lots of small files perhaps? |
Yes, one file 100MB in size |
Hi @bpbp-boop This perhaps fixes the slow transfer on GET: bolcom/libunftp#243 This is in the library used by unFTP, so I'll update unFTP soon. I'll check PUT also. |
Thank you! :) I will test next week |
I've made improvements to STOR too: bolcom/libunftp#247 Also in the library. I'll try to make a new unFTP release soon. |
OK as promised it's 2x as fast, limited to about 20MB/s now (up from 10MB) |
OK, thanks for the feedback. Not that great an improvement then. Strange... |
Upon further investigation it seems that vsftpd gets its speed from utilising kernel space copying namely sendfile. It would be interesting to see how vsftpd and unFTP compare when FTPS / TLS is switched on on the FTP data channel |
We logged this ticket in libunFTP for this: bolcom/libunftp#340 |
Closing in favour of the ticket logged in libunftp |
Hello, I was testing out unFTP for use in a speed testing scenario
I found with unFTP speeds are limited to under 10MB/s while using vs-ftpd I can get up to about 50MB/s. Both using PASV mode. let me know if I can add more information.
The text was updated successfully, but these errors were encountered: