From owner-freebsd-net@FreeBSD.ORG Fri Feb 10 17:23:12 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 9DAC116A420 for ; Fri, 10 Feb 2006 17:23:12 +0000 (GMT) (envelope-from bedinelli@madhaus.cns.utoronto.ca) Received: from madhaus.cns.utoronto.ca (madhaus.cns.utoronto.ca [128.100.103.10]) by mx1.FreeBSD.org (Postfix) with SMTP id 136B243D48 for ; Fri, 10 Feb 2006 17:23:11 +0000 (GMT) (envelope-from bedinelli@madhaus.cns.utoronto.ca) Received: (qmail 30386 invoked by uid 31014); 10 Feb 2006 17:23:11 -0000 Received: from [128.100.103.148] (HELO [128.100.103.148]) (128.100.103.148) by madhaus.cns.utoronto.ca (qpsmtpd/0.30) with ESMTP; Fri, 10 Feb 2006 12:23:11 -0500 In-Reply-To: <43ECB1E7.8010308@mac.com> References: <7bb8f24157080b6aaacb897a99259df9@madhaus.cns.utoronto.ca> <43ECB1E7.8010308@mac.com> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <711b7ec873f31bc5be50ce477313fac3@madhaus.cns.utoronto.ca> Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org From: Marcos Bedinelli Date: Fri, 10 Feb 2006 12:23:09 -0500 X-Mailer: Apple Mail (2.623) Subject: Network performance in a dual CPU system X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2006 17:23:12 -0000 Hello all, thanks for the replies. Most of you have suggested that I turn on polling and give it a try. The machine is in production, hence I need to schedule downtime for that. The system is mainly being used as a dedicated router. It runs OSPF, BGP and IPFW (around 150 rules). OSPF and BGP are managed by Quagga. The box has 2 gigabit interfaces that handle on average 200Mbp/s - 50K packets/s (inbound and outbound combined), each one of them. Some of you have asked for the following information: - As I indicated before, polling is currently disabled. - Hyperthreading (HTT) is disabled. mull [~]$vmstat -i interrupt total rate irq1: atkbd0 3466 0 irq6: fdc0 10 0 irq13: npx0 1 0 irq14: ata0 47 0 irq21: fxp1 20462527 8 irq28: bge0 3511765157 1444 irq29: bge1 3633124373 1494 irq30: aac0 1842472 0 cpu0: timer 566751007 233 Total 7733949060 3181 mull [~]$netstat -m 644/646/1290 mbufs in use (current/cache/total) 643/407/1050/17088 mbuf clusters in use (current/cache/total/max) 0/5/4528 sfbufs in use (current/peak/max) 1447K/975K/2422K bytes allocated to network (current/cache/total) 0 requests for sfbufs denied 0 requests for sfbufs delayed 0 requests for I/O initiated by sendfile 0 calls to protocol drain routines Thank you, -- Marcos