From owner-freebsd-questions@FreeBSD.ORG Sat Sep 25 15:40:28 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95E9316A4CE for ; Sat, 25 Sep 2004 15:40:28 +0000 (GMT) Received: from imo-m18.mx.aol.com (imo-m18.mx.aol.com [64.12.138.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3866643D53 for ; Sat, 25 Sep 2004 15:40:28 +0000 (GMT) (envelope-from TM4525@aol.com) Received: from TM4525@aol.com by imo-m18.mx.aol.com (mail_out_v37_r3.7.) id m.192.2ebbbb6e (3964); Sat, 25 Sep 2004 11:40:24 -0400 (EDT) From: TM4525@aol.com Message-ID: <192.2ebbbb6e.2e86eb67@aol.com> Date: Sat, 25 Sep 2004 11:40:23 EDT To: mike@sentex.net MIME-Version: 1.0 X-Mailer: 9.0 for Windows sub 5112 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-questions@freebsd.org Subject: Re: Device polling performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Sep 2004 15:40:28 -0000 In a message dated 9/25/04 10:17:27 AM Eastern Daylight Time, mike@sentex.net writes: At 09:57 AM 25/09/2004, TM4525@aol.com wrote: Hi, > As long as all your interfaces support polling, you should see >hardly see any interrupt usage at all, as that is the whole point of >polling. You can allocate more or less CPU cycles to flinging packets >around via various sysctl settings. See the polling man pages for >more info > > ---Mike > >Thanks, but that doesn't answer the question. Since polling cycles don't >seem to be shown under any usage category, how do you know what your >system usage is when polling is enabled? It seems like a big negative to me. Read the MAN page. There is a whole section there on a number of MIB variables that display various statistics around polling. 50% of the CPU cycles are allocated to the system by default. If that 50% is used up, it will show up in top under system processes in top. Given a decent CPU, you wont see very much of a load average at all in the 200Kpps / 100Mb range. ---Mike Ah, so the capacity of a FreeBSD router is > 10 million packets per second, since 200K pps only uses .1 % of system resources. Kudos to the FreeBSD team for developing a stack that uses no resources. It seems beyond unreasonable that, with interrupts enabled, 55% of the system is used, and with polling, ~ zero. Since its clear you have no idea what you're talking about, perhaps if someone who actually does would like to pipe in it would be useful. It seems obvious that the "system" resource is not accurately monitored with polling enabled, which is what Im trying to get someone to admit, or to tell me when it was or will be repaired. TM PS: and please dont tell me to read the man page again.