From owner-freebsd-performance@FreeBSD.ORG Fri Dec 23 17:26:43 2011 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A15CC10656AD; Fri, 23 Dec 2011 17:26:43 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 41E138FC18; Fri, 23 Dec 2011 17:26:42 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1Re8tF-0003gF-Su>; Fri, 23 Dec 2011 18:26:41 +0100 Received: from e178023009.adsl.alicedsl.de ([85.178.23.9] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1Re8tF-00021A-NF>; Fri, 23 Dec 2011 18:26:41 +0100 Message-ID: <4EF4B9D1.8010900@zedat.fu-berlin.de> Date: Fri, 23 Dec 2011 18:26:41 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111222 Thunderbird/9.0 MIME-Version: 1.0 To: Jeremy Chadwick References: <4EF3C0CE.5040802@zedat.fu-berlin.de> <20111222235846.GA6071@icarus.home.lan> <201112231000.05712.jhb@freebsd.org> <20111223152452.GA21957@icarus.home.lan> In-Reply-To: <20111223152452.GA21957@icarus.home.lan> X-Enigmail-Version: undefined Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1502F529B2C0204E19EA4E4D" X-Originating-IP: 85.178.23.9 Cc: freebsd-stable@freebsd.org, John Baldwin , freebsd-current@freebsd.org, igor@hybrid-lab.co.uk, Alexander Leidinger , freebsd-performance@freebsd.org Subject: Re: Benchmark (Phoronix): FreeBSD 9.0-RC2 vs. Oracle Linux 6.1 Server X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 17:26:43 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1502F529B2C0204E19EA4E4D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 12/23/11 16:24, Jeremy Chadwick wrote: > On Fri, Dec 23, 2011 at 10:00:05AM -0500, John Baldwin wrote: >> On Thursday, December 22, 2011 6:58:46 pm Jeremy Chadwick wrote: >>> On Fri, Dec 23, 2011 at 12:44:14AM +0100, O. Hartmann wrote: >>>> On 12/21/11 19:41, Alexander Leidinger wrote: >>>>> Hi, >>>>> >>>>> while the discussion continued here, some work started at some othe= r=20 >> place. Now... in case someone here is willing to help instead of talki= ng, feel=20 >> free to go to http://wiki.freebsd.org/BenchmarkAdvice and have a look = what can=20 >> be improved. The page is far from perfect and needs some additional pe= ople=20 >> which are willing to improve it. >>>>> >>>>> This is only part of the problem. A tuning page in the wiki - which= =20 >> could be referenced from the benchmark page - would be great too. Any = >> volunteers? A first step would be to take he tuning-man-page and wikif= y it.=20 >> Other tuning sources are welcome too. >>>>> >>>>> Every FreeBSD dev with a wiki account can hand out write access to = the=20 >> wiki. The benchmark page gives contributor-access. If someone wants wr= ite=20 >> access create a FirstnameLastname account and ask here for contributor= -access. >>>>> >>>>> Don't worry if you think your english is not good enough, even some= one- >> word notes can help (and _my_ english got already corrected by other p= eople on=20 >> the benchmark page). >>>>> >>>>> Bye, >>>>> Alexander. >>>>> >>>>> >>>>> >>>>> >>>> >>>> Nice to see movement ;-) >>>> >>>> But there seems something unclear: >>>> >>>> man make.conf(5) says, that MALLOC_PRODUCTION is a knob set in >>>> /etc/make.conf. >>>> The WiJi says, MALLOC_PRODUCTION is to be set in /etc/src.conf. >>>> >>>> What's right and what's wrong now? >>> >>> I can say with certainty that this value belongs in /etc/make.conf >>> (on RELENG_8 and earlier at least). >>> >>> src/share/mk/bsd.own.mk has no framework for MK_MALLOC_PRODUCTION, >>> so, this is definitely a make.conf variable. >> >> Eh, normal make variables can go in src.conf as well. They do not hav= e >> to be listed in bsd.own.mk. World builds include /etc/src.conf wherea= s >> every make invocation includes /etc/make.conf via sys.mk. The only re= ason >> to use /etc/src.conf is to have a place to put variables only affect >> make buildworld / buildkernel but do not affect other make invocations= =2E >=20 > I was always under the impression src.conf(5) variables had to be > manually added to bsd.own.mk and similar bits (e.g. > src/tools/build/options/WITH_xxx which is what's used to create the > src.conf(5) man page), but upon your comment and manual investigation o= n > my part, I found you're indeed right. Taken from bsd.own.mk: >=20 > 107 .if !defined(_WITHOUT_SRCCONF) > 108 SRCCONF?=3D /etc/src.conf > 109 .if exists(${SRCCONF}) > 110 .include "${SRCCONF}" > 111 .endif > 112 .endif >=20 > As long as third-party software doesn't depend on MALLOC_PRODUCTION for= > something (I don't know why something would, but who knows; maybe > there's a third-party malloc implementation which might?), then putting= > it in src.conf would be fine (src/lib/libc/stdlib files reference it). >=20 Then the manpage should reflect this. man src.conf does not show up MALLOC_PRODUCTIOn, but man make.conf does. If the latter is right, then it should be worth mentioned that make.conf is incorporating src.conf. Just a suggestion. Regards, Oliver --------------enig1502F529B2C0204E19EA4E4D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJO9LnRAAoJEOgBcD7A/5N8jWkH/2vnf7syPz2Ody5yUBUIqBk8 6zLbCedWMEVT5Shv+Y9QI1Uc0ku5DieFK4kbFSkp5dpIwPz5FZyxq57bXvcB0lVs xGJJ+I6C9TySn58mGU46CR/qi2PWiX08aBtHerR6WOEKEhbeyw78Axf96KqhJmBG as04C9KmqFFrqRdLlMsttbj5FzJrJCbWXj0wTY1apFBbFYsxjNci7I1IOluIB5oM lcSX2Q1letuEHjf0snoMNW2CqszHxVuEOFEMPSCh09xLzuAMjv6a/4QN3ThqbaOZ MTf5G63H/LvlZRotYwalm+/LB21+8CYaYGlgwPXwLk+JlzRlbu1Ll6q9ElhIGI8= =UR3U -----END PGP SIGNATURE----- --------------enig1502F529B2C0204E19EA4E4D--