532
Novell eDirectory 8.8 Administration Guide
no
vd
ocx
(e
n)
6 Ap
ril 20
07
Editing the _ndsdb.ini file can manually control database memory usage. The format for INI file
commands is given below:
cache=
cacheBytes
# Set a hard memory limit
Alternative formats are shown in the following table:
If a hard limit is specified and the administrator wants to define the database cache to use a
percentage of the memory, the administrator can select between a percentage of total memory or a
percentage of available memory. Dynamic limits always refer to a percentage of available memory.
The following command examples are all valid in the
_ndsdb.ini
file.
The following is an example dynamic limit of 75% available memory, a minimum of 16 million
bytes, and 32 million bytes for the OS:
cache=DYN,%:75,MIN:16000000, LEAVE 32000000
The following is an example hard limit of 75% total physical memory, a minimum of 18 million
bytes, and a maximum of 512 million bytes:
cache=HARD, TOTAL,%:75,MIN:18000000, MAX 512000000
The following is an example old style hard limit of 8 million bytes:
cache=8000000
The database cache is divided between block cache and record cache. Block cache holds data and
index blocks that mirror the storage on the disk. Record cache holds in-memory representations of
directory objects and attributes. If updating or adding to the directory, use the block cache setting. If
performing mostly reads, use the record cache. It is possible to cause a thrashing condition in both
caches if performing numerous sequential updates without allocating cache size properly. Unless
specifically changed, the cache is allocated to be 50% block cache and 50% record cache. The
blockcachepercent option can be included in the
_ndsdb.ini
file to specify the percentage of
cache allocated to caching data and index blocks. (The default is 50%.) The remaining cache is used
for entries.
For example, to designate 60% block cache and 40% record cache, enter the following:
blockcachepercent=60
Command
Description
cache=
cache_options
Sets a hard limit or dynamically adjusting limit. Multiple cache
options can be specified in any order, separated by commas. All
are optional. They are as follows:
DYN or HARD
Dynamic or hard limit.
AVAIL or TOTAL
These only apply if a hard limit was chosen. Omit these options
for a dynamic limit.
%:
percentage
The percentage of available or total physical memory.
MIN:
bytes
The minimum number of bytes.
MAX:
bytes
The maximum number of bytes.
LEAVE:
bytes
The minimum number of bytes to leave for the OS.
blockcachepercent=
percentage
Splits the cache between the block and record cache.
Summary of Contents for EDIRECTORY 8.8 SP2
Page 4: ...novdocx en 6 April 2007...
Page 116: ...116 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 128: ...128 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 255: ...256 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 406: ...408 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 563: ...566 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 573: ...576 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...
Page 601: ...604 Novell eDirectory 8 8 Administration Guide novdocx en 6 April 2007...