I do own a D-LINK DIR 880L with the Firmware: DD-WRT v3.0-r49326 std (06/23/22). It is working great so for. I also use this device as network storage. Therefore I connected a 500GB SSD over USB. Then I activated FTP (to upload the files) and SMB (for the clients to download them). Currently there is only one client.
My "problem" is that when I upload 1 file the transferspeed is around 7 MB/s. When I concurrently upload two files each of them has 7 MB/s and when there a 3 files it's nearly 7 MB/s each.
Don't get me wrong this is great but I would like to use the whole read/write speed. How do I get this to work? Is there a thing like priority or traffic shaping?
Joined: 31 Jul 2021 Posts: 2146 Location: All over YOUR webs
Posted: Tue Jul 12, 2022 15:18 Post subject:
Welcome to the forums, my daddy is not you. :0
You could try clients that support multi-transfers.
FileZilla being one such.
But with 800MHz CPU being the bottleneck especially when you're already using it for other stuff router related wether you like it or not, and I dont think DD-WRT's Proftpd is multi-threaded so it works on one core only.
Im also not sure if its possible to up the MaxClientsPerUser Proftpd side as to allow multi-transfers either.
Why not use FTP for both upload -and- download? May not help transfer rates, but you don't have the issues associated with samba that may or may not still exist. I've compared proftpd with vsftpd and I still don't see the magical reason to use a fatter binary (proftpd). Is there some mythical single device that makes use of all of proftpd's features? _________________ "The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost
"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio
Joined: 31 Jul 2021 Posts: 2146 Location: All over YOUR webs
Posted: Tue Jul 12, 2022 16:52 Post subject:
A little sideways discussion:
You dont need vsftpd, Dropbear already provides SSH connection which any modern SFTP/SCP client can use instead to transfer files via SSH, I use this daily and works well.
The only limitation here is that cipher availability is cut because it adds to DD-WRT end binary size and 2/4/8MB flash size routers dictate ATM such better ciphers availability, recently chacha-poly was enabled DD-WRT SSH side a total of 10KB uncompressed and no elliptic curve support yet because that's 30KB uncompressed. (this is a pet peeve why routers which are Dinosaurs and should be ejected into space towards the Sun, dictate what is available is beyond me).
I would argue that in all fairness, Proftpd side, there isn't any way to tweak its settings via a user interface and maybe it can be done via CLI but its not ideal. Proftpd also offers FXP ability but again (I haven't really explored) this functionality DD-WRT side, nor FTPS. But Proftpd is indeed capable.
There is literally no need to have a binary that is 3-5 times the size of another when the functionality for FXP exists in vsftpd. Dropbear currently supports SCP and SFTP in DD-WRT. Again, you should be careful asking for my input <grin> <eyeroll>
https://www.google.com/search?q=fxp+ability+vsftpd _________________ "The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost
"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio
You could try clients that support multi-transfers.
FileZilla being one such.
I'm already using FileZilla. The problem is I only benefit from it when there are multiple files to download/upload otherwise the speed is stuck at a limit.
the-joker wrote:
But with 800MHz CPU being the bottleneck especially when you're already using it for other stuff router related wether you like it or not, and I dont think DD-WRT's Proftpd is multi-threaded so it works on one core only.
Im also not sure if its possible to up the MaxClientsPerUser Proftpd side as to allow multi-transfers either.
Hm but is there no way to fake that a file consists out of multiple files to use the total transfer speed?
I haven't used Filezilla in a long time so idk how that looks now, or if you already have something different set or what settings you have Filezilla side.
Also there are server side settings that you could tweak, you should consult the proftpd manual and write the settings to `/tmp/proftpd/etc/proftpd.conf` but idk if they will survive a reboot.
We could do with a way to inject additional proftpd configuration in UI because as is, its rather generalized and fixed settings.
Ultimately you are limited both when using WiFi vs Wired and also to one single core of your piddly 800Mhz CPU, I also have no idea what the `nice` value is for the proftpd process, or any idea how to make it use a different `nice` value (DD-WRT side, Regular Linux its easy peasy) to give it more priority over other processes, YMMV.
Joined: 26 Mar 2013 Posts: 1855 Location: Hung Hom, Hong Kong
Posted: Thu Jul 14, 2022 4:39 Post subject:
dale_gribble39 wrote:
There is literally no need to have a binary that is 3-5 times the size of another when the functionality for FXP exists in vsftpd. Dropbear currently supports SCP and SFTP in DD-WRT. Again, you should be careful asking for my input <grin> <eyeroll>
SCP and SFTP do not support anonymous logins as in true FTP servers. What about passive mode FTP?
Anyway, this thread is about transfer rate.
I think bit-torrent also suffered the same speed problem. Something to do with slow router processor?
Ultimately you are limited both when using WiFi vs Wired and also to one single core of your piddly 800Mhz CPU, I also have no idea what the `nice` value is for the proftpd process, or any idea how to make it use a different `nice` value (DD-WRT side, Regular Linux its easy peasy) to give it more priority over other processes, YMMV.
Lets see what happens now
What would be a powerful router which could handle this support WIFI6 and be DDWRT capable?