* [LARTC] prio
@ 2004-12-25 17:08 kasp
0 siblings, 0 replies; 2+ messages in thread
From: kasp @ 2004-12-25 17:08 UTC (permalink / raw)
To: lartc
Hi!
Could somebody tell me, what is difference between these two prio
parameters in http://lartc.org/lartc.html#AEN2241
1) tc class add dev $DEV parent 1:1 classid 1:10 htb rate ${UPLINK}kbit burst 6k prio 1
^^^^^^
AND
2) tc filter add dev $DEV parent 1:0 protocol ip prio 10 u32 match ip tos 0x10 0xff flowid 1:10
^^^^^^^
Why they aren't equal?
Is there some rules to set prio for each of them?
--
Best regards,
kasp mailto:waters@inbox.lv
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] prio
@ 2005-01-02 0:07 Andy Furniss
0 siblings, 0 replies; 2+ messages in thread
From: Andy Furniss @ 2005-01-02 0:07 UTC (permalink / raw)
To: lartc
kasp wrote:
> Hi!
>
> Could somebody tell me, what is difference between these two prio
> parameters in http://lartc.org/lartc.html#AEN2241
>
> 1) tc class add dev $DEV parent 1:1 classid 1:10 htb rate ${UPLINK}kbit burst 6k prio 1
> ^^^^^^
> AND
>
> 2) tc filter add dev $DEV parent 1:0 protocol ip prio 10 u32 match ip tos 0x10 0xff flowid 1:10
> ^^^^^^^
>
> Why they aren't equal?
> Is there some rules to set prio for each of them?
>
>
prio on htb mainly affects the way it shares excess bandwidth - the
lower the number the higher the priority.
On filters it lets you choose the order your rules get tested against
the packets.
I haven't look at the script - but the prio on the filter is unlikely to
make any noticable difference if changed/ommitted.
Andy.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-02 0:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-02 0:07 [LARTC] prio Andy Furniss
-- strict thread matches above, loose matches on Subject: below --
2004-12-25 17:08 kasp
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.