On 16.09.2014 19:32, Zé Loff wrote:
On Tue, Sep 16, 2014 at 01:07:00PM +0200, Henning Brauer wrote:
* Atanas Vladimirov <[email protected]> [2014-09-16 12:58]:
> As I said this was my working pf.conf for new queueing system on i386.
> I think that the problem is elsewhere. When you set the queue max bandwidth
> it must not exceed that value.

if the sums of the target bandwidth exceed interface speed or
min/target exceed max, all bets are off. fix your queue defs.

I was looking at pf.conf's man page and noticed that in some examples
the queue parameters appear separated by commas:

  queue ssh parent std bandwidth 10M, min 5M, max 25M

and in some cases without commas:

  queue  ssh_interactive parent ssh bandwidth 10M min 5M

Does this make a difference? And if not, should pf.conf be fixed for
consistency?

Cheers
Zé

--
Henning Brauer, [email protected], [email protected]
BS Web Services GmbH, http://bsws.de, Full-Service ISP
Secure Hosting, Mail and DNS. Virtual & Dedicated Servers, Root to Fully Managed
Henning Brauer Consulting, http://henningbrauer.com/


Hi Henning,
Thanks for your respond but can you give me an advice on how to solve this matter. I changed my queues definitions (the sums didn't exceed interface speed or min > max) with no luck:

 queue rootq on $ExtIf bandwidth 100M max 100M
  queue inter parent rootq bandwidth 3M max 3M
   queue i_ack     parent inter bandwidth 1M, min 1M
   queue i_dns     parent inter bandwidth 500K
   queue i_ntp     parent inter bandwidth 300K
   queue i_web     parent inter bandwidth 1M burst 2M for 10000ms
   queue i_bulk    parent inter bandwidth 170K
   queue i_bittor  parent inter bandwidth 30K, max 1400K default

  queue bg parent rootq bandwidth 40M max 40M
   queue b_ack     parent bg bandwidth 15M, min 10M
   queue b_dns     parent bg bandwidth 1M, min 1M
   queue b_ntp     parent bg bandwidth 4M, min 4M
   queue b_rdc     parent bg bandwidth 4M, min 4M
queue b_web parent bg bandwidth 10M, min 9M burst 40M for 5000ms, max 37M
   queue b_bulk    parent bg bandwidth 5M, min 4M
   queue b_bittor  parent bg bandwidth 1M, max 2M

queue b_bittor parent bg on em0 bandwidth 1M, max 2M qlimit 50
[ pkts: 54890 bytes: 79466769 dropped pkts: 0 bytes: 0 ]
  [ qlength:   0/ 50 ]
  [ measured:  2701.8 packets/s, 31.28Mb/s ]

QUEUE BW SCH PRIO PKTS BYTES DROP_P DROP_B QLEN BORROW SUSPEN P/S B/S rootq on em0 100M 0 0 0 0 0 0 0 inter 3M 0 0 0 0 0 0 0 i_ack 1M 47177 3118394 0 0 0 215 14246 i_dns 500K 354 32191 0 0 0 10 954 i_ntp 300K 151 13590 0 0 0 1.0 89 i_web 1M 1970 634138 0 0 0 10 2810 i_bulk 170K 143 28491 0 0 0 1.0 41 i_bittor 30K 19556 2837925 0 0 0 60 18395 bg 40M 0 0 0 0 0 0 0 b_ack 15M 1011 60608 0 0 0 1.0 57 b_dns 1M 56 8423 0 0 0 0 0 b_ntp 4M 434 39016 0 0 0 1.0 89 b_rdc 4M 0 0 0 0 0 0 0 b_web 10M 107 14833 0 0 0 1.0 108 b_bulk 5M 32 2318 0 0 0 0 0 b_bittor 1M 450367 636064K 0 0 0 2264 3245446

Reply via email to