[dpdk-dev] [PATCH v8 1/3] eal/x86: run-time dispatch over memcpy

Thomas Monjalon thomas at monjalon.net
Wed Oct 25 11:00:00 CEST 2017


25/10/2017 10:54, Li, Xiaoyun:
> > > > > > I think we should focus on micro-benchmark and find a
> > > > > > reasonnable threshold for a reasonnable drop tradeoff.
> > > > > >
> > > > > Sadly, it may not be that simple. What shows best performance for
> > > > > micro- benchmarks may not show the same effect in a real application.
> > > > >
> > > > > /Bruce
> > > >
> > > > Then how to measure the performance?
> > > >
> > > > And I cannot reproduce 15% drop on mellanox.
> > > > Could the person who tested 15% drop help to do test again with 1024
> > > > threshold and see if there is any improvement?
> > >
> > > As Bruce said, best performance on micro-benchmark may not show the
> > same effect in real applications.
> > > And I cannot reproduce the 15% drop.
> > > And I don't know if raising the threshold can improve the perf or not.
> > > Could the person who tested 15% drop help to do test again with 1024
> > threshold and see if there is any improvement?
> > 
> > As I already asked before - why not to make that threshold dynamic?
> > Konstantin
> > 
> I want to confirm that raising threshold is useful. Then can make it dynamic and set it very large as default.

You can confirm it with micro-benchmarks.


More information about the dev mailing list