Re: Benchmark (Phoronix): FreeBSD 9.0-RC2 vs. Oracle Linux 6.1 Server

From: Garrett Cooper <yanegomi_at_gmail.com>
Date: Fri, 23 Dec 2011 12:23:27 -0800
On Fri, Dec 23, 2011 at 2:38 AM, Vincent Hoffman <vince_at_unsane.co.uk> wrote:
> On 23/12/2011 02:56, Garrett Cooper wrote:
>> On Dec 22, 2011, at 3:58 PM, Jeremy Chadwick <freebsd_at_jdc.parodius.com> 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 other place. Now... in case someone here is willing to help instead of talking, feel free to go to http://wiki.freebsd.org/BenchmarkAdvice and have a look what can be improved. The page is far from perfect and needs some additional people which are willing to improve it.
>>>>>
>>>>> This is only part of the problem. A tuning page in the wiki - which 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 wikify it. Other tuning sources are welcome too.
>>>>>
>>>>> Every FreeBSD dev with a wiki account can hand out write access to the wiki. The benchmark page gives contributor-access. If someone wants write 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 people on 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.
>> Take the advice in tuning(7) with a grain of salt because a number of suggestions are really outdated. I know because I filed a PR last night after I saw how out of synch some of the defaults it claimed were with reality on 9.x+. And I know other suggestions in the manpage are dated as well ;/.
> There is a wiki page http://wiki.freebsd.org/SystemTuning which is
> currently more or less tuning(7) with some annotations, the idea being
> to sort out whats outdated/invalid with an aim of rewriting tuning(7) to
> be more accurate and useful. I'll grab any info in your pr thats not up
> there already to keep it updated if thats ok.

    Sure. Please take my suggestions (apart from the networking
sysctls) with a grain of salt as I didn't look at the sourcecode for
the filesystem ones (I was going off the top of my head and other
emails I had seen passed around).
    I'll update the tuning 'wiki' with mention of the new networking
defaults. If we want to make this manpage 'timeless', should we remove
mention of defaults and go off basic guidelines (if you set this
higher, you'll get better performance in scenario, X.Y.Z, etc)?
Thanks!
-Garrett
Received on Fri Dec 23 2011 - 19:23:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:22 UTC