Re: 5.x SLOW - How do I speed it up?

From: Arjan van Leeuwen <avleeuwen_at_piwebs.com>
Date: Wed, 28 Jan 2004 17:57:40 +0100
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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Wed Jan 28 2004 - 07:57:44 UTC

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