Status queues



  • Hi
    On the status queues page can someone explain what the following things mean.

    0 /pps
    0 b/s
    0 borrows
    0 suspends
    0 drops

    these can be found under each queue.

    eg my  qWANdef  has 24861 drops which i think means it has dropped 24861 packets, which is very bad indeed.

    i have attached my shaper config. if someone could perhaps find out what is causing all the drops?

    i have ADSL 256k down 128k up

    Thanks
    mentalinc
    shaper-mentalinc.xml.txt



  • Upgrade to beta2 and rerun the shaper wizard.

    –Bill



  • i have beta 2.



  • @mentalinc:

    i have beta 2.

    AND RERUN THE SHAPER WIZARD



  • Drops are normal.  When the shaper needs to prioritize a packet with a higher priority and there is traffic on the lower priority queues, it has to "drop" the packets to maintain the higher packets QoS.

    Totally normal.

    Borrows = a queue is not full and its borrowing from a neighbor queue.

    PPS = Packets per second
    BPS = Bits per second



  • Keep in mind, the Traffic shaper can't give you 10 mbit/s out of 256 kbit/s. If more traffic than your line can handle appears it has to drop traffic. The communicating peers will detect the dropped traffic and will resent the lost data (at least for TCP connections). Usually they even should throttle their bandwidth if they detect drops but that is depending of the tcp/ip implementation they use.



  • @hoba Quote "The Traffic shaper can't give you 10 mbit/s out of 256 kbit/s."

    I dont understand what you mean here  :-\ are you saying that shapping will not give me more bandwidth? yes i understand that.
    and i understand the rest about TCP.

    @sullrich thats for the diffenitions

    and an lil extra questionL: shaping will only work on upstream data as by the time downstream gets to my box its far to late as the pipe has been saturated and my HTTP traffic for example is sitting at the ISP waiting its turn. is that correct?



  • @mentalinc:

    and an lil extra questionL: shaping will only work on upstream data as by the time downstream gets to my box its far to late as the pipe has been saturated and my HTTP traffic for example is sitting at the ISP waiting its turn. is that correct?

    Yes, the traffic shaper in pfSense can only shape packets exiting an interface but it can also shape downlaods by shaping the traffic exiting lan card to your pc (you can look at it from the perspective of your box uploading to your pc). In other words, download shaping isnt dependent on your isp alone, pfsense actively shape downloads just the same as uploads.

    However if you saturate your link traffic will be queued up in your box and possible at your isp as well (or your isp will drop extra traffic), so its a good idea to set ur max download & upload speed to a fraction below what your isp advertised, that way your box will limit the traffic before your isp policing or shaping kicks in, you sacrifice some bandwidth to gain better control over your traffic.


Locked