[dpdk-dev] [PATCH] test: provide performance difference ratio and test time

Thomas Monjalon thomas at monjalon.net
Tue Nov 7 18:20:10 CET 2017


26/10/2017 08:23, Jianbo Liu:
> The 10/25/2017 15:13, Herbert Guan wrote:
> > The printed time values presented in TSC is not straight forward
> > showing the performance difference.  And if the high resolution
> > counter is not enabled, time value is too small to show the actual
> > performance (e.g. "1 - 1" seems the same but in fact the perfomance
> > diffs by 50% or more).
> > With the performance difference ratio caculated and printed, it'll be
> > easier for people to read and compare the performance between
> > rte_memcpy() and memcpy().
> > Since the TSC values' units may diff a lot on different platforms,
> > the total execution time of aligned/unaligned memcpy test are
> > provided to allow comparation between platforms.
> >
> > Signed-off-by: Herbert Guan <herbert.guan at arm.com>
> 
> Acked-by: Jianbo Liu <jianbo.liu at arm.com>

Applied, thanks



More information about the dev mailing list