HP UX Direry Server manual Tuning recommendations, Memory, Nsslapd-threadnumber

Page 5

Memory

The HP-UX Directory Server caches entry and indexing information in memory. It requires at least 256 MB of memory for a small deployment, but for large deployments it needs 512 MB to 4 GB or more RAM for best performance. To estimate how much RAM is needed for the directory server, use the following formula:

Total_HPDS_RAM = 1.2 * (base_RAM_need_for_slapd_process + caches) Where

base_RAM_needed_for_slapd_process = 27 MB + nsslapd-threadnumber * 0.25MB caches = dbcache + SUM(all entry caches)* 2.3 + import_cache

Explanation of formula parameters:

Constant 1.2: 20% additional RAM is needed for the slapd process to handle incoming LDAP operations. 20% is an estimated number, and it should be sufficient. However, testing is needed to ensure that it is enough before going into production.

27MB: the size of the slapd process.

nsslapd-threadnumber *0.25 MB: each thread needs about 0.25 MB of memory.

dbcache: specified as nsslapd-dbcachesize.

all entry caches: specified as nsslapd-cachememsize. The 2.3 factor only needs to apply to the nsslapd-cachememsize of the databases you are working with.

import_cache: specified as nsslapd-import-cachesize. If you do not do online import, then memory allocated for the dbcache can be used for the import cache. There is no need to allocate memory for the import cache in addition to the dbcache.

Tuning recommendations

This section discusses how to tune some of the very important HPDS attributes.

nsslapd-threadnumber

The nsslapd-threadnumberparameter is described as follows in the HP-UX Directory Server configuration, command, and file reference:

nsslapd-threadnumber

Defines the number of operation threads that the Directory Server creates at startup. The nsslapd-threadnumbervalue should be increased if you have many directory clients performing time-consuming operations such as add or modify, as this ensures that there are other threads available for servicing short-lived operations such as simple searches. You may also need to increase this value if there are many replication agreements or chained backends (database links). This attribute is not available from the server console.

Entry DN:

cn=config

Valid Range:

1 to the maximum number of threads supported by the system

Default Value:

30

Syntax:

Integer

Example:

nsslapd-threadnumber: 60

One common misconception is that more threads are better. When too many threads are configured, thread contention can affect performance. As you can see in Figure 1, the search throughput decreases as the number of threads increases. In this case, the best performance occurs when

5

Image 5
Contents HP-UX 11i v3 Integrity Systems Overview Sizing and tuning overviewProduct overview Purpose of this documentDirectory server tuning overview System parameter tuningSizing guidelines Sizing and Tuning RecommendationsSystems CPUsMemory Tuning recommendationsNsslapd-threadnumber Nsslapd-threadnumberNsslapd-dbcachesize Nsslapd-dbcachesizePage Nsslapd-cachememsize Nsslapd-cachememsize and nsslapd-cachesizeNsslapd-cachesize Page Logging Nsslapd-cache-autosizeNsslapd-cache-autosize Purpose Performance measurementsTest results Data collection 1 Different number of CPUsData collection 3 Different values of nsslapd-dbcachesize Data collection 2 Different values of nsslapd-threadnumberData collection 4 Different sizes of entry cache Nsslapd-dbcachesize Searches per secondOFF Data collection 5 Access log on compared to Access log offGeneral directory server configuration Additional tuning referenceAppendix a Hpds 8.1 performance test details Test EnvironmentPerformance Data Creation Performance Monitoring ToolsCall to action For more information
Related manuals
Manual 96 pages 26.31 Kb Manual 68 pages 26.36 Kb Manual 160 pages 39.12 Kb Manual 72 pages 14.95 Kb

UX Direry Server specifications

HP UX Directory Server is a robust and scalable solution designed for managing directory information within enterprise networks. Developed by Hewlett-Packard (HP), this server offers an extensive set of features tailored to meet the needs of organizations that require an efficient way to store, manage, and retrieve identity and access data.

One of the key features of HP UX Directory Server is its ability to handle large directories with significant volumes of data. Built on a highly optimized architecture, it provides excellent performance and can support millions of entries without sacrificing speed or reliability. This capability makes it an ideal choice for large-scale deployments in enterprises that require high availability and responsiveness.

In addition to its scalability, HP UX Directory Server supports a wide range of protocols, including LDAP (Lightweight Directory Access Protocol), which ensures seamless integration with diverse applications and systems across various platforms. The server maintains standards compliance, which facilitates interoperability and simplifies administration tasks.

Security is a top priority for HP UX Directory Server, offering an array of features to protect sensitive information. It supports secure data transmission via TLS/SSL protocols, ensuring encrypted communication between clients and servers. Advanced access controls allow administrators to define fine-grained permissions, helping to safeguard directory data against unauthorized access.

Another salient feature of HP UX Directory Server is its replication capabilities. The server can replicate directory data across multiple instances, ensuring data consistency and availability in distributed environments. This feature is essential for businesses operating across different geographical locations or requiring failover solutions for disaster recovery.

HP UX Directory Server also comes equipped with tools for data management, including an intuitive administration console for configuring and monitoring the server. Additionally, it offers customizable schema capabilities, enabling organizations to tailor the directory structure to fit their specific needs.

Integration with existing identity management solutions is streamlined through connectors and APIs, allowing organizations to extend their directory services and enhance user experience.

In summary, HP UX Directory Server is a powerful directory management solution that combines scalability, security, and integration flexibility. Its support for industry standards, advanced replication, and comprehensive administrative tools makes it an essential asset for organizations seeking to manage identity and access efficiently. By leveraging this technology, businesses can improve their operational efficiency and ensure a secure and organized approach to directory management.