[ovs-git] [openvswitch/ovs] 31871e: netdev-dpdk: Remove vhost send retries when no pac...

GitHub noreply at github.com
Wed Jun 15 01:46:04 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 31871ee3839c35e6878debfc7926afa471dbdec6
      https://github.com/openvswitch/ovs/commit/31871ee3839c35e6878debfc7926afa471dbdec6
  Author: Kevin Traynor <kevin.traynor at intel.com>
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: Remove vhost send retries when no packets have been sent.

If the guest is connected but not servicing the virt queue, this leads
to vhost send retries until timeout. This is fine in isolation but if
there are other high rate queues also being serviced by the same PMD
it can lead to a performance hit on those queues. Change to only retry
when at least some packets have been successfully sent on the previous
attempt.

Also, limit retries to avoid a similar delays if packets are being sent
at a very low rate due to few available descriptors.

Reported-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy at intel.com>
Signed-off-by: Kevin Traynor <kevin.traynor at intel.com>
Acked-by: Bhanuprakash Bodireddy <bhanuprakash.bodireddy at intel.com>
Acked-by: Ilya Maximets <i.maximets at samsung.com>
Acked-by: Daniele Di Proietto <diproiettod at vmware.com>




More information about the git mailing list