Running a Vuser as a Process or Thread
Question ID: 108523

What is the difference between running the a Vuser as a Process or Thread?

Marked as spam
Posted by (Questions: 144, Answers: 1)
Asked on July 25, 2018 1:49 pm
Answers (1)
Private answer

The Controller uses a driver program (such as mdrv.exe or r3vuser.exe) to run your Vusers.

If you run each Vuser as a process, then the same driver program is launched (and loaded) into the memory again and again for every instance of the Vuser. Loading the same driver program into memory uses up large amounts of RAM (random access memory) and other system resources. This limits the numbers of Vusers that can be run on any load generator.

Alternatively, if you run each Vuser as a thread, the Controller launches only one instance of the driver program (such as mdrv.exe), for every 50 Vusers (by default). This driver process/program launches several Vusers, each Vuser running as a thread. These threaded Vusers share segments of the memory of the parent driver process. This eliminates the need for multiple re-loading of the driver program/process saves much memory space, thereby enabling more Vusers to be run on a single load generator.

To configure these options, open the runtime settings (F4) and select the General > Miscellaneous node.

Marked as spam
Posted by (Questions: 0, Answers: 152)
Answered on July 25, 2018 1:50 pm

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

Scroll to Top