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

John Baldwin jhb at freebsd.org
Fri Dec 23 15:00:07 UTC 2011


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 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.

Eh, normal make variables can go in src.conf as well.  They do not have
to be listed in bsd.own.mk.  World builds include /etc/src.conf whereas
every make invocation includes /etc/make.conf via sys.mk.  The only reason
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.

Also, MALLOC_PRODUCTION is generally enabled in a stable branch as part of
making the stable branch, there should be no need to set it manually in a 
stable branch.

-- 
John Baldwin


More information about the freebsd-stable mailing list