[PATCH 0/1][FGHI][linux] scsi: storvsc: Parameterize number hardware queues

Tim Gardner tim.gardner at canonical.com
Wed Jun 2 21:21:43 UTC 2021


BugLink: https://bugs.launchpad.net/bugs/1930626

[Impact]

This patch adds the ability to set the number of hardware queues with new module
parameter, storvsc_max_hw_queues.

This functionality is useful in Microsoft Azure) where decreasing the number of
hardware queues has been shown to improve performance.

[Test Plan]

Install the hv_storvsc module with a parameter (storvsc_max_hw_queues)
and observe the result.

[Where problems could occur]

num_present_cpus() may not be the same as num_online_cpus() which
appears to be a minor difference.

[Other Info]





More information about the kernel-team mailing list