[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq 1164] Re: Newbie question: HFSC pshare
Guy Ma wrote:
> Hi all, I am using ALTQ 3.0 and use HFSC. May I ask could pshare limit
> traffic? I have created a parent class pshare 10 (100M interface) and a
> child class pshare 1, the child class got the following output:
>
> [ 6 HKCIX_Test_PC2] handle:0xc2495600 [rt 0 0ms 1.00M][ls 0 0ms 1.00M]
> measured: 55.09Mbps [rt:951.20K ls:54.14M] qlen: 0 period:79793
> packets:79793 (120735418 bytes) drops:0
> cumul:0x1feee9 total:0x73246ba
> vt:0x399235d000 d:0xc034b0c09f00 e:0xc034b0914f00
> RIO[0] q_avg:0.00 xmit:79793 (forced: 0 early:0 marked:0)
> RIO[1] q_avg:0.00 xmit:0 (forced: 0 early:0 marked:0)
> RIO[2] q_avg:0.00 xmit:0 (forced: 0 early:0 marked:0)
The link-sharing scheduler distributes available bandwidth according
to the class hierarchy. So,
- it doesn't limit the bandwidth of a class.
- the available bandwidth is distributed among the sibling classes of
the same parent while visiting the class hierarchy from the root to
leaves.
the links-share ratio of a parent and its child has no
effect but only that of the sibling classes matters.
-Kenjiro