From owner-svn-src-head@FreeBSD.ORG Tue Jun 22 10:45:36 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23B7E106564A; Tue, 22 Jun 2010 10:45:36 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1327C8FC21; Tue, 22 Jun 2010 10:45:36 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o5MAjZps020500; Tue, 22 Jun 2010 10:45:35 GMT (envelope-from rwatson@svn.freebsd.org) Received: (from rwatson@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o5MAjZ4q020498; Tue, 22 Jun 2010 10:45:35 GMT (envelope-from rwatson@svn.freebsd.org) Message-Id: <201006221045.o5MAjZ4q020498@svn.freebsd.org> From: Robert Watson Date: Tue, 22 Jun 2010 10:45:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r209428 - head/tools/tools/netrate/tcpp X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 10:45:36 -0000 Author: rwatson Date: Tue Jun 22 10:45:35 2010 New Revision: 209428 URL: http://svn.freebsd.org/changeset/base/209428 Log: Revised tuning advice for tcpp benchmarking: do it in loader.conf, and tweak more TCP/stack parameters. Sponsored by: Juniper Networks MFC after: 1 week Modified: head/tools/tools/netrate/tcpp/README Modified: head/tools/tools/netrate/tcpp/README ============================================================================== --- head/tools/tools/netrate/tcpp/README Tue Jun 22 09:45:20 2010 (r209427) +++ head/tools/tools/netrate/tcpp/README Tue Jun 22 10:45:35 2010 (r209428) @@ -80,12 +80,20 @@ mixes. Configuration Notes ------------------- -In my testing, I use sysctl.conf entries of: +In my testing, I use loader.conf entries of: -net.inet.ip.portrange.first=100 kern.ipc.maxsockets=1000000 net.inet.tcp.maxtcptw=3000000 kern.ipc.somaxconn=49152 +kern.ipc.nmbjumbo16=262144 +kern.ipc.nmbjumbo9=262144 +kern.ipc.nmbjumbop=262144 +kern.ipc.nmbclusters=262144 +net.inet.tcp.syncache.cachelimit=65536 +net.inet.tcp.syncache.bucketlimit=512 + +# May be useful if you can't use multiple IP addresses +net.inet.ip.portrange.first=100 # For running !multiq, do this before loading the driver: kenv hw.cxgb.singleq="1"