numam-dpdk/doc/guides/rel_notes
Cristian Dumitrescu c06ddf9698 meter: add configuration profile
This patch adds support for meter configuration profiles.
Benefits: simplified configuration procedure, improved performance.

Q1: What is the configuration profile and why does it make sense?
A1: The configuration profile represents the set of configuration
    parameters for a given meter object, such as the rates and sizes for
    the token buckets. The configuration profile concept makes sense when
    many meter objects share the same configuration, which is the typical
    usage model: thousands of traffic flows are each individually metered
    according to just a few service levels (i.e. profiles).

Q2: How is the configuration profile improving the performance?
A2: The performance improvement is achieved by reducing the memory
    footprint of a meter object, which results in better cache utilization
    for the typical case when large arrays of meter objects are used. The
    internal data structures stored for each meter object contain:
       a) Constant fields: Low level translation of the configuration
          parameters that does not change post-configuration. This is
          really duplicated for all meters that use the same
          configuration. This is the configuration profile data that is
          moved away from the meter object. Current size (implementation
          dependent): srTCM = 32 bytes, trTCM = 32 bytes.
       b) Variable fields: Time stamps and running counters that change
          during the on-going traffic metering process. Current size
          (implementation dependent): srTCM = 24 bytes, trTCM = 32 bytes.
          Therefore, by moving the constant fields to a separate profile
          data structure shared by all the meters with the same
          configuration, the size of the meter object is reduced by ~50%.

Signed-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
2018-02-19 22:28:05 +01:00
..
deprecation.rst meter: add configuration profile 2018-02-19 22:28:05 +01:00
index.rst doc: add template release notes for 18.05 2018-02-19 21:54:14 +01:00
known_issues.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
rel_description.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
release_1_8.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
release_2_0.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
release_2_1.rst doc: convert Intel license headers to SPDX tags 2018-02-06 23:27:08 +01:00
release_2_2.rst doc: add statistics fixes in release notes 2015-12-15 13:50:42 +01:00
release_16_04.rst doc: remove residual template from release notes 2016-04-11 23:56:34 +02:00
release_16_07.rst doc: add tested hardware and systems for 16.07 2016-07-28 18:11:56 +02:00
release_16_11.rst doc: fix release notes for 16.11 2016-11-13 15:25:12 +01:00
release_17_02.rst doc: update release notes for 17.02 2017-02-14 21:58:04 +01:00
release_17_05.rst doc: add i40e tunnel support in release notes 2018-01-29 10:04:28 +01:00
release_17_08.rst eventdev: bump library version 2017-08-08 20:01:39 +02:00
release_17_11.rst doc: add i40e queue region support to release notes 2018-01-29 10:04:28 +01:00
release_18_02.rst doc: update release notes for 18.02 2018-02-14 19:01:26 +01:00
release_18_05.rst meter: add configuration profile 2018-02-19 22:28:05 +01:00