6.x Performance note in /usr/src/UPDATING ...

Marc G. Fournier scrappy at hub.org
Sun Jul 17 23:20:57 GMT 2005


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.


Can someone add a pointer to this as to how to actually do this?  For 
instance, I know from 5.x about the 'ln -s aj /etc/malloc.conf' for malloc 
... but what about the rest?




----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy at hub.org           Yahoo!: yscrappy              ICQ: 7615664


More information about the freebsd-stable mailing list