JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 16.03.2016, 20:16
3way 3way is offline
Modem User
 
Join Date: Mar 2016
Posts: 2
Default Speed Limit takes only half of limit

Hiya,

Check out this:



The problem is:

As long as all downloads are well seeded (using paid accounts, without restrictions), JD2 is close to the given limit.

However, starting an additional DL (the upper in the screeshot) as a free user makes it way slower - close to 50% as seen in the picture.

Seems like JD reserves for the free download half of the bandwidth instead of taking the real, much slower value. The other DL could be much faster but is limited to 50%.

It's similar with 3 or more concurrent DLs - every DL get 1/x of the bandwidth assigned. You can imagine that 6 free DLs and one paid the bandwidth is just wasted for nothing.

Any idea how to fix it?


PS: I'm not the only one, see **External links are only visible to Support Staff****External links are only visible to Support Staff**

PPS: And thanks for this awesome program, btw! <3
Reply With Quote
  #2  
Old 17.03.2016, 11:25
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 60,451
Default

The speedlimiter is static at the moment. That means that the speed you have set will be divided by number of downloads/number of connections and then assigned.
In case one download is unable to utilize its full limit, then yes, speed is *wasted*

Dynamic speed assignment is very complex and I did not find a *good solution* yet.
You cannot simply assign the unused speed to other connections as this will automatic lead to increasing fluctuations and also the slow download does not have any *room left* to gain speed because the other connections will starve it.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 17.03.2016, 11:25
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 60,451
Default

I'm open to good ideas how to solve this
__________________
JD-Dev & Server-Admin
Reply With Quote
  #4  
Old 17.03.2016, 11:27
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 60,451
Default

__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 17.03.2016, 13:37
mgpai mgpai is offline
Script Master
 
Join Date: Sep 2013
Posts: 451
Default

Can use a script in event scripter to dynamically control the speed limit as a workaround.

Code:
//Trigger: Interval (Recommended 30000ms or more)

var maxSpeed = callAPI("config", "get", "org.jdownloader.settings.GeneralSettings", null, "downloadspeedlimit");

if (getTotalSpeed() > maxSpeed) {
    setSpeedlimit(maxSpeed)
} else {
    setSpeedlimit(0)
}

Last edited by mgpai; 17.03.2016 at 14:18. Reason: Modified script to fetch the "maxSpeed" value from Jdownloader settings instead of entering manually.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 03:03.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.