diff options
author | Kevin Traynor <ktraynor@redhat.com> | 2018-01-16 15:04:41 +0000 |
---|---|---|
committer | Ian Stokes <ian.stokes@intel.com> | 2018-01-17 18:11:28 +0000 |
commit | 2a2c67b43599e90f0dda17a62bcc2b5e7334e934 (patch) | |
tree | 1485d338ebcaaf4943eeb6df2f9e6f3e24045a7a /Documentation/howto | |
parent | 4f5d13e241ba3e7c7591e57561837b4d61f828d0 (diff) | |
download | openvswitch-2a2c67b43599e90f0dda17a62bcc2b5e7334e934.tar.gz |
dpif-netdev: Add percentage of pmd/core used by each rxq.
It is based on the length of history that is stored about an
rxq (currently 1 min).
$ ovs-appctl dpif-netdev/pmd-rxq-show
pmd thread numa_id 0 core_id 4:
isolated : false
port: dpdkphy1 queue-id: 0 pmd usage: 70 %
port: dpdkvhost0 queue-id: 0 pmd usage: 0 %
pmd thread numa_id 0 core_id 6:
isolated : false
port: dpdkphy0 queue-id: 0 pmd usage: 64 %
port: dpdkvhost1 queue-id: 0 pmd usage: 0 %
These values are what would be used as part of rxq to pmd
assignment due to a reconfiguration event e.g. adding pmds,
adding rxqs or with the command:
ovs-appctl dpif-netdev/pmd-rxq-rebalance
Signed-off-by: Jan Scheurich <jan.scheurich@ericsson.com>
Co-authored-by: Jan Scheurich <jan.scheurich@ericsson.com>
Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
Signed-off-by: Ian Stokes <ian.stokes@intel.com>
Diffstat (limited to 'Documentation/howto')
-rw-r--r-- | Documentation/howto/dpdk.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/howto/dpdk.rst b/Documentation/howto/dpdk.rst index 587aaed5b..40f9d9649 100644 --- a/Documentation/howto/dpdk.rst +++ b/Documentation/howto/dpdk.rst @@ -139,6 +139,17 @@ Core 3: Q1 (80%) | Core 7: Q4 (70%) | Q5 (10%) core 8: Q3 (60%) | Q0 (30%) +To see the current measured usage history of pmd core cycles for each rxq:: + + $ ovs-appctl dpif-netdev/pmd-rxq-show + +.. note:: + + A history of one minute is recorded and shown for each rxq to allow for + traffic pattern spikes. An rxq's pmd core cycles usage changes due to traffic + pattern or reconfig changes will take one minute before they are fully + reflected in the stats. + Rxq to pmds assignment takes place whenever there are configuration changes or can be triggered by using:: |