How do I configure DXsoak to use multiple threads and queues?

book

Article ID: 52880

calendar_today

Updated On:

Products

DIRECTORY SECURITY MISC CODES SINGLE SIGN ON - LEGACY CA Data Protection (DataMinder) CA User Activity Reporting

Issue/Introduction

Description:

DXsoak has several parameters that can be used to specify the number of threads to use and also how many operations to queue, in order to performance test a CA Directory DSA. But if the parameters are not placed in a specific order, this may result in an incorrect number of threads and queues to be used. This techdoc explains the position dependence of the threads and queues parameters.

Solution:

If you do not place the threads and queues parameters in the correct positions within the DXsoak command, the number of threads and queues used will be one (1).

The command parameters have to be in the order in which they are described in the usage:

Usage:

-c Continous operation
-t <threads> Number of threads per host
-q <Queue size> Number of operations outstanding per host
-h <hostname:port> Address of the LDAP server
-f <eldf file> Path to the extended ldf file
-s Stop on an error

This is illustrated in the example below. Please note that the threads (-t) and queues (-q) parameters are at the end of the command, which is incorrect:

dxsoak -h {hostname}:21389 -f democorp.eldf -t 2 -q 3
Reading: democorp.eldf
File read complete. Total number of operations found: 385

Settings
********
Server Address: {hostname}:21389
Number of threads: 1
Queue length: 1

All threads ready - starting execution
Quitting

In the above example, the thread and queue parameters are specified at the end of the command. This has resulted in a default of "1" being assigned.

==========================================================

dxsoak -t 2 -q 3 -h {hostname}:21389 -f democorp.eldf
Reading: democorp.eldf
File read complete. Total number of operations found: 385

Settings
********
Server Address: {hostname}:21389
Number of threads: 2
Queue length: 3

All threads ready - starting execution
Quitting

==========================================================

Placing the thread and queue parameters at the start of the command results in a correct interpretation and 2 threads and 3 queued operations being maintained.

Environment

Release:
Component: ETRDIR