Optimizing Edirectory Cache - Novell EDIRECTORY 8.8 SP3 - ADMINISTRATION Administration Manual

Hide thumbs Also See for EDIRECTORY 8.8 SP3 - ADMINISTRATION:
Table of Contents

Advertisement

Parameter
n4u.server.start-threads

18.2.2 Optimizing eDirectory Cache

Novell eDirectory uses persistent caching so that changes being made to a server are held in a
vector. If the server crashes in the middle of changes, eDirectory will load faster and synchronize the
changes in seconds when the server is brought back up. Novell eDirectory uses a rollback model
with a log file to roll forward transactions in the event of a system failure.
eDirectory settings begin with 16MB of cache, 50% of which is allocated to block caching and the
other 50% is allocated to record cache. After 15 minutes, eDirectory will modify its cache thresholds
to initialize up to 51% of the available free memory for the cache, leaving at least 24 MB for the OS.
This algorithm is used only if the host OS supports the call that enables you to determine the amount
of free memory available.
You can optimize your eDirectory cache in the following ways:
"Using a Fixed Amount of RAM for Linux and UNIX Systems" on page 546
"Setting Cache Parameters" on page 548
For more information on optimizing eDirectory cache, refer to
Performance," on page
Using a Fixed Amount of RAM for Linux and UNIX Systems
Although the above algorithm works well for Windows and NetWare, it does not work as well for
Linux and UNIX systems. On Linux and UNIX systems, the free available memory reported by the
OS will be less than other operating systems because of the way the Linux and UNIX uses free
memory for internal caching of file system blocks, frequently run programs, libraries, etc. In
addition to this memory allocation, libraries on Linux and UNIX normally do not return the freed
memory back to the OS.
For these reasons, we recommend allocating a fixed amount of RAM to the cache.
Fix the amount of RAM for Linux and UNIX systems by doing one of the following:
"Manually Creating a .ini File" on page 546
"Using Novell iMonitor" on page 547
Manually Creating a .ini File
1 Create a file called _ndsdb.ini in the same directory that the eDirectory database files (DIB
set) are located (usually in /var/opt/novell/eDirectory/data/dib).
2 Add the following parameters listed in to the _ndsdb.ini file:
546 Novell eDirectory 8.8 Administration Guide
Description and Recommended Settings
Number of threads that start when eDirectory starts
The value of this parameter should be based on the average client load, in
order to minimize the time required to produce new threads during normal
client activity.
560.
Section 18.5, "Improving Bulkload

Advertisement

Table of Contents
loading

Table of Contents