Vuser Script and thread

What is the difference in running the vuser as a script and as a thread? Which is more advantageous way of running vuser?

Questions by Subhashini6317   answers by Subhashini6317

Showing Answers 1 - 2 of 2 Answers

thambi3

  • Feb 21st, 2008
 


VuGen provides the facility to use multithreading. This enables more Vusers to be run pergenerator.

If you run each Vuser as a process, then the driver (The Controller uses a driver program (e.g., mdrv.exe, r3vuser.exe) to run your Vusers) 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.

If the Vuser is run as a thread, only one instance of the driver program is loaded into memory for the given number of Vusers (say 100). Each thread shares the memory of the parent driver program, thus enabling more Vusers to be run per generator.

  Was this answer useful?  Yes

sudeeshna

  • Jun 19th, 2008
 

If Vuser is run as a process, the same driver program is loaded into memory for each Vuser, thus taking up a large amount of memory. This limits the no. of Vuser that can be run on a single generator.

If the Vuser is run as a thread, only one instance of the driver program is loaded into memory for given no. Of VUser. Each thread shares the memory of the parent driver program, thus enabling more Vuser to be run per generator.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions