Attached you can find a "snapshot" of the queue view of pftop (only part of the queue is shown).

As you can see, even if all queue have similar assigned bandwidths (6400 and 2000 bps), there is a single queue with a GREAT amount of traffic (wh10_i) that monopolize ALL the bandwidth!

There are 10 other queues with bytes to flow (QLEN != 0) but all the packets are dropped (B/S = 0 and DROP_P keeps increasing).

To me this is a bug, or at least a bad behavior.
Am I wrong?

How can I make a single queue don't borrow ALL the traffic?

Thanks.



Federico Giannici wrote:
Bob DeBolt wrote:
Hi Federico Giannici

Posting you pf.conf will be of considerable benefit
when attempting to seek help for something that has the complexity you
are currently dealing with.

Additionally, the type connection you have, i.e. DSL, cable etc. as the
variations each of these has throughout the day will skew the appearance
of your results etc.

We have a 6Mb connection (made with 3 2Mb ATM connections in IMA).


Supplying your complete pf.conf correctly commented with what you are
wanting each rule and queue to accomplish is a good place to start.

Our pf.conf file is quite long and complex (actually it is made of 3 different files included with anchors).

Anyway, at this point, I'm only making a THEORETICAL question, to see if it can explain the bad behaviour I'm seeing.

It's better explined with and example:
Both users A and B have an assigned bandwidth of 1 bps.
User A currently requires 4 bps.
User B currently requires 100 bps.
There are currently available 10 bps.

I'd like that the 10 bps would be equally distributed to both users (as they have the same assigned bandwidth), so both had 5 bps. User A uses 4 bps and leaves 1 bps to user B that so uses 6 bps.

Indeed it seems that, as user B requires 25 times more bandwidth of user A, then it is assigned almost ALL bandwidth, and user A is not able to use more then it's committed 1 bps, and so 3 out of 4 bits are dropped!

Is this true?


Thanks.



--
___________________________________________________
    __
   |-                      [EMAIL PROTECTED]
   |ederico Giannici      http://www.neomedia.it
___________________________________________________
QUEUE                             BW SCH  PRIO     PKTS    BYTES   DROP_P   
DROP_B QLEN BORROW SUSPEN     P/S     B/S
 wdsl_i                        1650K hfsc             0        0        0       
 0    0                     0       0
  wdsl_hi_i                    1633K hfsc             0        0        0       
 0    0                     0       0
   wh1_i                        6400 hfsc          6715  1864331        0       
 0    0                     0       0
   wh2_i                        6400 hfsc        397422  243653K    33018  
1870274   50                     0       0
   wh3_i                        6400 hfsc       1890986  722889K   112854  
6473296    0                     0       0
   wh4_i                        2000 hfsc        116512   98728K      275    
61670    4                     1     106
   wh5_i                        2000 hfsc       1033715 60298004    17576   
986498    0                     0       0
   wh6_i                        2000 hfsc        119974 62863556     2953   
204562    3                   1.0      53
   wh7_i                        2000 hfsc           174    12985        0       
 0    0                     0       0
   wh8_i                        2000 hfsc       1913030  130063K    81439  
4656532    0                     0       0
   wh9_i                        2000 hfsc         82929 89439226       11      
650    0                     0       0
   wh10_i                       6400 hfsc      10806525   15417M   158664  
229242K   35                   348  527600
   wh11_i                       6400 hfsc          2207  1426026        0       
 0    0                     0       0
   wh12_i                       2000 hfsc         49798 62044197        0       
 0    0                     0       0
   wh13_i                       2000 hfsc        219271  239251K     1380    
98186    0                     0       0
   wh14_i                       2000 hfsc       1152602 85891883   113484  
6294012   28                     0       0
   wh15_i                       6400 hfsc       3879133  407778K   372882 
22772260   50                     0       0
   wh16_i                       2000 hfsc        157744 19172673     2573   
151618    0                     0       0
   wh17_i                       2000 hfsc         34590 34553732      106     
6598    0                     0       0
   wh18_i                       6400 hfsc        133850  172387K        0       
 0    0                     0       0
   wh19_i                       6400 hfsc         39296 38332321       78     
7808    0                     0       0
   wh20_i                       2000 hfsc         98808 73759318      770   
164254    0                     0       0
   wh21_i                       2000 hfsc         40670 41448017      167    
97155    0                     0       0
   wh22_i                       6400 hfsc        671013  106562K     9881   
553912    0                     0       0
   wh23_i                       6400 hfsc        189783  218179K      689    
75892    6                     0       0
   wh24_i                       2000 hfsc        924549  239532K    15206   
856006    0                     0       0
   wh25_i                       2000 hfsc           238    17662        0       
 0    0                     0       0
   wh26_i                       2000 hfsc         31308 29348573       95     
5960    0                     0       0
   wh27_i                       2000 hfsc         10385 11000932       78    
64292    0                     0       0
   wh28_i                       2000 hfsc        826048 88244163    58332  
3266857    0                     0       0
   wh29_i                       6400 hfsc           218    16284        0       
 0    0                     0       0
   wh30_i                       2000 hfsc       1218503  103443K   107021  
6210459   50                     0       0
   wh31_i                       2000 hfsc         89394 85097902      355    
84816    0                     0       0
   wh32_i                       6400 hfsc        267944  335152K     2192   
132643    0                     0       0
   wh33_i                       6400 hfsc         99682  119479K        2     
3028    0                     0       0
   wh34_i                       2000 hfsc        302750 23661567    83381  
5863007    0                     0       0
   wh35_i                       6400 hfsc         17696 11410351        5      
302   11                     0       0
   wh36_i                       2000 hfsc       1062652 63604241    18510  
1035360    0                     0       0
   wh37_i                       6400 hfsc         14964 13225717        0       
 0    0                     0       0
   wh38_i                       2000 hfsc        115081  144078K      108     
7377    0                     0       0
   wh39_i                       6400 hfsc           225    16828        0       
 0    0                     0       0
   wh40_i                       2000 hfsc         11170  6414282     2006   
147564    0                     0       0
   wh41_i                       2000 hfsc       1197351  180973K    51697  
2998127   50                     0       0
   wh42_i                       6400 hfsc         97992  127239K      105     
9492   12                     0       0
   wh43_i                       2000 hfsc         68072 86609996      357    
50687    0                     0       0

Reply via email to