From owner-freebsd-net@FreeBSD.ORG Thu May 19 14:19:31 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 78876106564A for ; Thu, 19 May 2011 14:19:31 +0000 (UTC) (envelope-from williamejsalt@googlemail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 428EE8FC1B for ; Thu, 19 May 2011 14:19:30 +0000 (UTC) Received: by iwn33 with SMTP id 33so3116105iwn.13 for ; Thu, 19 May 2011 07:19:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=qNe1KkFQycXWtsE5NXgUeesdKIFNiCh+y5NcqLQkb2Q=; b=n0vcBkTMjMO/WzS47zbwnCpbFP2LPqsyB0KOs3N/DKYF7CcRowWoc9okHIBfiqZ3R0 /5KEZ3rQ5bm2L5QIA0TmyXD2l4cKaEZOfuC/PAojuk+NWZEemxMSjAp7lghIvAXFwzKT /7ROowW3r2m9r5ttj07PTwdMQDiszoJnEBj2g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=F7hlAGQunr9pN9i9Y7GAKwDOLr6G00ukASQXmx9Z7yW73ejulaYvPZ9r1r3tnxu5EF 98LuwN6Qq2MLdj8vMppkIx3sXbgnwA/+vQYE36WEQnsSfnU51TahJKhvCeFD8cuct4D1 4oad6jZnHJ7d01/xo5o9x9dDWggxD/Fzt2Y/A= MIME-Version: 1.0 Received: by 10.42.220.136 with SMTP id hy8mr3747768icb.114.1305813176460; Thu, 19 May 2011 06:52:56 -0700 (PDT) Received: by 10.231.32.72 with HTTP; Thu, 19 May 2011 06:52:56 -0700 (PDT) Date: Thu, 19 May 2011 14:52:56 +0100 Message-ID: From: William Salt To: freebsd-net@freebsd.org X-Mailman-Approved-At: Thu, 19 May 2011 15:15:46 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Intel 10GbE Tuning under freebsd 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, 19 May 2011 14:19:31 -0000 Hi All, I have just got a couple of 10GbE intel X520-DA2 cards to test. Im running freebsd 8.1 on a super micro intel xeon server, and a hp core 2 duo workstation, both machines have 4gb of ram. Both are attached via sfp+ cables to a brocade turbo iron switch, which simply has jumbo frames enabled. Initial testing was pretty basic, i simply enabled jumbo frames, and increased max send/recv buffer to 16MB, which should be more than enough. I then ran iperf and managed to get approximately 5gbps, i was expecting around 8.5gbps. However, i realise that the ix driver probably needs to be tuned, as well as the OS. After a bit of googling, i cant find a tuning guide under freebsd for 10GbE, or many recommendations, and wondered if anyone has already successfully managed to tune freebsd with intel 10gbe nics, to gain a higher throughput? If so, has anyone got any tips, or sample configs? Thanks in advance Will