Re: Pipe queues

2007-12-12 Thread Ian Smith
On Tue, 11 Dec 2007, Peter Jeremy wrote: > On Tue, Dec 11, 2007 at 12:31:00PM +0400, rihad wrote: > >Peter Jeremy wrote: > >> On Tue, Dec 11, 2007 at 09:21:17AM +0400, rihad wrote: > >>> And if I _only_ want to shape IP traffic to given speed, without > >>> prioritizing anything, do I still n

Re: Pipe queues

2007-12-12 Thread rihad
Chuck Swiger wrote: On Dec 10, 2007, at 11:35 PM, rihad wrote: This ipfw manpage section was the reason I asked (sorry for the formatting). What's with the "queuing delay" part? I'm totally confused. queue {slots | sizeKbytes} Queue size, in slots or KBytes. Default value is 50

Re: Pipe queues

2007-12-11 Thread Chuck Swiger
On Dec 10, 2007, at 11:35 PM, rihad wrote: Pipes and queues are two different things; a pipe simulates a network link, and a queue is used to hold packets which are backlogged because they are arriving faster than the outbound link (ie, a pipe) can transmit them. So you mean queues are only

Re: Pipe queues

2007-12-11 Thread Peter Jeremy
On Tue, Dec 11, 2007 at 09:21:17AM +0400, rihad wrote: >And if I _only_ want to shape IP traffic to given speed, without >prioritizing anything, do I still need queues? This was the whole point. No you don't. I'm using pipes without queues extensively to simulate WANs without bothering with any

Re: Pipe queues

2007-12-11 Thread rihad
ny further packets written to that pipe during that time will be dropped if they can't be placed on a queue. The practical throughput depends on the number of queue slots available and the number of writers. I suggest you do some reading on queueing theory for the gory details. You've ju

Re: Pipe queues

2007-12-11 Thread Peter Jeremy
On Tue, Dec 11, 2007 at 12:31:00PM +0400, rihad wrote: >Peter Jeremy wrote: >> On Tue, Dec 11, 2007 at 09:21:17AM +0400, rihad wrote: >>> And if I _only_ want to shape IP traffic to given speed, without >>> prioritizing anything, do I still need queues? This was the whole point. >> No you don't.

Re: Pipe queues

2007-12-11 Thread Julian Elischer
rihad wrote: Peter Jeremy wrote: On Tue, Dec 11, 2007 at 09:21:17AM +0400, rihad wrote: And if I _only_ want to shape IP traffic to given speed, without prioritizing anything, do I still need queues? This was the whole point. No you don't. I'm using pipes without queues extensively to simula

Re: Pipe queues

2007-12-11 Thread rihad
Peter Jeremy wrote: On Tue, Dec 11, 2007 at 09:21:17AM +0400, rihad wrote: And if I _only_ want to shape IP traffic to given speed, without prioritizing anything, do I still need queues? This was the whole point. No you don't. I'm using pipes without queues extensively to simulate WANs withou

Re: Pipe queues

2007-12-10 Thread rihad
Chuck Swiger wrote: On Dec 10, 2007, at 8:56 AM, rihad wrote: Hi, I'm having a hard time to understand what pipe queues are with respect to bandwidth limitation. ipfw(8) and dummynet(4) manuals didn't help me much. Pipes and queues are two different things; a pipe simulates a net

Re: Pipe queues

2007-12-10 Thread rihad
Chuck Swiger wrote: On Dec 10, 2007, at 8:56 AM, rihad wrote: Hi, I'm having a hard time to understand what pipe queues are with respect to bandwidth limitation. ipfw(8) and dummynet(4) manuals didn't help me much. Pipes and queues are two different things; a pipe simulates a net

Re: Pipe queues

2007-12-10 Thread rihad
Stephen Clark wrote: Luigi Rizzo wrote: On Mon, Dec 10, 2007 at 11:22:33AM -0800, Chuck Swiger wrote: On Dec 10, 2007, at 8:56 AM, rihad wrote: Hi, I'm having a hard time to understand what pipe queues are with respect to bandwidth limitation. ipfw(8) and dummynet(4) ma

Re: Pipe queues

2007-12-10 Thread Stephen Clark
Luigi Rizzo wrote: On Mon, Dec 10, 2007 at 11:22:33AM -0800, Chuck Swiger wrote: On Dec 10, 2007, at 8:56 AM, rihad wrote: Hi, I'm having a hard time to understand what pipe queues are with respect to bandwidth limitation. ipfw(8) and dummynet(4) manuals didn't he

Re: Pipe queues

2007-12-10 Thread Luigi Rizzo
On Mon, Dec 10, 2007 at 11:22:33AM -0800, Chuck Swiger wrote: > On Dec 10, 2007, at 8:56 AM, rihad wrote: > > Hi, > > > > I'm having a hard time to understand what pipe queues are with > > respect to bandwidth limitation. ipfw(8) and dummynet(4) manuals > &g

Re: Pipe queues

2007-12-10 Thread Chuck Swiger
On Dec 10, 2007, at 8:56 AM, rihad wrote: Hi, I'm having a hard time to understand what pipe queues are with respect to bandwidth limitation. ipfw(8) and dummynet(4) manuals didn't help me much. Pipes and queues are two different things; a pipe simulates a network link, and

Pipe queues

2007-12-10 Thread rihad
Hi, I'm having a hard time to understand what pipe queues are with respect to bandwidth limitation. ipfw(8) and dummynet(4) manuals didn't help me much. How does dummynet's traffic shaping function? Why does it need a queue at all? As each connection's queue takes som