On Fri, Jan 30, 2004 at 02:48:27PM +0700, Egbert Krook wrote:
> Hi Jared,
> 
> Thanks a lot for your response.

  n/p.  too bad i only vaguely have a clue what i'm talking about <G>

> I've tried adding cbq(borrow) using the following combinations. None
> achieve the effect described in the FAQ.
> 
> - Both root class and net_int queue; Borrows from root class (100Mb)
> - Only net_int; Borrows from root class (100Mb)
> - Only root class; Does not borrow from the root class/other queues (500Kb)

  what about if your altq on $int_if line uses bandwidth 1Mb; or like maybe
  nothing greater than 10Mb.  .. oh wait, i see you answer that below...

  a friend of mine has mentioned recalling some post by itojun on the old
  csl.sony.co.jp [altq] list where it is mentioned something to the effect
  of things getting unpredictable and goofy if you are using a queue which
  is less than 1%.  in the examples i put for you to try, i mistakenly 
  was assuming that 100% = 1Mb, not the 100Mb you have it saying ( oops, 
  coffee? )

> I would like to clarify that borrowing definitely works in a simple setting
> like the one below. However the example from the FAQ still doesn't work for
> me.
> 
> altq on $int_if cbq bandwidth 1.0Mb queue { std_int, it_int, boss_int }
>   queue std_int  cbq(default)
>   queue it_int   bandwidth 500Kb cbq(borrow)
>   queue boss_int priority 3

  meaning that if you use 1.0Mb it works, but if you use 100Mb it doesn't?

  if you just can't get anywhere, maybe trying hfsc would be an option?

  i know hfsc doesn't seem to be as well documented or readily available documentation
  as cbq/priq, but i am working on uncovering the magic in hfsc and have been thus
  far very pleased with the results.  it seems to handle gracefully me using
  100Mb on the altq line and even using values in my <sc> settings as low as
  488 b.  it seems that 'realtime' is the bandwidth used when the link is not 
  saturated, or the queue is not at 50/50 or whichever; and 'linkshare' is what
  it uses instead when the link is saturated.

  this site:

  has been so far the most helpful in helping me work out in my head what hfsc
  is doing.

  jared

-- 

[ openbsd 3.4 GENERIC ( jan 5 ) // i386 ]

Reply via email to