Table of Contents

Search

  1. Preface
  2. Introduction
  3. Installation
  4. Design
  5. Operation

Threads

Threads

Relate and DupFinder can run in a multi-threaded mode when the
-n
option is specified. Each search thread will independently connect to the Search Server and process searches in parallel.
There are two optional parameters associated with the
-n
switch: input queue and output queue. The syntax of the
-n
switch is as follows:
  • -nx[:y[:z]]
    - use
    x
    search threads with an input queue of y records and an output queue of
    z
    records per thread.
The input queue specifies the length of queue that each thread will use to store the search records in. This queue must be long enough to allow the thread not to wait for I/O on the local relate input file. In general the default of 100 will be ample.
The output queue specifies the length of the queue that will hold each search thread’s results. If any individual searches are expected to generate many matches, increasing the output queue size may improve performance.
The output order of duplicate sets in a multi-threaded DupFinder report is dependent on the number of threads used to create the report.

0 COMMENTS

We’d like to hear from you!