From owner-freebsd-net@FreeBSD.ORG Thu Apr 28 14:27:09 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 CAAAC106564A for ; Thu, 28 Apr 2011 14:27:09 +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 602938FC0C for ; Thu, 28 Apr 2011 14:27:08 +0000 (UTC) X-MDAV-Processed: mail1.multiplay.co.uk, Thu, 28 Apr 2011 15:26:45 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Thu, 28 Apr 2011 15:26:42 +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 md50013096920.msg for ; Thu, 28 Apr 2011 15:26:40 +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: From: "Steven Hartland" To: "Adam Stylinski" References: <20110428072946.GA11391@zephyr.adamsnet> <4DB965D8.7090906@sentex.net> <20110428141339.GD2800@ossumpossum.geop.uc.edu> Date: Thu, 28 Apr 2011 15:25:53 +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 14:27:09 -0000 * What's your traffic like? e.g. http, large tcp files, tiny udp etc... * Is it all on a local switch, if so what switch? * Is flow control enabled? * Are you seeing high interrupts? * Are you disk bound? * Are you memory bound? * Are you cpu bound? Some basic settings we have here:- net.inet.tcp.inflight.enable=0 net.inet.tcp.sendspace=65536 kern.ipc.nmbclusters=262144 kern.ipc.maxsockets=204800 net.inet.tcp.msl=20000 kern.ipc.maxsockbuf=524288 net.inet.tcp.sendbuf_max=16777216 net.inet.tcp.recvbuf_max=16777216 Note: Large values for kern.ipc.maxsockbuf can hurt performance under 8.x but work well under 7.x (never got to the bottom of that) Regards Steve ================================================ 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.