The nova.scheduler.weights.io_ops Module

Io Ops Weigher. Weigh hosts by their io ops number.

The default is to preferably choose light workload compute hosts. If you prefer choosing heavy workload compute hosts, you can set ‘io_ops_weight_multiplier’ option to a positive number and the weighing has the opposite effect of the default.

class IoOpsWeigher

Bases: nova.scheduler.weights.BaseHostWeigher

minval = 0
weight_multiplier()

Override the weight multiplier.

Previous topic

The nova.scheduler.weights.disk Module

Next topic

The nova.scheduler.weights.metrics Module

Project Source

This Page