Lotus Traveler: Tuning English

Description
Lotus Notes Traveler has four thread pools that can be tuned:


 * Prime sync threads - Determine if changes to user mail files need to be synchronized to user devices.
 * Device sync threads - Synchronize data between Domino mail servers and user devices.
 * Worker threads - Used internally in the device synchronization process.
 * HTTP threads - Used by the HTTP task, one per HTTP connection.

GENERAL: Optimizing Name lookup
A good way to optimize Name lookup, is to configure the minimum number of characters in the search string required to perform a search.

NTS_LOOKUP_MIN_LENGTH=3

Traveler Availability Index
Availability Index (AI) used by Traveler servers in the pool to balance load.?

The AI range can be from 100 to -200
 * 100 to 0 Normal processing range (base AI 100)
 * 0 to -100 Traveler server is in constrained state (base AI 0)

busy responses in attempt to recover.
 * Constrained state is when the server recognizes it is overloaded and starts send 503 server

? The AI is computed by subtracting the larger of the memory usage and CPU usage from the Base AI. Native memory is the percentage of Native memory use vs physical memory Average CPU percentage over last 15 minutes.
 * 00 to -200 Traveler server is unavailable (base AI -100)
 * Administrator has marked server as unavailable using tell command.

System stat results
System stat results

Default Values
Variables at file Domino data directory\traveler\cfg\NTSConfig.xml.

How to determine the current number of active devices
Checkout for Push.Devices.Total statistics. To find out if you need to change this parameter, run the following command

> tell traveler stat show ... Push.Devices.Total = 225 ...

How to determine the current number of active HTTP threads
The current number of active HTTP threads allocated by the Domino web server at startup can be found in the Server document on the Internet Protocols -> HTTP tab in the Number active threads field.

Guidelines
The following are general guidelines for the relationships between the number of threads in each of the thread pools.


 * Prime sync threads should be much less than the number of device sync threads; normally the prime sync default of 10 threads should be adequate.
 * Worker threads should be double the number of device sync threads.
 * HTTP threads should be 1.2 times either the number of device sync threads or the number of ActiveSync devices, whichever is larger.

Cache User Info - HTTP Maximum Cached Users - 64 bits only
To optimize the response time keeps Domino design elements in memory.

Example
To find out if you need to change this parameter, run the following command

> Show stat domino.cache.user* Domino.Cache.User Cache.Count = 68 Domino.Cache.User Cache.DisplaceRate = 0 Domino.Cache.User Cache.HitRate = 73.258795221749 Domino.Cache.User Cache.MaxSize = 64

Observing these numbers we can deduce that the value of elements (Count) has reached the maximum (MaxSize), so elements in this cache are discarded ( DisplaceRate).

The optimal value for theHitrate is near 100%, andDisplaceRate is 0%. Increasing the value of the fieldMaximum cached designs improves response-time.

Deciding which server performs the lookup
By default, the lookup is performed against the user's mail server. This is done to reduce the configuration needed on the Traveler server and to provide more consistent results with a Notes client.

You can change this behavior to perform the lookup operation against the Traveler server. To do this, set the following parameter in the notes.ini file:


 * NTS_TRAVELER_AS_LOOKUP_SERVER=True