Add multiqueue support 65/33265/16
authorJing Zhang <jing.c.zhang@nokia.com>
Tue, 11 Apr 2017 14:52:30 +0000 (10:52 -0400)
committerJing Zhang <jing.c.zhang@nokia.com>
Thu, 20 Jul 2017 13:31:31 +0000 (09:31 -0400)
commit5478e77dab55d30ebd3e49b8b8f6002a03b4a065
tree2599f4ab95a9235b6fdbde5d77f9a23579105daa
parent77ac1aa890964b40aaf12b43301d37575ae753d3
Add multiqueue support

Problem:
Neither OVS nor SRIOV multi-queue is not supported. Guest VM lacks tuning to reach high throughput.
Solution:
(1) Build SRIOV multi-queue capable guest image by recompiling the igxbevf driver (make CFLAGS_EXTRA=-DIXGBE_ENABLE_VF_MQ install).
(2) Change pktgen to send on multiple queues.
(3) Add tuning in guest VM (Disable irqbalance and setup vNIC interrupt affinity to vCPUs)

Update 1: Takes care comments plus adds unit test cases
Update 2: Jenkins reports code coverage 81%, local reports 96%, add more unit test cases
Update 3: Manually rebased to adapt to SSH.from_node()
Update 4: Takes care comments for vnic_type, vnic_name

Change-Id: Ieb15381c653b13697487d095efa4be6c3c49fa42
JIRA: YARDSTICK-619
Signed-off-by: Jing Zhang <jing.c.zhang@nokia.com>
tests/opnfv/test_cases/opnfv_yardstick_tc008.yaml
tests/unit/benchmark/scenarios/networking/test_pktgen.py
yardstick/benchmark/scenarios/networking/pktgen.py
yardstick/benchmark/scenarios/networking/pktgen_benchmark.bash