#5 Post by faster5on5windows » 2016-05-24 05:44
botg wrote:As root, execute this command to show the current limits:Code: Select all
To increase them use sysctl -w, e.g. like this:sysctl -a | grep net.*rmem
Code: Select all
sysctl -w net.ipv4.tcp_rmem=''40960 873800 62914560'
Thank you so much!
The issue was solved with:
sysctl -w net.ipv4.tcp_rmem='40960 873800 62914560'
sysctl -w net.core.rmem_max=8388608
Question 1. Is that the best number for net.core.rmem_max? The default was 212992.
Question 2. It turns out lftp DOES use segmented downloading by default. However without segmented downloading [pget -n 1 filename] and without the sysctl mod, lftp is still faster than filezilla (1.8MB/s per file vs 800KB/s. Any idea why this is?
After the mod speeds changed to-
-filezilla max 4MB per file, speed average 3MB per file. (Increase from 800KB per file). No difference between ftp and sftp.
-lftp 1.8MB/s (not segmented). (No increase)
Question 3. Why does Filezilla need this mod when no other program or type of download needs it or is effected by it? (except for lftp but this mod doesn't seem to effect lftp's speed).
Question 4. Do these mods have any other effects (increased chance of file corruption etc)
Question 5. If there are no negative effects to these settings then why are they not default?
Last edited by faster5on5windows on 2016-05-24 15:35, edited 2 times in total.