🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.openbsd-pf
Article #57

Re: question about tbrsize

#57
From: RLW
Date: Sat, 12 Feb 2011 08:45
38 lines
2163 bytes
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
Technical Details
Message-ID: <4D558218.7060306@o2.pl>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!newsgate.newsguy.com!newsp.newsguy.com!mdrn
References: <4D53C7BE.7070008@o2.pl> <20110210162747.GT16870@symphytum.spacehopper.org>

Show Full Headers
Complete Article Headers
X-Google-Thread: ff4ef,dcfee21d64d2f845
X-Google-NewGroupId: yes
X-Google-Attributes: gidbffa70e3,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!newsgate.newsguy.com!newsp.newsguy.com!mdrn
From: serandom@o2.pl (RLW)
Newsgroups: bit.listserv.openbsd-pf
Subject: Re: question about tbrsize
Date: 12 Feb 2011 00:45:38 -0800
Organization: None
Lines: 38
Message-ID: <4D558218.7060306@o2.pl>
References: <4D53C7BE.7070008@o2.pl> <20110210162747.GT16870@symphytum.spacehopper.org>
Reply-To: serandom@o2.pl
NNTP-Posting-Host: afat68.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Date: 12 Feb 2011 08:45:38 GMT