XenMobile Threads Test

How many requests an MDM server can process depends upon the number of threads it has been configured with. Without adequate threads, the XenMobile MDM server may not be service all requests, thus resulting in delays in request processing, long pending request queues, and degraded XDM performance. To avoid such anomalies, administrators will have to track the usage of threads by the MDM server, proactively detect a probable contention for threads, and accordingly decide whether/not to increase the size of the thread pool. To achieve this, administrators can take the help of the XenMobile Threads test. This test indicates the maximum number of threads the XDM server can spawn, reports the percentage of threads currently in use, measures the length of the outstanding request queues on the XDM server, and thus reveals whether/not the XDM server needs to be configured with more threads to handle its current task load and to shorten the request queue. In addition, the test alerts administrators to any increase in the number of threads with errors.

Target of the test : A Citrix XenMobile MDM

Agent deploying the test : An internal agent

Outputs of the test : One set of results for the XenMobile MDM server being monitored

Configurable parameters for the test
  1. Test period - How often should the test be executed
  2. Host - The host for which the test is to be configured.
  3. login url – This refers to the URL of the login page of the XenMobile Device Manager console. By default, eG Enterprise auto-discovers this URL. This is why, the login url is set to none by default. 
  4. username and password – Specify the credentials of a XenMobile Device Manager web console user with the Administrator role.
  5. CONFIRM PASSWORD – Confirm the password by retyping it here.
  6. ssl – Indicate whether/not the XenMobile MDM server is SSL-enabled. By default, this flag is set to No.
Measurements made by the test
Measurement Description Measurement Unit Interpretation

Min threads:

Indicates the minimum number of threads that should be available.

Number

 

Max threads:

Indicates the maximum number of threads that the server can spawn.

Number

 

Pool increment:

Indicates the number of threads by which the pool size has been increased since the last measurement period.

Number

A significant increase in the value of this measure is indicative of an increase in the load on the XDM server.

Current threads:

Indicates the number of threads currently active.

Number

This is a good indicator of the current load on the server.

Waiting threads:

Indicates the number of threads that are waiting currently.

Number

 

Percentage of active threads:

Indicates the percentage of threads that are currently active.

Percent

If the value of this measure is close to 100%, it could indicate that the server is about to utilize its entire thread pool. Under such circumstances, you can consider increasing the maximum number of threads that your server can spawn.

Task count:

Indicates the number of tasks currently running on the server.

Number

 

Queue length:

Indicates the current length of the request queue.

Number

 

Working queue length:

Indicates the current length of the working queue.

Number

 

Total queue size:

Indicates the total number of items in queue since the last measurement  period.

Number

A consistent increase in the value of this measre could indicate a processing bottleneck on the server. Check the value of the Percentage of active threads measure for the server to determine whether the lack of sufficient threads in the server’s thread pool is the reason for the bottleneck. If so, you may want to increase the ‘maximum threads’ setting for the server. 

Ran count:

Indicates the number of threads that ran during the last measurement period.

Number

 

Errors:

Indicates the number of threads with errors during the last measurement period.

Number

Ideally, the value of this measure should be 0 at all times.

Cancels:

Indicates the number of threads that were cancelled during the last measurement period.

Number

 

Packets:

Indicates the number of packets processed during the last measurement period.

Number