Date: Tue, 22 Jun 2010 10:45:35 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r209428 - head/tools/tools/netrate/tcpp Message-ID: <201006221045.o5MAjZ4q020498@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006221045.o5MAjZ4q020498>