[ovs-git] [openvswitch/ovs] 2e6a1e: dpif-netdev: Remove PMD latency on seq_mutex

GitHub noreply at github.com
Mon Jul 25 18:22:33 UTC 2016


  Branch: refs/heads/branch-2.5
  Home:   https://github.com/openvswitch/ovs
  Commit: 2e6a1eae96615cab458757d62c95ce9993df7202
      https://github.com/openvswitch/ovs/commit/2e6a1eae96615cab458757d62c95ce9993df7202
  Author: Flavio Leitner <fbl at redhat.com>
  Date:   2016-07-25 (Mon, 25 Jul 2016)

  Changed paths:
    M lib/dpif-netdev.c
    M lib/ovs-rcu.c
    M lib/ovs-rcu.h
    M lib/seq.c
    M lib/seq.h

  Log Message:
  -----------
  dpif-netdev: Remove PMD latency on seq_mutex

The PMD thread needs to keep processing RX queues in order
to achieve maximum throughput. It also needs to sweep emc
cache and quiesce which use seq_mutex. That mutex can
eventually block the PMD thread causing latency spikes and
affecting the throughput.

Since there is no requirement for running those tasks at a
specific time, this patch extend seq API to allow tentative
locking instead.

Reported-by: Karl Rister <krister at redhat.com>
Co-authored-by: Karl Rister <krister at redhat.com>
Signed-off-by: Flavio Leitner <fbl at redhat.com>
Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>




More information about the git mailing list