NDS: Adjusting the Cache Size for the NDS Database
Articles and Tips: qna
13 Jul 2000
Q.
Dear Ab-end: Is there a way to set the cache size for the NDS database? If so, are there any guidelines on what the cache size should be?
-- Tweaking in Taiwan
A.
Dear Tweaking: There is a DSTRACE command for this, which you can enter using either of two syntaxes:
set dstrace = !mb<decimal_number>orset dstrace = !m<hexadecimal_number>
The decimal number you enter for the !mb syntax specifies the number of bytes. For example, to specify a cache size of 1MB (1 million bytes), you would enter the command as follows:
set dstrace = !mb1000000
The !m syntax uses a hexadecimal format and specify the number of kilobytes (engineers love this shorter form). For example, to specify a cache size of 20MB (approximately 20,000KB or 4F00 in hex), you would enter the command as follows:
set dstrace = !m4F00
Here are some basic guidelines for the cache size settings:
If your server has 512MB of RAM or more, a good starting point for NDS cache size is about 20MB
If the server is a dedicated DS server, use up to 80% of the total RAM.
If the server is an application server running several services, use up to 40% of the total RAM.
(Answer provided by Subbu K. K., Novell Business Portal Services Division and Oscar Sanchez, Novell Consulting, Atlanta)
* Originally published in Novell AppNotes
Disclaimer
The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.