[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Borrowing in OpenBSD 3.3



Hello, 
My configuration for the borrowing is not working: 
altq on rl0 cbq bandwidth 100% queue { std, main }
queue std bandwidth 90% cbq(default)
queue main bandwidth 128Kb {test}
queue test bandwidth 32Kb priority 7 cbq(borrow)
pass in quick on lo0 all
pass out quick on lo0 all
pass in quick on le1 inet proto tcp from any to rl0
port 80 keep state queue test
and the pfctl -vvsq is giving me: 
queue root_rl0 bandwidth 10Mb priority 0 cbq( wrr root
) {std, main}
  [ pkts:        107  bytes:     104005  dropped pkts:
     0 bytes:      0 ]
  [ qlength:   0/ 50  borrows:      0  suspends:     
0 ]
  [ measured:     4.1 packets/s, 33.16Kb/s ]
queue  std bandwidth 9Mb cbq( default )
  [ pkts:         24  bytes:       2264  dropped pkts:
     0 bytes:      0 ]
  [ qlength:   0/ 50  borrows:      0  suspends:     
0 ]
  [ measured:     0.8 packets/s, 603.52 b/s ]
queue  main bandwidth 128Kb {test}
  [ pkts:          0  bytes:          0  dropped pkts:
     0 bytes:      0 ]
  [ qlength:   0/ 50  borrows:      0  suspends:     
0 ]
  [ measured:     0.0 packets/s, 0 b/s ]
queue   test bandwidth 32Kb priority 7 cbq( borrow )
  [ pkts:         83  bytes:     101741  dropped pkts:
     0 bytes:      0 ]
  [ qlength:   7/ 50  borrows:     51  suspends:    
13 ]
  [ measured:     3.3 packets/s, 32.56Kb/s ]
queue root_rl0 bandwidth 10Mb priority 0 cbq( wrr root
) {std, main}
  [ pkts:        124  bytes:     119167  dropped pkts:
     0 bytes:      0 ]
  [ qlength:   0/ 50  borrows:      0  suspends:     
0 ]
  [ measured:     4.0 packets/s, 31.68Kb/s ]
queue  std bandwidth 9Mb cbq( default )
  [ pkts:         28  bytes:       2632  dropped pkts:
     0 bytes:      0 ]
  [ qlength:   0/ 50  borrows:      0  suspends:     
0 ]
  [ measured:     0.8 packets/s, 601.07 b/s ]
queue  main bandwidth 128Kb {test}
  [ pkts:          0  bytes:          0  dropped pkts:
     0 bytes:      0 ]
  [ qlength:   0/ 50  borrows:      0  suspends:     
0 ]
  [ measured:     0.0 packets/s, 0 b/s ]
queue   test bandwidth 32Kb priority 7 cbq( borrow )
  [ pkts:         96  bytes:     116535  dropped pkts:
     0 bytes:      0 ]
  [ qlength:   6/ 50  borrows:     57  suspends:    
15 ]
  [ measured:     3.2 packets/s, 31.08Kb/s ]
As you can see I do have borrows but not as I should
be having. 
Could somebody help me and tell me a configuration
which is working and may be where I'm mistaking? 
Thank you, 
Best regards, 
Alex 
--- Henning Brauer <[email protected]> wrote:
> borrowing definately works and worked from the
> beginning on.
> 
> * Alex Berdan <[email protected]> [2004-05-08
> 13:22]:
> > I've just made up a machine which is having
> OpenBSD
> > 3.5 and did the same test as I said before. 
> > The result came out with no success. The borrowing
> is
> > still not working even in 3.5. 
> > 
> > Does anyone have any success story with this? If
> yes,
> > could you please can you post you configuration so
> I
> > can try it out? 
> > 
> > 
> > Best regards, 
> > Alex
> > --- Can Erkin Acar <[email protected]>
> wrote:
> > > On Thu, May 06, 2004 at 09:13:52AM -0700, Alex
> > > Berdan wrote:
> > > > Hello, 
> > > > I have read the lists and I found somebody
> > > speaking
> > > > about this Borrowing not working but there is
> no
> > > > conclusion about that! 
> > > > I'm running OpenBSD 3.3 and as the other guy
> I'm
> > > > trying to do borrowing which is not working as
> > > > expected (the way that is described in the
> man). 
> > > > 
> > > > Is this already fixed in the OpenBSD 3.5? May
> be I
> > > > should plan an upgrade in that case. 
> > > 
> > > Many things changed since 3.3 and I am pretty
> sure
> > > borrowing works in 3.5. Since 3.3 is no longer
> > > supported
> > > you should plan an upgrade to 3.5-stable in any
> > > case.
> > > 
> > > Csn
> > 
> > 
> > 
> > 	
> > 		
> > __________________________________
> > Do you Yahoo!?
> > Win a $20,000 Career Makeover at Yahoo! HotJobs  
> >
> http://hotjobs.sweepstakes.yahoo.com/careermakeover 
> > 
> 
> -- 
> Henning Brauer, BS Web Services, http://bsws.de
> [email protected] - [email protected]
> Unix is very simple, but it takes a genius to
> understand the simplicity.
> (Dennis Ritchie)
	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover