From owner-freebsd-net@FreeBSD.ORG Fri Apr 19 18:25:54 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6675D45E for ; Fri, 19 Apr 2013 18:25:54 +0000 (UTC) (envelope-from sean_bruno@yahoo.com) Received: from nm33-vm6.bullet.mail.gq1.yahoo.com (nm33-vm6.bullet.mail.gq1.yahoo.com [98.136.216.245]) by mx1.freebsd.org (Postfix) with ESMTP id 2ADB2119F for ; Fri, 19 Apr 2013 18:25:54 +0000 (UTC) Received: from [98.137.12.191] by nm33.bullet.mail.gq1.yahoo.com with NNFMP; 19 Apr 2013 05:13:09 -0000 Received: from [208.71.42.203] by tm12.bullet.mail.gq1.yahoo.com with NNFMP; 19 Apr 2013 05:13:09 -0000 Received: from [127.0.0.1] by smtp214.mail.gq1.yahoo.com with NNFMP; 19 Apr 2013 05:13:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1366348389; bh=6Gt7lPc1luhDCz+bRhUCDghtGCqBHZxBiaHfiMXQN1s=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Subject:From:Reply-To:To:Cc:In-Reply-To:References:Content-Type:Date:Message-ID:Mime-Version:X-Mailer; b=uS8IzL89X2rXiC5lkEzGJqFCOljasM4UPWnIWN9uJOc/S4NoTW/aNkcHs1EFgVg6jq62g+jNEpFqwkbr2DB1aK5vLaYXRx6uWPh8XaVPu4aRGFRZzi72GrO4U77Y2YAErMMJH2CYkVySz0g4nZv+OY0WB8P8oOKjhN8p2R5OXFE= X-Yahoo-Newman-Id: 439863.16558.bm@smtp214.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: pZbDVfsVM1lCA.Le5GSsjb53OC5s24nw9LaM3dneThg9h3u WNTBlzICt4D3YzQXePwRHBlmx.FhvgfPqF3O_cXWHnBviKT0xe6XUMiS9dwT qkIcJdwRjgS8kpJkQIb1R3_TcxHRAOw0Ra2bxGJFyeEQQh1tGLlnEY8iHSf8 .jUozjMAk4_NmRWuxqum9VMLQ_.ftfMa7TbRfJSOBBgSSFeAx.kpmcmH.x3M M0ck0C3BMxcXFf77VJYe6eqN5cMl0RMUr_PuNjXbh3DymTfBn_R7NUK80mLx LnzEGIHSXVThQEVoVM2poiR3K7emQswilUJEVL7gl8dWAdJuscgqPHGOMRjH W_jlbgPqIRQYV1Smoxo8ymP_uVAnhYqj3Vy26zWCLRDY497vO2LZ.gABEUyw pQNyxCP5Se7NFG_ykNW8Bf8CNORsEisIuuu_gwcj3t0Nr.0JhIH.iWlP2HHa IElghg_jtF6WblWpB_fvZTeXTBQS1MJyQXQDIQrhfcgVjqO0awcAgHGEb.GW 0rvlUmY1CLeDUjTT8XvxHdKOrzfi5496O4YXgqVkZY7TBU5goeUflqoWIY8M oJyNowGPcN5J2CIJ1dgk1 X-Yahoo-SMTP: u5BKR6OswBC_iZJVfGRoMkTIpc8pEA4- X-Rocket-Received: from [10.73.210.63] (sean_bruno@209.131.62.145 with plain) by smtp214.mail.gq1.yahoo.com with SMTP; 18 Apr 2013 22:13:09 -0700 PDT Subject: Re: bge(4) sysctl tuneables -- a blast from the past. more knobs! MORE! From: Sean Bruno To: Bruce Evans In-Reply-To: <20130416152121.G904@besplex.bde.org> References: <1365781568.1418.1.camel@localhost> <20130413200512.G1165@besplex.bde.org> <1366065356.1350.7.camel@localhost> <20130416152121.G904@besplex.bde.org> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-0Pjypm7Wx2XM1dPF/zws" Date: Thu, 18 Apr 2013 22:13:08 -0700 Message-ID: <1366348388.1389.11.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: "pyunyh@gmail.com" , "freebsd-net@freebsd.org" , bde X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Apr 2013 18:25:54 -0000 --=-0Pjypm7Wx2XM1dPF/zws Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Version 0.2 of patches to bge(4). I'm not totally happy with it, but comments welcome. I need better explanations of usage for the man page. I've dropped bge_rxd completely here as it was suggested to not even bother adjusting it. http://people.freebsd.org/~sbruno/bge_config_update_1.txt > I didn't notice before that these are tunables and not sysctls. That's > much more broken. Actually tuning using them like I do with sysctls > would take ~10000 reboots. Tunables are bogus for anything that isn't > needed for booting. Optimizations are needed for booting. >=20 Done and changed. Things seem to do the right thing when adjusted. > Technical bugs include: > - wrong defaults are claimed for *coal_ticks. The defaults are 150, but > are claimed to be 150 milliseconds. These values are dimensionless, > but since ticks take 1 microsecond each, 150 gives 150 microseconds, > not 150 milliseconds. man page updated to reflect usec timing. checked the tech docs as well and confirmed microseconds. > - *coal_bds is claimed to be a count of packes (sic). Actually, it is a > count of buffer descriptors. Small packets take 1 bd, but normal > packets take 2, and jumbo packets many (?). The best tuning may be > depend on the average bds/packet. man page updated with wording that attempts to say this. > - the new tunables are in the wrong namespace (hw instead of dev) fixed > - the new tunables are too global (bge instead of bge.N) fixed >=20 > There are only 2 bge tunables now, and they only have half of these bugs: > - hw.bge.allow_asf is in the wrong namespace > - hw.bge.allow_asf is too global Maintainer disagrees with this. > - dev.bge.%d.msi seems to be correct. > Both of the old tunables are needed for boot-time configuration. >=20 > Bruce Sean --=-0Pjypm7Wx2XM1dPF/zws Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (FreeBSD) iQEcBAABAgAGBQJRcNJkAAoJEBkJRdwI6BaH9CgH/ijLqMCY6kZz86aoKIc5LINs SQok2VVpx3Fmrg+ecXsslHCzEfrsFXOiW6iCZBv4gB79FcWQtwEmmU7TubaoiehS sQgxvkkaCpt3dVYwF1CR9DqfKWjYp4nljQMR3shOgGjPRyM7vLUdottLFMHZZzKY yXaEg4U1O5mxdq5BK76Fg0OOc/3liGqSoKcX4OYPES0jSV9PmZLGVo6/3ivAtD/q QmlTqSp05YyaVVPe4Yrn77M3XsMtwfi8WiJwT3tcRQAj16Za3FgIGqcsmPaLC4LT +i7tjZ8IrEJV/QTp0P1BsDtDD5qOAP2V07rW9Z0ZmD1onpf08LUrDCWY4o3EX40= =vAll -----END PGP SIGNATURE----- --=-0Pjypm7Wx2XM1dPF/zws--