ALTQ - what I am not aware of that causes side effect of cutting the ftp upload?

From: PiotrAF (piotraf_at_nospam.poczta.onet.pl)
Date: 11/22/05

  • Next message: Simon Farnsworth: "Re: ALTQ - what I am not aware of that causes side effect of cutting the ftp upload?"
    Date: Tue, 22 Nov 2005 01:10:50 +0100
    
    

    Hi All,
    I'm trying to learn ALTQ, but I cannot figure out why it keeps cutting the
    ftp upload to an external ftp server - even if I don't add
    "queue something" to any of the "pass out on $ext_if..."
    and just have:
    e.g. a simple example:
    altq on $ext_if cbq bandwidth 70Kb queue { net0, net1, net2, net3 }
    queue net0 bandwidth 10% cbq(default)
    queue net1 bandwidth 30% priority 2 cbq(borrow red)
    queue net2 bandwidth 30% priority 2 cbq(borrow red)
    queue net3 bandwidth 30% priority 2 cbq(borrow red)

    if only these lines are present i.e. as I understand I don't really use
    these queues unless I add e.g. "queue net2" at the end of "pass out.."
    The download is ok but if I try to upload to an external ftp it cuts the
    transfer almost immediately to an impossible value. What did I miss?


  • Next message: Simon Farnsworth: "Re: ALTQ - what I am not aware of that causes side effect of cutting the ftp upload?"

    Relevant Pages

    • Re: ALTQ - what I am not aware of that causes side effect of cutting the ftp upload?
      ... > don't add a queue spec to the end of the rule that lets the ftp upload out, ... > the bandwidth, and can't borrow, this limits the upload to 10%. ... Set the default queue to ...
      (comp.unix.bsd.openbsd.misc)
    • cbq not borrowing fully from parent queue
      ... I'm running 6-STABLE using pf and altq/cbq to manage bandwidth on my ... queue internal bandwidth 53104Kb priority 7 cbq ... so it can't borrow from the root queue. ...
      (freebsd-questions)
    • Re: How to shape VoIP traffic on FreeBSD 4.8 router?
      ... I'd also like to give TCP ACK packets a priority boost. ... > traffic without assimilating bandwidth. ... Define 1 pipe for the entire upstream bandwidth. ... add queue 2 ip from any to any not ssh,telnet,ntp out via oif ...
      (comp.unix.bsd.freebsd.misc)
    • Re: pf traffic shaping and perfomance
      ... I would like to implement traffic shaping using pf. ... #queue def bandwidth 13% cbq ... #queue ssh_bulk priority 0 ...
      (freebsd-questions)
    • Re: Quick question about PF and ALTQ
      ... There are three categories of queuing disciples supported by pf. ... priority based queuing ... The altq statement (which interface to work on, how much bandwidth ... "queue" lines that also determine what to do when there is congestion. ...
      (freebsd-questions)