W dniu 2011-02-10 17:27, Stuart Henderson pisze:
On 2011/02/10 12:10, RLW wrote:
I am asking this because i was writing to the misc group about low
performance on lan bandtwith
(http://marc.info/?l=openbsd-misc&m=128990880310013&w=2) and someone
said there might be a TBR related problem.


For the more i found somebodys work on trying to make adaptive tbr:
http://www.junkpile.org/openbsd/base/altq_tbradapt.diff

Was it officially adapted?? or maybe there is some developer working on it?

it's not committed and needs some changes to the configuration method
before it can be accepted. it's unlikely to be useful on your fast
ports, it's mainly to calculate bandwidth in a more correct manner
when taking adsl overheads into account.



ok and what about first part of my post, about setting tbrsize in pf.conf?

altq on em0 cbq bandwidth 1Gb tbrsize 4K queue { q_lan }
queue q_lan bandwidth 950Mb cbq (default)

i got error:
root@router-test (/root)# pfctl -f /etc/pf.conf
/etc/pf.conf:9: syntax error
/etc/pf.conf:10: queue q_lan has no parent
/etc/pf.conf:10: errors in queue definition
pfctl: Syntax error in config file: pf rules not loaded

without tbrsize altq definition is ok.


---
best regards,
RLW

Reply via email to