Latency problem with traffic shaping (ipfw/dummynet)

Vincent Poy vince at oahu.WURLDLINK.NET
Sun Mar 21 02:56:24 PST 2004


On Sun, 21 Mar 2004, Luigi Rizzo wrote:

> On Sat, Mar 20, 2004 at 12:56:08PM -1000, Vincent Poy wrote:
> ...
> > > the above configuration means that if queue 1 is getting a bandwidth
> > > X, then queue 2 will get 0.99X, queue 3 will get 0.98X, queue
> > > 4 will get 0.97X. Hardly matching any reasonable definition of high-mid-low
> > > priority!
> >
> > 	Hmm, I think I did it that way because 100 is the largest number
> > and I didn't decide on how many queues I may add later so the numbers will
> > change but does the weight number really mean 99%, 98%, 97% priority?  So
> > should it really be 66, 33, and 1?
>
> no, the weights mean exactly what i wrote above, and they
> are weights not priorities. As to the values to use,
> that's entirely up to you.

	Just as I thought.  I rebooted and latencies have gone down.  It
seems that latency when the pipes are filled are always 50-100ms slower on
boxes behind the FreeBSD box.  One question though, with ipfw pipe show or
ipfw queue show, is it supposed to show all traffic that matches the queue
rule or just only one?


Cheers,
Vince - vince at WURLDLINK.NET - Vice President             ________   __ ____
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / |  / |[__  ]
WurldLink Corporation                                  / / / /  | /  | __] ]
San Francisco - Honolulu - Hong Kong                  / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____]
Almighty1 at IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin



More information about the freebsd-questions mailing list