aboutsummaryrefslogtreecommitdiff
path: root/UPDATING
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-02-28 05:31:02 +0000
committerWarner Losh <imp@FreeBSD.org>2002-02-28 05:31:02 +0000
commit69f7bcf3192302e534a5142c48cb262436a83078 (patch)
tree34f5296f83d6b7097aec5611505f49502d6dbb95 /UPDATING
parent4eed0cf1be7eded41730bb71f1809e09b5a0890b (diff)
downloadsrc-69f7bcf3192302e534a5142c48cb262436a83078.tar.gz
src-69f7bcf3192302e534a5142c48cb262436a83078.zip
PLASTER A WARNING THAT TELLS PEOPLE THAT CURRENT HAS DEBUGGING FEATURES
TURNED ON. Submitted by: rwatson Suggest -DNO_WERROR unless you are a developer when building a kernel. Submitted by: mike
Notes
Notes: svn path=/head/; revision=91468
Diffstat (limited to 'UPDATING')
-rw-r--r--UPDATING22
1 files changed, 22 insertions, 0 deletions
diff --git a/UPDATING b/UPDATING
index b84e1b4bd776..9f28da2765dd 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,28 @@ This file is maintained and copyrighted by M. Warner Losh
of file for further details. For commonly done items, please see the
COMMON ITEMS: section later in the file.
+NOTE TO PEOPLE WHO THINK THAT 5.0-CURRENT IS SLOW:
+ FreeBSD 5.0-CURRENT 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.
+
+ In addition, IDE write caching is currently disabled by default
+ due to on-going concerns about disk write order and file system
+ integrity. Re-enabling write caching can substantially improve
+ performance.
+
+20020225:
+ Warnings are now errors in the kernel. Unless you are a developer,
+ you should add -DNO_WERROR to your make line.
+
20020217:
sendmail 8.12.2 has been imported. The sendmail binary is no
longer a set-user-ID root binary and the infrastructure to support