Red Hat Directory Server 7.1 Performance Tuning and Sizing Guidelines

Performance with different size of dbcache

operations / sec

14000

13500

13000

12500

12000

250k,8cpus

11500

 

11000

10500

10000

0

50

100

150

200

250

300

350

400

450

dbcache in 1000000 bytes

Figure 3: Performance with different nsslapd-dbcachesize. Measured on specific Montecito-based test configuration with 8 CPUs@1.6GHz.

nsslapd-cachememsize and nsslapd-cachesize

Here is some information about nsslapd-cachememsizeand nsslapd-cachesize:Red Hat Directory Server 7.1 Configuration, Command, and File Reference

nsslapd-cachememsize:

This performance tuning related attribute specifies the cache size in terms of available memory space. Limiting cachesize in terms of memory occupied is the simplest method. By activating automatic cache resizing you override this attribute, replacing these values with its own guessed values at a later stage of the server startup. If you attempt to set a value that is not a number or is too big for a 32-bit signed integer you will receive an LDAP_UNWILLING_TO_PERFORM error message with additional error information explaining the problem.

Entry DN:

cn=Netscaperoot,cn=ldbm database,cn=plugins,cn=config

Valid Range:

or cn=UserRoot,cn=ldbm database,cn=plugins,cn=config

500Kbyte to 4Gbyte for 32-bit platforms and 500Kbyte to

Default Value:

2^64 -1 for 64-bit platforms

10 485 760 (10Mb)

Syntax:

Integer

Example:

nsslapd-cachememsize:10Mb

nsslapd-cachesize:

Page 8