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

ALT & PF: Borrowing in OpenBSD 3.5 Problem



 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? 
 
 I have already asked on the pf list but I got only
 the
 answer that it's working and nothing else. In that
 list I have seen somebody complaining like about
 openbsd 3.3 but without any success reported. 
 
 It's easy to say that it's working without giving us
 some good examples. 
 
 Thank you, 
 Best regards, 
 Alex 
 


	
		
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/



Visit your host, monkey.org