Hi list,

the altq setup on my dsl line seems to be caught in a vicious cycle. Traffic 
goes up and down in a regular cycle of about 4 seconds when it convergates 
towards the specified limit. A diagram of sent bytes over time (in seconds) 
can be found here: http://praxis.ath.cx/altq-pppoe.gif
 (red=working state, green=choked state, blue=bandwidth limit)

I tried adjusting the mtu, mss, cbq and hfsc queues, nearly all scrub options. 
I was also forced to patch the kernel (OpenBSD 4.0) to prevent pf from 
freezing:
http://www.openbsd.org/cgi-bin/cvsweb/src/sys/net/pf.c.diff?r1=1.521&r2=1.522&f=h


Relevant snippets from pf.conf:

altq on $freenet_if cbq bandwidth 10Mb queue { wire, freenet }
queue wire on $freenet_if bandwidth 5Mb priority 2 cbq
queue freenet on $freenet_if bandwidth 900Kb cbq { freenet_high, 
freenet_normal, freenet_bulk }
queue freenet_high on $freenet_if bandwidth 40% priority 2 cbq(borrow)
queue freenet_normal on $freenet_if bandwidth 40% priority 1 cbq
queue freenet_bulk on $freenet_if bandwidth 10% priority 0 cbq(default)


I hope that someone can tell me whats wrong

Tobias Freitag

Reply via email to