Quick Limiter Bust Question…



  • Hello,

    I'm using 2.1 and set limiters as follows:

    IN:  5 Mbps with  a burst of 15 Mbps  (Source Addresses with blank masks)

    OUT:  5 Mbps with a burst of 15 Mbps (Destination Addresses with blank masks)

    The idea here is so that each user can burst upwards of 15 Mbps for a bit and then be throttled down to 5 Mbps so as not to hog the pipe.  My question is, and I can't seem to find the simple answer anywhere, is:  What is the default setting for the burst?  That is, how long will a user's connection burst at 15 Mbps before they are throttled down to 5 Mbps?

    Thanks y'all for your help and keep up the great work!



  • how about what is your

    IN:?
    out: 5000


  • Rebel Alliance Developer Netgate

    Bursting isn't set right in the rules on any release. Fixed by this:
    https://github.com/pfsense/pfsense/commit/d0f365c2774209a5ca32a5c0de09010ddd540acf

    Burst is always in Bytes, a fixed size, NOT a throughput. So it's not possible to set a burst of X Mbit/s, but you could set one for 5,000,000 (~5MBytes)



  • Jimp:

    As always, thanks for the help.  Now I understand the weird numbers I'm seeing it all makes perfect sense.  Thanks!



  • Hello Jimp,
    Why then when I enter 2048000 into the GUI burst field does the Limiter Info report 2048000 k?  Isn't 2048000 k = 2048000000 bytes or 2048 Mbytes?

    I can't seem to get bursting to work no matter the number.  All traffic hitting the limited rule is capped at the bandwidth value.  I'm using one parent limiter without child and no mask bits.

    Limiters:
    BKT Prot Source IP/port
    Dest. IP/port Tot_pkt/bytes Pkt/Byte Drp
    00001: 384.000 Kbit/s    0 ms burst 2048000 k
    q131077  50 sl. 0 flows (1 buckets) sched 65541 weight 0 lmax 0 pri 0 droptail
    sched 65541 type FIFO flags 0x1 256 buckets 48 active
        mask:  0x00 0xffffffff/0x0000 -> 0x00000000/0x0000_



  • @jimp:

    Bursting isn't set right in the rules on any release. Fixed by this:
    https://github.com/pfsense/pfsense/commit/d0f365c2774209a5ca32a5c0de09010ddd540acf

    Burst is always in Bytes, a fixed size, NOT a throughput. So it's not possible to set a burst of X Mbit/s, but you could set one for 5,000,000 (~5MBytes)

    Are you sure? Looking at the information presented by diagnostic status in 2.1.2, the figure entered for burst in the limiter dialog is interpreted as Mbytes.

    Steve


Log in to reply