[dpdk-dev] [PATCH v2] config: enable packet data prefetch
Thomas Monjalon
thomas at monjalon.net
Thu Oct 15 00:02:37 CEST 2020
23/09/2020 03:51, Marvin Liu:
> Data prefetch instruction can preload data into cpu’s hierarchical
> cache before data access. Virtualized data paths like virtio utilized
> this feature for acceleration. Since most modern cpus have support
> prefetch function, we can enable packet data prefetch as default.
>
> Signed-off-by: Marvin Liu <yong.liu at intel.com>
> ---
> +#define RTE_PMD_PACKET_PREFETCH 1
We could also remove the related #ifdefs.
What can be the drawback of always enable those prefetches?
More information about the dev
mailing list