From owner-freebsd-questions@FreeBSD.ORG Tue Jun 26 21:58:47 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9CB8416A421 for ; Tue, 26 Jun 2007 21:58:47 +0000 (UTC) (envelope-from jbronson@sixcompanies.com) Received: from grid.sixcompanies.com (grid.sixcompanies.com [69.90.133.39]) by mx1.freebsd.org (Postfix) with ESMTP id 7037113C44B for ; Tue, 26 Jun 2007 21:58:47 +0000 (UTC) (envelope-from jbronson@sixcompanies.com) Received: from cheyenne.sixcompanies.com (CPE-72-128-119-2.wi.res.rr.com [72.128.119.2]) (authenticated bits=128) by grid.sixcompanies.com (8.14.1/8.14.1) with ESMTP id l5QLweXb029238 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 26 Jun 2007 14:58:46 -0700 (PDT) Received: from coors.sixcompanies.com (coors.sixcompanies.com [10.43.82.5]) by cheyenne.sixcompanies.com (8.14.1/8.14.1) with ESMTP id l5QLwe7x003949; Tue, 26 Jun 2007 16:58:40 -0500 (CDT) Message-Id: <200706262158.l5QLwe7x003949@cheyenne.sixcompanies.com> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Tue, 26 Jun 2007 16:58:40 -0500 To: freebsd-questions@freebsd.org From: JD Bronson Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: device polling on 6.2-stable..use? yes/no? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2007 21:58:47 -0000 Anyone using device polling on 6.2stable (i386) ? I have been reading up on this and seen some good and some bad but nothing definitive. I have bge NICs in these machines and they are running as routers, and running pf. When I enabled it in the kernel and then via rc.conf (since sysctl use is depreciated now) ...I can see a difference in "vmstat -i" presuming thats the correct way to check. With polling DISABLED...vmstat shows ever increasing values for example: vmstat -i interrupt total rate irq4: sio0 3 0 irq6: fdc0 10 0 irq14: ata0 12210 0 irq15: ata1 78834 2 irq22: bge0 430416 11 irq23: bge1 917826 24 cpu0: timer 75098549 2000 cpu1: timer 75092636 1999 Total 151630484 4038 and when I do a large network operation (like ftp an ISO) it increases and increases....however, with device polling compiled and configured (all default values though in sysctl) - I do not see an increase in vmstat numbers for the nics...I figured thats good...but I might be wrong? I dont do anything higher than WAN(10MB) and LAN(100MB). But if anyone has any suggestions or comments -especially values to adjust in sysctl, please chime in. TIA -JD