From bd37a437707a4d26b9c205334d25f0ca2c8c50f6 Mon Sep 17 00:00:00 2001 From: rwatson Date: Tue, 22 Jun 2010 10:45:35 +0000 Subject: 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 --- tools/tools/netrate/tcpp/README | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/tools/netrate/tcpp/README b/tools/tools/netrate/tcpp/README index 3287b38..3c088c0 100644 --- a/tools/tools/netrate/tcpp/README +++ b/tools/tools/netrate/tcpp/README @@ -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" -- cgit v1.1