From owner-freebsd-net@FreeBSD.ORG Fri Apr 19 15:52:59 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 59167917 for ; Fri, 19 Apr 2013 15:52:59 +0000 (UTC) (envelope-from sean_bruno@yahoo.com) Received: from nm15-vm0.bullet.mail.bf1.yahoo.com (nm15-vm0.bullet.mail.bf1.yahoo.com [98.139.212.254]) by mx1.freebsd.org (Postfix) with SMTP id EF29B2C8 for ; Fri, 19 Apr 2013 15:52:58 +0000 (UTC) Received: from [98.139.215.140] by nm15.bullet.mail.bf1.yahoo.com with NNFMP; 19 Apr 2013 15:52:51 -0000 Received: from [98.139.213.11] by tm11.bullet.mail.bf1.yahoo.com with NNFMP; 19 Apr 2013 15:52:51 -0000 Received: from [127.0.0.1] by smtp111.mail.bf1.yahoo.com with NNFMP; 19 Apr 2013 15:52:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1366386771; bh=VtJiYj5+usi1Jvs0awy4jbXUbeF+3H02ISbAefQdmyc=; 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=XWSzGevY9jy9Duxd3Q8SeHX9NEFrett7v5AIw2RNKRmNT0Gs4lCa00tLLrM8jm4uVdfBiDyrtQ5hXSVcgTj5HoAWWH8zxTJcFAq5+n+QkuHpXCk+8WU7/215hrc1ugVgc628CeSHt5KN3LzBmWilIRCrcHQWawJDDBracadFVzg= X-Yahoo-Newman-Id: 900788.14381.bm@smtp111.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: ywYAefgVM1msLVHrPPHPRETd5buHY0A1QmXXOwuLttQQXV8 Uy54s8jWqi9MCT.OQrd0i9S3q2Oki0H8HEyfIGNv0c7qMYeFlhfYdyib1TvB sJVg9qHf0dWEBvi9rv3zD_zoH1Z3B9PYmGheCCLV0OqOS8_gsYrEd6Drhi5D cJxpuxhSrNXJVVpb.o6hDxexQERPFKH.bIAbJdIBEcA5lye.EDNBUbZe9pLV pOh2jlo3CzS.qdKZ6fuVTOKXWR6qe1bZt5e5CV_v7exiEDQUyNuP8iJUPHFX gy5JLd.4OMy3z4DX4DXkU0BbfIn0wNThyGqDL_J4YAu7nq0eaHP5bHEt9F1Q meV.FOlYgl_kbmB1OKg50o1V400vUXLOPYl99n8YH2PLp8uSudrOv87TDVUs b6zhS8gNuJqkGtWuKQ8vx4XcooC2fyZxXoaynmM8fvxeaz1prSenJxfv3DWW r9yIC2fa4lNbzvj1BRGA_b1rdLh4sAu3XXzrmqK3B2KieO4sDDSgXQZic5U4 jroGkTlE8A9eEHo8Ys9f60uSr3fPim9_SBLC.rxlju9ka7j_5caVS_ww0c5m _ X-Yahoo-SMTP: u5BKR6OswBC_iZJVfGRoMkTIpc8pEA4- X-Rocket-Received: from [192.168.43.121] (sean_bruno@70.211.76.117 with plain) by smtp111.mail.bf1.yahoo.com with SMTP; 19 Apr 2013 08:52:51 -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="=-zayncrzHB4mi1f2QEXBL" Date: Fri, 19 Apr 2013 08:52:46 -0700 Message-ID: <1366386766.1387.0.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 15:52:59 -0000 --=-zayncrzHB4mi1f2QEXBL 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 --=-zayncrzHB4mi1f2QEXBL 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) iQEcBAABAgAGBQJRcWhJAAoJEBkJRdwI6BaHFDwH/1GyDPS42EREiT23E5oOu5Bv R03H29KIl6fEz4BmWjYxQ0SYPKp50fAHCeu3P9OrlwPGv0DwsViYh2g9D7T19Gx4 GGRUUEfyEQj0mw6GCjaV5vVfMUZyMo64zpReDjgyaWyQXmratXp3IfcRVnqLq87v iRerFfnNWujqg0TCxenRT0+6/4TwxLJ8FLhhVqAoYx36LT7aWpoTwxBglzQ0hkgx 4wiwtvtvyBYnxOTifig2VfAWeDELTrL37Zq4sZGLpysvlJxvsGZJOQwJCUlXQa4O 9byTTgIBelM8t7c4Yo+H5UuWfxdf4+4Bu24DmYAZmahBT6MWzy6YzJ5wkcjMhL0= =0ge+ -----END PGP SIGNATURE----- --=-zayncrzHB4mi1f2QEXBL--