NOTE TO PEOPLE WHO THINK THAT FreeBSD 11.x IS SLOW

FreeBSD 11.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. (To completely disable malloc debugging, define MALLOC_PRODUCTION in /etc/make.conf, or to merely disable the most expensive debugging functionality run «ln -s ‘abort:false,junk:false’ /etc/malloc.conf».)

 

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *