LARTC
[Top] [All Lists]

Re: [LARTC] Direct queue priority in HTB

To: Ales Klok <orrie@seznam.cz>
Subject: Re: [LARTC] Direct queue priority in HTB
From: Andy Furniss <lists@andyfurniss.entadsl.com>
Date: Tue, 21 Nov 2006 01:45:54 +0000
Cc: lartc@mailman.ds9a.nl
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <455D9E37.2070205@seznam.cz>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
References: <F4714BF9F587B643AFD40D9FD9CD7B7EDB347F@ct11exm62.ds.mot.com> <455D9E37.2070205@seznam.cz>
Reply-to: lists@andyfurniss.entadsl.com
Sender: lartc-bounces@mailman.ds9a.nl
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.13) Gecko/20060417
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@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.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>