Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: altq tbr_set

From: Kenjiro Cho <kjc(at)csl.sony.co.jp>
Date: Fri Sep 19 2003 - 04:48:13 EDT

Dan Shechter wrote:
> I think I poted it on the wrong mailing list...

pf_ioctl() copies the value (set by pfctl(8)) when it enables altq.

> 2. Who sets tbr_timer, and who calls tbr_timeout (except for

tbr_timeout() is called by the kernel timer (from softclock()) to drain the queue in case there is no other packet event. tbr_timer shows whether the timer is armed or not, and is set only in tbr_set().

> 3. What happens when the cpu freq changes (transmeta...)?

It results in erroneous rate control.
So, machclk_usepcc should be set to 0 for such CPUs to not use the processor cycle counter.
(you can use the ALTQ_NOPCC option to force it. it is better to detect those CPUs automatically but I haven't figured out a good way to do that.)

however, if a box is actively sending packets, the CPU is probably running at the full speed.

Do you need help?X

-Kenjiro Received on Fri Sep 19 04:54:02 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:48:44 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library