From owner-freebsd-performance@FreeBSD.ORG Wed Dec 5 16:16:19 2007 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D5AB16A468 for ; Wed, 5 Dec 2007 16:16:19 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.freebsd.org (Postfix) with ESMTP id E7EA913C45D for ; Wed, 5 Dec 2007 16:16:18 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost2.sentex.ca (8.14.1/8.13.8) with ESMTP id lB5GGHnQ086846; Wed, 5 Dec 2007 11:16:17 -0500 (EST) (envelope-from mike@sentex.net) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.8/8.13.3) with ESMTP id lB5GGGvb029587 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 5 Dec 2007 11:16:16 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <200712051616.lB5GGGvb029587@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Wed, 05 Dec 2007 11:18:19 -0500 To: Philipp Wuensche , From: Mike Tancsa In-Reply-To: <4755ED57.6030603@h3q.com> References: <4755ED57.6030603@h3q.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Re: tuning for high connection rates X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2007 16:16:19 -0000 At 07:14 PM 12/4/2007, Philipp Wuensche wrote: >The debug output of em0 looks like this: > >em0: CTRL = 0x40140248 RCTL = 0x8002 >em0: Packet buffer = Tx=20k Rx=12k >em0: Flow control watermarks high = 10240 low = 8740 >em0: tx_int_delay = 66, tx_abs_int_delay = 66 >em0: rx_int_delay = 32, rx_abs_int_delay = 66 >em0: fifo workaround = 0, fifo_reset_count = 0 >em0: hw tdh = 183, hw tdt = 183 >em0: hw rdh = 139, hw rdt = 139 >em0: Num Tx descriptors avail = 223 >em0: Tx Descriptors not avail1 = 6225 >em0: Tx Descriptors not avail2 = 3 >em0: Std mbuf failed = 0 >em0: Std mbuf cluster failed = 0 >em0: Driver dropped packets = 0 >em0: Driver tx dma failure in encap = 0 If you do a sysctl -w dev.em.0.stats=1 It will spit the nic stats to syslog. What are the results ? Also, what does ifconfig em0 look like (i.e. what options do you have set, speed etc) ---Mike