Re: altq on a variable bandwidth interface

2011-11-26 Thread Henning Brauer
* quartz [2011-11-26 07:00]: > > i dunno what is so hard to understand about packet reordering based on > > priority. > > > > prio queueing is best effort, no guarantees. with more effort (towards > > low delay) for higher priorized traffic. no more, no less. > > > Henning: > > my original ques

Re: altq on a variable bandwidth interface

2011-11-25 Thread quartz
> i dunno what is so hard to understand about packet reordering based on > priority. > > prio queueing is best effort, no guarantees. with more effort (towards > low delay) for higher priorized traffic. no more, no less. Henning: my original question was that the altq directive appears to requir

Re: altq on a variable bandwidth interface

2011-11-25 Thread Zeljko Jovanovic
You cannot do any kind of bandwidth shaping, priorization or fair queueing on any link but the bottleneck. that is plain bullshit. I think you are talking about two different things here: Henning Brauer is explaining how queuing and prioritization work in OpenBSD, while the others have in min

Re: altq on a variable bandwidth interface

2011-11-24 Thread Henning Brauer
* Jussi Peltola [2011-11-24 15:18]: > On Thu, Nov 24, 2011 at 02:21:57PM +0100, Henning Brauer wrote: > > that changes the order how exactly? > > the only valid point is that the modem drops packets regardless of > > their priority while we would drop low prio first. > There won't be an appreciabl

Re: altq on a variable bandwidth interface

2011-11-24 Thread Jussi Peltola
On Thu, Nov 24, 2011 at 02:21:57PM +0100, Henning Brauer wrote: > that changes the order how exactly? > the only valid point is that the modem drops packets regardless of > their priority while we would drop low prio first. There won't be an appreciable queue on a router that is not next to the c

Re: altq on a variable bandwidth interface

2011-11-24 Thread Henning Brauer
* Christopher Zimmermann [2011-11-24 12:28]: > On 11/23/11 20:58, Henning Brauer wrote: > > * Jussi Peltola [2011-11-20 04:09]: > >> On Sat, Nov 19, 2011 at 08:58:46PM -0500, quartz wrote: > >>> is there a way to set up altq+priq on an internet connection with highly > >>> variable/unknown bandwi

Re: altq on a variable bandwidth interface

2011-11-24 Thread Christopher Zimmermann
On 11/23/11 20:58, Henning Brauer wrote: > * Jussi Peltola [2011-11-20 04:09]: >> On Sat, Nov 19, 2011 at 08:58:46PM -0500, quartz wrote: >>> is there a way to set up altq+priq on an internet connection with highly >>> variable/unknown bandwidth? >>> >>> I'd like to create a simple one layer queue

Re: altq on a variable bandwidth interface

2011-11-23 Thread Henning Brauer
* Jussi Peltola [2011-11-20 04:09]: > On Sat, Nov 19, 2011 at 08:58:46PM -0500, quartz wrote: > > is there a way to set up altq+priq on an internet connection with highly > > variable/unknown bandwidth? > > > > I'd like to create a simple one layer queue system that prioritizes empty > > ACKs ove

Re: altq on a variable bandwidth interface

2011-11-23 Thread Stuart Henderson
On 2011-11-20, quartz wrote: >>supports DiffServ or 802.1q >> priority tags. > > by any chance, is there a utility that comes with 4.9 release or through > the ports tree that can use to test this easily? In 4.9 you can use numeric tos values with ping -T or nc -T. In 5.0 you can use numeric val

Re: altq on a variable bandwidth interface

2011-11-19 Thread quartz
> The packets get re-queued in the modem or > whatever device is next to the choke point, and any prioritization you > configure becomes useless. yeah, I hadn't really thought of it that way, but that makes sense. > You can try if your modem or other device it's an optical terminal connected to

Re: altq on a variable bandwidth interface

2011-11-19 Thread Jussi Peltola
On Sat, Nov 19, 2011 at 08:58:46PM -0500, quartz wrote: > is there a way to set up altq+priq on an internet connection with highly > variable/unknown bandwidth? > > I'd like to create a simple one layer queue system that prioritizes empty > ACKs over anything else (always, all the time, no matter

altq on a variable bandwidth interface

2011-11-19 Thread quartz
is there a way to set up altq+priq on an internet connection with highly variable/unknown bandwidth? I'd like to create a simple one layer queue system that prioritizes empty ACKs over anything else (always, all the time, no matter the load or congestion). it looks like priq is the way to do this,