
546
Novell eDirectory 8.8 Administration Guide
n
ov
do
cx (e
n)
11
Ju
ly 20
08
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
Section 18.5, “Improving Bulkload
Performance,” on page 560
.
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:
n4u.server.start-threads
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.
Parameter
Description and Recommended Settings
Содержание EDIRECTORY 8.8 SP3
Страница 4: ...novdocx en 11 July 2008...
Страница 72: ...72 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 120: ...120 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 132: ...132 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 190: ...190 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 238: ...238 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 262: ...262 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 288: ...288 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 320: ...320 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 348: ...348 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 388: ...388 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 492: ...492 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 586: ...586 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 599: ...The eDirectory Management Toolbox 599 novdocx en 11 July 2008 Click Help for details...
Страница 600: ...600 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Страница 614: ...614 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...