From owner-freebsd-net@FreeBSD.ORG Wed Nov 17 19:08:27 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83A3716A4CE for ; Wed, 17 Nov 2004 19:08:27 +0000 (GMT) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 640EA43D55 for ; Wed, 17 Nov 2004 19:08:27 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (8.12.6/MantshX 2.0) with ESMTP id iAHJ8QYx025358; Wed, 17 Nov 2004 11:08:27 -0800 (PST) Received: from [10.1.1.245] (nfw2.codefab.com [199.103.21.225] (may be forged)) (authenticated bits=0)iAHJ8PMk024799; Wed, 17 Nov 2004 11:08:26 -0800 (PST) In-Reply-To: <20041117185248.GA1394@grosbein.pp.ru> References: <20041117181351.GA48071@comp.chem.msu.su> <20041117185248.GA1394@grosbein.pp.ru> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <0E8F462B-38CC-11D9-B242-003065ABFD92@mac.com> Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Wed, 17 Nov 2004 14:08:25 -0500 To: Eugene Grosbein X-Mailer: Apple Mail (2.619) cc: net@freebsd.org Subject: Re: polling(4) rocks! X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2004 19:08:27 -0000 On Nov 17, 2004, at 1:52 PM, Eugene Grosbein wrote: > On Wed, Nov 17, 2004 at 09:13:51PM +0300, Yar Tikhiy wrote: > [ ...praise of polling(4)... ] > Does polling(4) increase latency? It is very imortant for router > that handles lots of RTP (VoIP) traffic. Using polling does increase the latency of the traffic, slightly: if you follow the recommended configuration and set HZ=1000 or so, the added latency typically ends up being around 1ms. That's not enough to affect VoIP significantly. I've got 12 VoIP phone lines going through a FreeBSD 4.10 firewall using polling(4) over a T1 now. The firewall box is a Dell P3/400MHz or so using fxp and a quad-port card using the DEC 21x4x chipset. -- -Chuck