how to make the FreeBSD 6.0 run faster

From: Vaibhave Agarwal (vaibhave_at_cs.utah.edu)
Date: 10/28/05

  • Next message: Glenn Dawson: "Re: compiling the kernel faster"
    Date: Thu, 27 Oct 2005 17:52:59 -0600 (MDT)
    To: freebsd <freebsd-net@freebsd.org>
    
    

    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
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Glenn Dawson: "Re: compiling the kernel faster"

    Relevant Pages

    • how to make the FreeBSD 6.0 run faster
      ... How do u disable malloc debugging flags in the userland? ... are there other ways to make the kernel run faster?? ...
      (freebsd-net)
    • Re: network performance
      ... Kris Kennaway wrote: ... but the first results shows that new kernel can handle 800k incoming packets. ... Btw from where I can check if mallocdebugging is enabled, as I want to be sure that no debugging is slowing down the tests? ... Does `ln -s aj /etc/malloc.conf` disable malloc() dubug? ...
      (freebsd-performance)