1: What is the difference between the memory requirement of a Process VUSER or a Thread Based VUSER?2: How much memory is utilized per VUSER?

Questions by Richi   answers by Richi

Showing Answers 1 - 12 of 12 Answers

deepti kapoor

  • Sep 5th, 2006
 

In the thread based vuser, an instance of the driver program is loaded into the memory where as in the process based the complete driver program is loaded into  the memory for each vuser.

  Was this answer useful?  Yes

To understand this, basically one needs to know the difference between a thread and a process. A thread is a light weigt process, this is the text book definition. A thread takes much less resources than a general process. By resources, we mean the hardware(CPU), memory requirements. The best example is the mozilla browser. All the tabs in the browser are opened as threads, whereas when you open another brower, it is a process.

1.As a threaded vuser shares a common memory pool for all the instances but incase of process vuser individual memory blocks are allocated per each Vuser

2. Two MB space requires for each Vuser

  Was this answer useful?  Yes

gnana

  • Nov 9th, 2006
 

VuGen provides the facility to use multithreading. This enables more Vusers to be run pergenerator. If the 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 number of Vusers that can be run on a singlegenerator. If the Vuser is run as a thread, only one instance of the driver program is loaded into memory for the given number ofVusers (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

jagadesh

  • Apr 18th, 2007
 

hi
  
1)if we run the vuser as a process, separate memory instances has been allocated for each vuser

2)if we run the vuser as a thread ,shared memory instances has been allocated

3)if we run vuser as process memory wastage is more

4)if we run the vuser as a thread ,ther is no memory wastage


NOTE:Each vuser needs 2 MB of memory

  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