[ovs-git] [openvswitch/ovs] 55e3ca: dpif-netdev: Add simple per pmd-thread cycles coun...

GitHub noreply at github.com
Tue Apr 14 19:31:45 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 55e3ca97d1cb8ee7de496381ef48ff248f527787
      https://github.com/openvswitch/ovs/commit/55e3ca97d1cb8ee7de496381ef48ff248f527787
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-04-14 (Tue, 14 Apr 2015)

  Changed paths:
    M lib/dpif-netdev.c

  Log Message:
  -----------
  dpif-netdev: Add simple per pmd-thread cycles counters.

The counters use x86 TSC if available (currently only with DPDK). They
will be exposed by subsequents commits

Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


  Commit: c8973eb634a8efff7593d2a2c160e2b8c09a8c3f
      https://github.com/openvswitch/ovs/commit/c8973eb634a8efff7593d2a2c160e2b8c09a8c3f
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-04-14 (Tue, 14 Apr 2015)

  Changed paths:
    M lib/dpif-netdev.c
    M lib/dpif-netlink.c
    M lib/dpif-provider.h
    M lib/dpif.c

  Log Message:
  -----------
  dpif-provider: Add class init function.

This init function is called when the dpif class is registered. It will
be used by following commits

Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


  Commit: 6553d06bd1797bd4f2849dc8da6a994fc9504ac7
      https://github.com/openvswitch/ovs/commit/6553d06bd1797bd4f2849dc8da6a994fc9504ac7
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2015-04-14 (Tue, 14 Apr 2015)

  Changed paths:
    M INSTALL.DPDK.md
    M lib/dpif-netdev.c
    M vswitchd/ovs-vswitchd.8.in

  Log Message:
  -----------
  dpif-netdev: Add dpif-netdev/pmd-stats-* appctl commands.

These commands can be used to get packets and cycles counters on a pmd
thread basis.  They're useful to get a clearer picture about the
performance of the userspace datapath.

They export these pieces of information:

- A (per-thread) view of the caches hit rate. Hits in the exact match
  cache are reported separately from hits in the masked classifier
- A rough cycles count. This will allow to estimate the load of OVS and
  the polling overhead.

Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Ethan Jackson <ethan at nicira.com>


Compare: https://github.com/openvswitch/ovs/compare/77e2b03174d5...6553d06bd179


More information about the git mailing list