News: This forum is now permanently frozen.
Pages: [1]
Topic: More shaper Weight range (1 to +oo)  (Read 2039 times)
« on: April 04, 2007, 09:09:56 »
Dr-D *
Posts: 14

the shaper is limited by the 1 to 100 rage

if you have 4 traffic types and you want all of them to be 1 to 100 of each other you need to use something like this:

top          1000000 Weight
normal     10000 Weight
httpserv   100 Weight
p2p           1 Weight

so i suggest the coder(s)to change it to permit any value of Weights and at the end adding them and dividing 100 by them like this

1000000
    10000
        100
+          1
------------
1010101


100 (%) / 1010101 = x


top          1000000 * x = Weight
normal     10000 * x = Weight
httpserv   100 * x = Weight
p2p           1 * x = Weight

for this to work you also need to allow lower then 1 weights like 0.01

please make this work, normal ppl can use they 1 to 100 ranges but ppl like me will be able to use a nice shaper
« Reply #1 on: April 19, 2007, 19:16:54 »
Dr-D *
Posts: 14

To make this work the developers will probably only need to change like 10 codelines

Please:P
« Reply #2 on: April 19, 2007, 21:25:46 »
Manuel Kasper
Administrator
*****
Posts: 364

It seems to me that having more than a 100:1 range for queue weights is rather pointless. Besides, the limitation of queue weights having to be between 1 and 100 (and integers) comes from dummynet, the FreeBSD software component used to implement the traffic shaper -- so no, it's not just "like 10 codelines" to change. Therefore it's not going to happen, unless you do it yourself.
« Reply #3 on: April 19, 2007, 22:11:56 »
Dr-D *
Posts: 14

tnx for the reply

thats bad news

themore then 100:1 range is not pointless, queue weights are relactive to each other so if you set:

q1 50
q2 20
q3 5
q4 1

for each q4 package that pass, 5 q3 packages pass, if i have a web server with video stream in q3 i will have to set it to 5/6 of the connection couse p2p on q4 are allways using full upload.

maybe i will post this on a dummynet forum
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines