Share this page

# Smart Vuser allocation

This topic describes how to use Smart Vuser allocation to dynamically balance the load generated by Vusers among the specified load generators.

In this topic:

## About Smart Vuser allocation

Smart Vuser allocation balances the load generated by Vusers, distributing the load evenly among the requested load generators. This ensures an accurate load test.

Smart Vuser allocation is available in manual performance tests. In this type of test, if Smart Vuser allocation is enabled, the Controller allocates Vusers to each load generator based on the CPU usage of the load generators. Smart Vuser allocation can only determine the allocation of each Vuser before the Vuser is loaded. This means that for Smart Vuser allocation to work, the performance test must be set to load Vusers gradually and not all at once.

When a load generator's CPU usage becomes overloaded (greater than 80%), the Controller receives a message and stops loading Vusers on the overloaded load generator. The Controller automatically distributes Vusers among the other load generators taking part in the test. The Controller stop loading Vusers when there are no other available load generators in the test.

You can monitor the status of a machine's CPU usage using the icons in the Load Generators dialog box (see Distribute load generators). When the CPU usage of a load generator becomes problematic, an indication is added adjacent to the load generator name.

Tip: You can monitor a load generator's CPU usage in greater detail using the Controller and Load Generator Resources monitor. For details, see Controller and Load Generators graph.

Smart Vuser allocation works most efficiently in performance tests with a high number of Vusers.

Back to top

## Enable Smart Vuser allocation

This section explains how to enable Smart Vuser allocation to provide better load balancing for your load generators.

Note: Smart Vuser allocation is not supported for Dockerized load generators.

To enable Smart Vuser allocation:

1. Make sure that you have an environment with multiple hosts.

2. In a performance test, set the workload type.

3. Add multiple groups to the test, and multiple Vusers to each group.

4. Define the Scheduler to start Vusers gradually.

5. Assign different load generators to the groups.

6. Enable Smart Vuser allocation:

   1. In the Groups and Workload tab, click the Test Options button .

   2. In the General tab, select Use Smart Vuser allocation.

7. Run the performance test.

   If the CPU exceeds 80% on a load generator, all Vusers that have not started running are moved to another load generator in the same test that is not overloaded.

   If all load generators in the test are overloaded, Vusers that have not started remain in Idle state until one of the load generators meets the requirements.

Back to top

https://admhelp.microfocus.com Enterprise Performance Engineering,LoadRunner Enterprise 8942
Tips to improve your search results...OpenText™ Enterprise Performance Engineering Help Center OpenText™ Enterprise Performance Engineering Help 26.1 All View Local Help Center View Online Help Center Version: