Date: Wed, 28 Jan 2004 17:57:40 +0100 From: Arjan van Leeuwen <avleeuwen@piwebs.com> To: freebsd-current@freebsd.org Cc: slave-mike <slave-mike@slavepix.com> Subject: Re: 5.x SLOW - How do I speed it up? Message-ID: <200401281757.40282.avleeuwen@piwebs.com> In-Reply-To: <40171BF2.8090903@slavepix.com> References: <40171BF2.8090903@slavepix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 28 January 2004 03:18, slave-mike wrote:
> What are all the options one needs to change before doing a
> buildworld/installworld
> to make sure all the debugging features are off?
- remove the kernel debugging options, as it says
- turn off malloc debugging, e.g.
ln -s aj /etc/malloc.conf
Arjan
>
> > NOTE TO PEOPLE WHO THINK THAT FreeBSD 5.x IS SLOW:
> > FreeBSD 5.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.
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401281757.40282.avleeuwen>
