more tests - pf + altq + cbq(borrow) not borrowing from parent -
all LAN
Peter
fbsdq at peterk.org
Thu Mar 19 21:07:32 PDT 2009
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[
More information about the freebsd-pf
mailing list