From owner-freebsd-net@FreeBSD.ORG Thu Apr 28 15:11:00 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3E46106566C for ; Thu, 28 Apr 2011 15:11:00 +0000 (UTC) (envelope-from prvs=10995192f0=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 688538FC12 for ; Thu, 28 Apr 2011 15:11:00 +0000 (UTC) X-MDAV-Processed: mail1.multiplay.co.uk, Thu, 28 Apr 2011 16:10:36 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Thu, 28 Apr 2011 16:10:36 +0100 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-5.0 required=6.0 tests=USER_IN_WHITELIST shortcircuit=ham autolearn=disabled version=3.2.5 Received: from r2d2 ([188.220.16.49]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50013097438.msg for ; Thu, 28 Apr 2011 16:10:35 +0100 X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=10995192f0=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: freebsd-net@freebsd.org Message-ID: <41EE7AB832F24194AC8730544E1C2EB7@multiplay.co.uk> From: "Steven Hartland" To: "Adam Stylinski" References: <20110428072946.GA11391@zephyr.adamsnet> <4DB965D8.7090906@sentex.net> <20110428141339.GD2800@ossumpossum.geop.uc.edu> <20110428144513.GF2800@ossumpossum.geop.uc.edu> Date: Thu, 28 Apr 2011 16:08:31 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6090 Cc: freebsd-net@freebsd.org Subject: Re: em0 performance subpar 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: Thu, 28 Apr 2011 15:11:00 -0000 You said your testing with iperf, what settings are you using? Flow control is not flowtable no, which could still result in a switch "issue" if linux and freebsd are setting different values by default, similarly with duplex / speed, I would recommend autoneg if your not already using. Have you tried without tso, rxcsum, txcsum & lro disabled? ----- Original Message ----- From: "Adam Stylinski" To: "Steven Hartland" Cc: Sent: Thursday, April 28, 2011 3:45 PM Subject: Re: em0 performance subpar I was using the default value for maxsockbuf, doesn't seem to hurt or help. The only value you've listed that I didn't have tweaked to a comparable value already was the nmbclusters, changing it seems to have no effect, though. vmstat -i should display my interrupts, which I don't think are particularly high. I am most definitely not CPU bound (utilization shows no hot CPUs), I have 16GB of memory and plenty allocated to the kernel, and I believe flow control is enabled (should it not be?): net.inet.flowtable.enable: 1 It's a 16 port netgear gigabit prosafe switch, and it's not likely to be the problem (like I said, the Linux hosts have no issues with the same card). ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.