[LARTC] Direct queue priority in HTB
Ales Klok
orrie at seznam.cz
Fri Nov 17 12:34:15 CET 2006
Tulpule Naren-MGI2846 wrote:
> Hi,
> newbie question. In sch_htb.c:htb_dequeue() there is a comment "try
> to dequeue direct packets as high prio (!) to minimize cpu work". Does
> that mean that any unclassified packet (no class/filter applicable) is
> scheduled as the highest priority packet in HTB? If yes, what is the
> reason that the direct queue is not treated as the lowest priority
> best-effort?
> TIA for any info.
>
> -- Naren.
>
> Narendra C. Tulpule Principal Firmware Engineer, Staff
> 6450 Sequence Dr +1-858-404-2650
> San Diego, CA 92121 narendra.c.tulpule at motorola.com
>
Yes, unclassified traffic is dequeued at hardware speed bypassing any
defined qdiscs. It is up to you to specify default class and make it low
prio. Right now i can't thnik of any reason for that behavior.
/ak
More information about the LARTC
mailing list