Re: [LARTC] [LONG] Weights not working

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Rio,

>>>>> "Rio" == Rio Martin <rio@xxxxxxxxx> writes:

    >> The Problem
    >> -----------
    >> Throttling is working fine in both directions.  However, when
    >> the link is choked the PCs do not get bandwidth proportional to
    >> their RATEs or CEILs.  So if all the PCs start downloading
    >> simultaneously, each pool gets ~85 Kbps, instead of pools (a)
    >> and (c) getting 64 Kbps each and (b) getting 128 Kbps.

    Rio> It will be getting worse if your hosts start to open Kazaa or
    Rio> Download Accelerator Pro brutally (let say 10 - 20 DAP,
    Rio> Kazaa, FlashGet)

    Rio> As i ve seen in your script, you didnt play the Quantum
    Rio> value.. This is exactly the same just like i did my HTB
    Rio> working for the first time..  Set the Quantum value to suits
    Rio> your bandwidth manager..

Hmm, so if I understand you correctly you're saying that the QUANTUM
in each SFQ should be proportional to the bandwidth allocated to that
pool.  As per the documents I've read, this must also be >= the
maximum packet size.

I /could/ do that but that'd mean that I have to scan all the pools
beforehand and figure out the weights for each pool, since the weights
are relative.  I was hoping that htb.init would do that for me
automatically :)

Another question: wouldn't the QUANTUM only affect the sharing within
a specific pool?  Or would it have an impact at the global level
(inter-pool) bandwidth allocation too?

Regards,

-- Raju
-- 
Raj Mathur                raju@xxxxxxxxxxxxx      http://kandalaya.org/
       GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
                      It is the mind that moves


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux