Real-Time Entity and Network Generation Action Set
Multithreaded Execution
You can use the nThreads parameter to specify the upper bound on the number of threads to use for multithreaded execution. The default is the number of cores on the machine that executes the process or the number of cores that your installation permits (whichever is less). Specifying a high number does not guarantee a shorter run time; the actual run time depends on the computing hardware and the scalability of the underlying algorithms. In addition, some portion of the action might still execute on a single thread, so whether the specified parameter value improves the performance depends on the specific use case.
Table 2 lists the RTENG actions and indicates whether they currently support multithreaded execution.
Table 2: RTENG Actions and Multithreaded Support
| Action | Multithreaded Support |
|---|---|
| addDocuments | Yes |
| batchBuild | Yes |
| createCompoundStore | No |
| deleteDocuments | Yes |
| queryCompounds | Yes |
| queryDocuments | Yes |
| showEntities | No |
| summarizeCompoundStore | No |
| updateExcludedElements | No |
| upsertDocuments | Yes |