Re: [Proftpd-user] Performance tuning
Bob Friesenhahn <[email protected]> Wed, 12 Jan 2022 14:22:40 -0600 (CST)
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 12 Jan 2022, [email protected] wrote: > Hey all, > > I have a customer that is experiencing slow uploads via sftp. They > are sending hundreds of small files instead of one big zip. I get > that one file will always be faster. My goal is to tune the server > if possible, to be as fast as possible for the many smaller files. > I will employ google foo to see what I can find, however I thought I > pick your collective brains as well. If the files are very small such that "protocol" transactions are more domant than data transfer, then it seems that Nagle's algorithm (https://en.wikipedia.org/wiki/Nagle%27s_algorithm) becomes important. Specifically, it is useful to see if disabling it (using TCP_NODELAY) increases throughput by reducing time spent waiting for the response to come back. An alternative to use more "clients" by using more client programs or client threads and sending files in parallel. Bob -- Bob Friesenhahn [email protected], http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html