From owner-freebsd-stable@FreeBSD.ORG Sun Jun 8 21:07:00 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 65CA29B8 for ; Sun, 8 Jun 2014 21:07:00 +0000 (UTC) Received: from mail-qa0-x229.google.com (mail-qa0-x229.google.com [IPv6:2607:f8b0:400d:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 26E9228F3 for ; Sun, 8 Jun 2014 21:07:00 +0000 (UTC) Received: by mail-qa0-f41.google.com with SMTP id dc16so7232261qab.0 for ; Sun, 08 Jun 2014 14:06:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=O1uLwMCm8ugzWuaQ3xk1hW56LLZYhAbzlF1Yk5xvn0Y=; b=UbeELBX+KHcgNwJ8WyJZQIXsk1R3snLUv9Ge3903Mwb+1GY3rekwvKlrtXHt2S+nsL 8OoIq9qy6NF26sl/dUMGG+ZUgL0oMULu9hh2YjrKzJ2z3AHs4a/kd7uOEcUnDDpqxtA0 V/l2V7/FlFOyRpZj/PFHFy154coObM0J+2l2Ws8VX2dKC7bqX60bP7eSRFbGgkkyiQSy GAYYIDyyzrzmRNqJNn2ERCxMexqWWzGVpO4TLu2kPhdz2/Zut+DtSlHY5vc7kqX2soNJ FzqaOmsNI7Ku/F75a7H/Asx1VTBH13EUSSxn//Pm69aKOCql+Z8nHxxROOiyuPBAWa80 6XcQ== MIME-Version: 1.0 X-Received: by 10.140.47.18 with SMTP id l18mr26479532qga.9.1402261619241; Sun, 08 Jun 2014 14:06:59 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.43.134 with HTTP; Sun, 8 Jun 2014 14:06:59 -0700 (PDT) In-Reply-To: <53947752.2090507@heuristicsystems.com.au> References: <5393B20D.9050806@bsdinfo.com.br> <53947752.2090507@heuristicsystems.com.au> Date: Sun, 8 Jun 2014 14:06:59 -0700 X-Google-Sender-Auth: JOvN0Ako4o7stNGt1B_YafG2ETg Message-ID: Subject: Re: Flowtable stats From: Adrian Chadd To: Dewayne Geraghty Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Stable Mailing List X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2014 21:07:00 -0000 Hi, It's in netstat now. Try netstat -rs -a On 8 June 2014 07:46, Dewayne Geraghty wrote: > While preparing to transition from 9.2Stable to 10.0Stable, I noticed > that there is no ability to examine the status of the flowtable. The > sysctl net.inet.flowtable.stats was useful to ascertain if the > net.flowtable.maxflows (or previously net.inet.flowtable.nmbflows on 9.* > and 8.*) is sufficient or excessive. For boundary devices with 1G (or > less), it is helpful to tune. > > Is there another sysctl that I need to tweak to see this, or a > supporting program? > > It would be useful to see Hits/Lookups, while misses might be useful if > expiry were tuneable. > > Refer to single CPU boundary device FreeBSD9.2: > net.inet.flowtable.stats= > table name: ipv4 > collisions: 12 > allocated: 0 > misses: 225821 > max_depth: 1 > free_checks: 1502021 > frees: 225785 > hits: 220339242 > lookups: 220565063 > > net.inet.flowtable.nmbflows=25600 looks about right, while the FreeBSD10 > (server) that I'm using has autoset net.flowtable.maxflows=427552 > > There was no mention in UPDATING or the 10.0R Release Notes. > Regards, Dewayne. >