[dpdk-dev] [PATCH v6 2/4] lib: add bitrate statistics library
stephen at networkplumber.org
Wed Jan 11 17:15:02 CET 2017
On Thu, 12 Jan 2017 00:03:12 +0800
Remy Horton <remy.horton at intel.com> wrote:
> +struct rte_stats_bitrates_s *
> + return rte_zmalloc(NULL, sizeof(struct rte_stats_bitrates_s), 0);
You want these statistics to be cache aligned (ie not 0) to avoid
false cache sharing.
Since these statistics are often associated with a device would it
not make sense to have a NUMA socket associated with the alllocation?
More information about the dev