]> git.proxmox.com Git - ovs.git/commit
dpif-netdev: Change rxq_scheduling to use rxq processing cycles.
authorKevin Traynor <ktraynor@redhat.com>
Fri, 25 Aug 2017 07:48:01 +0000 (00:48 -0700)
committerDarrell Ball <dlu998@gmail.com>
Fri, 25 Aug 2017 07:48:01 +0000 (00:48 -0700)
commit655856ef39b98dd854a2a764b1b2e88a020e3099
treea466d57bbfa9897f4be7a62751e13d28bf391b91
parent4809891b2e017dda95bb9cbacd470d0065fc7ce4
dpif-netdev: Change rxq_scheduling to use rxq processing cycles.

Previously rxqs were assigned to pmds by round robin in
port/queue order.

Now that we have the processing cycles used for existing rxqs,
use that information to try and produced a better balanced
distribution of rxqs across pmds. i.e. given multiple pmds, the
rxqs which have consumed the largest amount of processing cycles
will be placed on different pmds.

The rxqs are sorted by their processing cycles and assigned (in
sorted order) round robin across pmds.

Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Signed-off-by: Darrell Ball <dlu998@gmail.com>
Documentation/howto/dpdk.rst
lib/dpif-netdev.c