From eec860ba37276b0e5ba4a888304cef7201c9f3dc Mon Sep 17 00:00:00 2001 From: Marcel Huber <marcel.huber@hsr.ch> Date: Thu, 8 Mar 2007 07:27:06 +0000 Subject: [PATCH] * added default flag entries for MMAP stream control and Storage tracing --- prjconfig.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/prjconfig.sh b/prjconfig.sh index 67cf8df..0049924 100755 --- a/prjconfig.sh +++ b/prjconfig.sh @@ -39,6 +39,20 @@ PRJ_DESCRIPTION="Coast scripts" # overwrite this one ONLY if the WD_PATH variable points to the wrong place #WD_PATH=config +# The flag WD_USE_MMAP_STREAMS controls the usage of memory mapped files. Default is to use mmap streams +# because for most operations and conditions this seems to be fast. +# When setting this variable to 0, fstreams will be used instead +# note: Memory mapped files will always increase the file size by an internally managed blocksize, +# on SunOS_5.8, this blocksize seems to be 8192 bytes. If you intend to use a tail -f on these files +# you will probably not get what you expect. tail can not handle the reserved - and still unused - space. +#export WD_USE_MMAP_STREAMS=0 + +# The flag TRACE_STORAGE defines the logging level of memory statistics +# 0: No pool statistic tracing, except when excess memory was used +# 1: Trace overall statistics +# 2: Trace detailed statistics +#export TRACE_STORAGE=0 + # use this function to do preparations prior to creating the distribution package # e.g. increment a build number #function preDoallFunc {} -- GitLab