Load Balancing Settings

Hewlett Packard Enterprise

Audience
Public
Technology Integrations
Hewlett Packard Enterprise
Source Type
Documentation

The MPIO Policy defines how the host distributes IOs across the available paths to the storage. The Round Robin (RR) policy distributes IOs evenly across all Active/Optimized paths. A newer MPIO policy, least_cmd_load, is similar to round robin in that IOs are distributed across all available Active/Optimized paths, however, it provides some additional benefits. The least_cmd_load policy will bias IOs towards paths that are servicing IO quicker (paths with shorter queues). In the event that one path becomes intermittently disruptive or is experiencing higher latency, least_cmd_load will prevent the utilization of that path reducing the effect of the problem path.

We recommend using "least_cmd_load".


scsimgr set_attr -D _rdiskX_ -a load_bal_policy=least_cmd_load
  1. Check what is currently set with the following command:
    
    scsimgr get_attr -D /dev/rdisk/disk0 -a load_bal_policy
    name = load_bal_policy
    current = least_cmd_load
    default = round_robin
    saved =
  2. Use the following commands to set the load-balancing algorithm for the Pure Storage LUNs:
    
    scsimgr set_attr -D _rdiskX_ -a load_bal_policy=least_cmd_load