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 percentage mode. 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, the icon to the left of the load generator name contains a yellow bar. When the machine becomes overloaded, the icon contains a red bar.

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 you have an environment with multiple hosts.

2. In a performance test, set the workload type to By Percentage.

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, select Test Options > More > Test Options.

   2. Check the Use Smart Vuser allocation (only in percentage mode) checkbox.

7. Run the performance test.

   If the CPU exceeds 80% on a particular 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 LoadRunner Enterprise 8942
Tips to improve your search results... LoadRunner Enterprise Help Center LoadRunner Enterprise Help LR Enterprise Help 2023-2023 R1 All View Local Help Center View Online Help Center back Go back in browser history forward Go forward in browser history Remove search highlights next topic Go to next topic previous topic Go to previous topic Print the current topic Version: