[dpdk-dev] [PATCH] l3fwd improve grouping by destination port a bit

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Aug 1 18:27:22 CEST 2014


2014-07-22 17:04, Konstantin Ananyev:
> Latest changes introduced a small degradation for the corner case
> when each input packet is destined to the different port.
> For the test-case when 1 core manages 4 ports and packet stream looks like:
> IPV4_DSTPORT0, IPV4_DSTPORT1, IPV4_DSTPORT3, IPV4_DSTPORT4, IPV4_DSTPORT0, ...
> non-optimised code path outperforms optimised one by 2-3%.
> These changes supposed to close that gap.
> From my testing: now for the case descirbed above optimised code path
> produces same numbers as non-optimised one.
> For other test-cases numbers remain about the same.
> 
> Signed-off-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

There was no comment about this patch so it's now applied for version 1.7.1.

Thanks
-- 
Thomas


More information about the dev mailing list