[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: adsl and altq
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: adsl and altq
- From: BRAND Arnaud <arnaud_(_at_)_sites_(_dot_)_mine_(_dot_)_nu>
- Date: Tue, 04 Feb 2003 22:37:10 +0100
At 10:43 04/02/2003 +0100, you wrote:
On Mon, Feb 03, 2003 at 10:19:40PM +0000, Ralph Kube wrote:
> On Mon, Feb 03, 2003 at 03:19:16PM +0100, Henning Brauer wrote:
> > well you have to be a bit more specific and give more data ;-)
> > you're using -current, e. g. altq merged into pf?
> > then you can watch altq working via pfctl -vvsq
> Sorry, forgot that. I'm using 3.2-stable.
> The line is 768kBit/s upstream and 128kBit/s downstream. With my config
> i try to limit and partition the upstream:
>
> <begin /etc/altq.conf:>
> <end /etc/altq.conf>
I don't remember the altq.conf syntax at all; I think that's not too bad ;-)
> I got an application running on another machine on my internal network
> which uses a lot of traffic on 4661/4662 tcp and 4665/4666/16283 udp.
edonkey/emule ?
I saw the same problem. The fact is that these applications are sending many
many packets, but with few data in it. The packet headers take bandwidth too,
are they accounted by altq ?
Globally, it seems that sending a bunch of packets makes the ping time higher
than sending a packets of the same size (including headers sizes).
I may be wrong, but that's what's happening to me.
> To strictly limit its traffic i didn't use the borrow directive.
> Whenever this application is not running i get 'normal' ping times, like
> 55ms to a good host (www.heise.de).
> But whenever it is running my ping goes up to about 2500ms, which makes
> it very painful to use other applications, like a browser or a mail
> client.
hmm, that is strange. most probably an error in your ruleset, but... as
said, I don't remember altq.conf ;-)
wanna try -current perhaps?
> > it's quite clear some queues are overlimit sometimes; the resolution is
> > limited.
with CBQ you can specify "exactbandwidth x" instead of a percentage.
You can have a bit/second resolution I think. (never tested below Kbit/s).
It works fairly well, I used it too cool-down my brother's PC....;-)
> This is one of my main concerns. The man page already says that.
> Is altq usable for my situation?
yes, I don't see why it should not be.
--
http://2suck.net/hhwl.html
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
Visit your host, monkey.org