From owner-freebsd-net@FreeBSD.ORG Sat Jul 23 00:16:21 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 5649D1065670 for ; Sat, 23 Jul 2011 00:16:21 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 16B118FC0A for ; Sat, 23 Jul 2011 00:16:20 +0000 (UTC) Received: by vxg33 with SMTP id 33so2635382vxg.13 for ; Fri, 22 Jul 2011 17:16:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=5G2Z/BHZzyoIpizP+HRXk92Mu7bjQqiB2waLCSQEVq8=; b=gFgbeM+3IstU8qN4YlW/lfpZiOWsbr/pe5ho545jP2T5yAryR4RnT8t1TQleBxL6ZC VTpSMGHLbgF7oKQdkpepdKbiVo8wiJjqF5Ki6rPY5AWXrETTz+JfWpmh2vQHapp/YnNJ ZCqtxuFISEUH9oJOKHCGVa40iifesac/Saw9o= MIME-Version: 1.0 Received: by 10.220.57.11 with SMTP id a11mr629863vch.4.1311380178810; Fri, 22 Jul 2011 17:16:18 -0700 (PDT) Received: by 10.220.181.133 with HTTP; Fri, 22 Jul 2011 17:16:18 -0700 (PDT) In-Reply-To: References: Date: Fri, 22 Jul 2011 17:16:18 -0700 Message-ID: From: Garrett Cooper To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: What is slowhz? 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: Sat, 23 Jul 2011 00:16:21 -0000 On Fri, Jul 22, 2011 at 3:10 PM, Garrett Cooper wrote: > =A0 =A0I see this comment, and I've found references to a > net.inet.tcp.slowhz in Free, Net, and OpenBSDs, but this value can't > be queried anymore. > > # grep -r slowhz /sys/ > /sys/netinet/ip.h:#define =A0 =A0 =A0 IPFRAGTTL =A0 =A0 =A0 60 =A0 =A0 = =A0 =A0 =A0 =A0 =A0/* time to live for frags, slowhz */ > > =A0 =A0Could someone please confirm that slowhz is indeed a half second > value [1], or was it tunable / does it matter anymore? Answering my own question... /sys/sys/protosw.h: ... * every 500ms through the pr_slowtimo for timer based actions. ... #define PR_SLOWHZ 2 /* 2 slow timeouts per second */ > =A0 =A0For additional context, I'm trying to map IP-MIB::ipReasmTimeout > to a value used in the FreeBSD networking stack, and it looks like > that value is the best candidate. This is of course IP-MIB::ipReasmTimeout =3D IFRAGTTL / PR_SLOWHZ =3D 30 se= conds. > 1. http://markmail.org/message/3xvte6uxrhyb4spn Thanks! -Garrett