Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2005 17:52:59 -0600 (MDT)
From:      Vaibhave Agarwal <vaibhave@cs.utah.edu>
To:        freebsd <freebsd-net@freebsd.org>
Cc:        freebsd <freebsd-hackers@freebsd.org>
Subject:   how to make the FreeBSD 6.0 run faster
Message-ID:  <Pine.LNX.4.61.0510271744100.19263@trust.cs.utah.edu>
In-Reply-To: <20051027233636.GA39380@dmw.hopto.org>
References:  <20051027233636.GA39380@dmw.hopto.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In the file /usr/src/UPDATING, there is a following
statement

NOTE TO PEOPLE WHO THINK THAT FreeBSD 6.x IS SLOW:
        FreeBSD 6.x has many debugging features turned on, in
        both the kernel and userland.  These features attempt to detect
        incorrect use of system primitives, and encourage loud failure
        through extra sanity checking and fail stop semantics.  They
        also substantially impact system performance.  If you want to
        do performance measurement, benchmarking, and optimization,
        you'll want to turn them off.  This includes various WITNESS-
        related kernel options, INVARIANTS, malloc debugging flags
        in userland, and various verbose features in the kernel.  Many
        developers choose to disable these features on build machines
        to maximize performance.

How do u disable malloc debugging flags in the userland?
I read somewhere that " ln -s aj /etc/malloc.conf" disables malloc 
debugging. How does it work?

And how to disable verbose features in the kernel?

Apart from this, are there other ways to make the kernel run faster??

thanks
vaibhave



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.61.0510271744100.19263>