On Thu, Jun 02, 2016 at 11:16:16PM +0200, Olivier MATZ wrote: Hi Olivier, > This is probably more a measure of the pure CPU cost of the mempool > function, without considering the memory cache aspect. So, of course, > a real use-case test should be done to confirm or not that it increases > the performance. I'll manage to do a test and let you know the result.
OK IMO, put rte_memcpy makes sense(this patch) as their no behavior change. However, if get rte_memcpy with behavioral changes makes sense some platform then we can enable it on conditional basics(I am OK with that) > > By the way, not all drivers are allocating or freeing the mbufs by > bulk, so this modification would only affect these ones. What driver > are you using for your test? I have tested with ThunderX nicvf pmd(uses the bulk mode). Recently sent out driver in ml for review Jerin > > > Regards, > Olivier > >