From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 28 21:08:31 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC23816A4D0 for ; Sat, 28 Feb 2004 21:08:31 -0800 (PST) Received: from mail.sandvine.com (sandvine.com [199.243.201.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5DFB43D2D for ; Sat, 28 Feb 2004 21:08:30 -0800 (PST) (envelope-from don@sandvine.com) Received: by mail.sandvine.com with Internet Mail Service (5.5.2657.72) id <15P45725>; Sun, 29 Feb 2004 00:08:26 -0500 Message-ID: From: Don Bowman To: 'Deepak Jain' Date: Sun, 29 Feb 2004 00:08:16 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" cc: freebsd-hackers@freebsd.org Subject: RE: em0, polling performance, P4 2.8ghz FSB 800mhz X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Feb 2004 05:08:32 -0000 ... > > > > > > You may need to increase the MAX_RXD inside your em driver > to e.g. 512. > > I didn't know if my card had a buffer bigger than the default > 256. I can > increase it, but I didn't know how to determine how big a MAX_RXD my > card would support. When the system was under load, it was generating > 2xHZ clock ticks (2000 when HZ was 1000) is that normal? max_rxd is not a function of the card. its the system ram you devote to dma buffers. Too big will cause problems since it will flush through the cache etc. you should get (vmstat -i) a clk rate that exactly matches hz.