Hi all.
I have queue tree system which works very well.
The main condition is to set the MaxLimit of the main queues must be less than the effective available bandwidth.
For a sum of reasons, my provider don’t give me a constant bandwidth (i.e. some nights of ice) and the voip is the service more affected.
I am forced each time to manually change the MaxLimit decreasing to the AvgRate I can read from the tree list. After a while, I try to rise MaxLimit of 1Mbit then I observe if AvgRate follow the MaxLimit (my network use always all the bandwidth).
I would realize a script (?) doing the following:
each 5 minutes
if (MaxLimit>4mbit) and (MaxLimit-AvgRate)>500kbit
then set MaxLimit=AvgRate
else if (MaxLimit<11Mbit)
then MaxLimit=MaxLimit+1Mbit
if MaxLimit>11Mbit then MaxLimit=11Mbit
if MaxLimit<4Mbit then MaxLimit=4Mbit
set all MaxLimit of sub queues to MaxLimit
Could someone give me some hints on how to begin this works or if a better way exists ?
I would like to apply the same script to my ow queue tree but my max download is anywhere up to 4mb and my upload andywhere up to 512kb. Not sure how to modify the script in this instance..