how to make the FreeBSD 6.0 run faster
Vaibhave Agarwal
vaibhave at cs.utah.edu
Thu Oct 27 16:53:02 PDT 2005
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
More information about the freebsd-net
mailing list