[LARTC] Direct queue priority in HTB

Andy Furniss lists at andyfurniss.entadsl.com
Tue Nov 21 02:45:54 CET 2006


Ales Klok wrote:
> 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

You want arp/dhcp etc. to go to a low prio class?

Andy.


More information about the LARTC mailing list