Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2009 22:07:31 -0600 (MDT)
From:      "Peter" <fbsdq@peterk.org>
To:        freebsd-pf@freebsd.org
Subject:   more tests - pf + altq + cbq(borrow) not borrowing from parent -  all LAN
Message-ID:  <4857.216.241.167.208.1237522051.squirrel@webmail.pknet.net>

next in thread | raw e-mail | index | archive | help
The server was just updated to
 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #0: Thu Mar 19 20:00:29 MDT 2009

another test:
  server <-> 100Mb switch <-> desktop
  172.20.1.1 <-switch-> 172.20.1.2
  ALL traffic stays on local lan.

altq on fxp0 cbq bandwidth 100Mb queue {extranet}
   queue extranet bandwidth 886Kb {poshta}
        queue poshta bandwidth 156Kb cbq(borrow,default)

I sftp from desktop to server, and do 'get blob.tgz'
download to desktop from server goes at ~20KB

vi /etc/pf.conf

altq on fxp0 cbq bandwidth 100Mb queue {extranet}
   queue extranet bandwidth 886Kb {poshta}
        queue poshta bandwidth 856Kb cbq(borrow,default)

/sbin/pfctl -nf /etc/pf.conf && /sbin/pfctl -f /etc/pf.conf

I sftp from desktop to server, and do 'get blob.tgz'
download to desktop from server goes at ~100KB

this is all local file system from /tmp/blob.tgz to /tmp/blob.tgz

Going to try this tomorrow with 'server' being -CURRENT/latest snapshot.

]Peter[





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4857.216.241.167.208.1237522051.squirrel>