rogerfar / rdt-client

Real-Debrid Client Proxy
MIT License
875 stars 112 forks source link

Speeds Not Stable #590

Open WhoWhoDilly69 opened 3 weeks ago

WhoWhoDilly69 commented 3 weeks ago

What version are you using? 2.0.86

Wat OS are you running? Unraid

Are you using Docker or as a service? Docker

Which debrid provider are you using? Real-Debrid

Which downloader are you using? Internal Downloader

Please attach a log file here with the log setting set to debug Log File doesnt show my issue, but downloads were always stable until recent. Before i would steady download at my set speed limit 30MB/s to not saturate my crap internet, recently upgraded to fiber 5gig up/down so i upped the limit to 250MB/s and while downloading no matter the size of the file they speeds will spike to 80-120MB/s then to 0 then to 20MB/s then 0 then 75 and so on and so forth therfore nearly doubling the actual time it would take to download said file if it would just hold a constant speed, when testing same file using real-debrid web its fine via firefox and same via jdownloader.

BlueBull010 commented 3 weeks ago

I don't think the speed limit setting actually works. At least in my case it has never worked, neither for RealDebrid nor AllDebrid (I have two separate containers, one for each) because it just downloads at maximum speed no matter what speed limit I set

I have 1Gb down, so yours is much faster but for reference, below are my download settings which steadily and fully saturate my uplink all throughout the download. The first thing I would try is see if setting your chunk count to "0" has any impact. My speed went from all over the place to quite stable with just that setting. Note that my buffer size is with plenty (32GB max) of RAM available to the container, so if you don't have a lot of RAM you'd need to lower that or you could run out, like another user I talked to recently. You could also try switching from the internal downloader to Aria2c or vice versa

What kind of storage are you writing to? SATA/SAS HDD? SATA/SAS SSD? NVMe SSD? Does that storage exhibit normal performance if you write to it in some other way where you can measure or observe the write speed? 5Gb/s download will need quite a performant storage array to keep up with it, even SATA SSD is (theoretically) just barely (though not quite) fast enough to cope with it and in practice won't be able to sustain 5Gb/s for long, if at all. It would likely require either striped RAID storage or NVMe drives to provide steady writing speed at that rate

image