Red Hat Directory Server 7.1 Performance Tuning and Sizing Guidelines

Performance with different number of worker threads

operations / sec

14000

12000

10000

8000

6000

4000

2000

0

0

10

20

30

40

50

60

70

80

90

100

110

120

130

number of threads

8 cpus

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

nsslapd-dbcachesize

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

nsslapd-dbcachesize

This performance tuning related attribute specifies database cache size. Note that this is neither the index cache nor the entry cache. If you activate automatic cache resizing, you override this attribute, by replacing these values with its own guessed values at a later stage of the server startup.

Entry DN:

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

Valid Range:

500KB to 4GB for 32-bit platforms and 500KB to 2^64-1

Default Value:

for 64-bit platforms

10,000,000 bytes

Syntax:

Integer

Example:

nsslapd-dbcachesize: 10,000,000

The database cache is used by the database to create and manage indexes and perform other database specific work. nsslapd-dbcacheis set globally for the server and is shared by all the database backends on the server.

Tuning dbcachesize can be done by follow these steps:

Step 1: set nsslapd-dbcachesizeto some value and then start the directory server.

Page 6