Date: Wed, 12 Dec 2007 12:52:11 +0400 From: rihad <rihad@mail.ru> To: Chuck Swiger <cswiger@mac.com> Cc: freebsd-net@freebsd.org Subject: Re: Pipe queues Message-ID: <475FA13B.8060208@mail.ru> In-Reply-To: <EA06E0EA-C982-4A8B-9CAC-99AB35D4A4BC@mac.com> References: <475D6FD7.2000500@mail.ru> <DCFF3417-FC01-4F2C-ACA5-03CC0881DE59@mac.com> <475E3DB6.4030203@mail.ru> <EA06E0EA-C982-4A8B-9CAC-99AB35D4A4BC@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 slots, >> which >> is the typical queue size for Ethernet devices. Note that >> for slow >> speed links you should keep the queue size short or your >> traffic >> might be affected by a significant queueing delay. E.g., 50 >> max- >> sized ethernet packets (1500 bytes) mean 600Kbit or 20s of >> queue on >> a 30Kbit/s pipe. Even worse effects can result if you get >> packets >> from an interface with a much larger MTU, e.g. the loopback >> inter- >> face with its 16KB packets. > > The issue is that if you have a really slow upstream link, you can end > up queuing many seconds worth of traffic using the default queue size-- > depending on the priorities, you might have traffic being buffers so > long that it starts breaking connections or causing needless TCP retries... > Oh, now I get it, thanks! Perhaps the authors should have stated it clearly that instead of queuing packets for too long you'd better drop them, otherwise upper-layer retransmissions might cause multiple copies of a packet to arrive at the client and cause errors (would they?). This may be clear to networking people but it isn't so clear to someone like me trying to figure out what's going on. Now I know what technical documentation is all about :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?475FA13B.8060208>