[dpdk-dev] [memnic PATCH 7/7] pmd: split calling mbuf free

2014-09-25 Thread Hiroshi Shimamoto
Hi Thomas, Keith, > Subject: Re: [dpdk-dev] [memnic PATCH 7/7] pmd: split calling mbuf free > > > On Sep 24, 2014, at 10:20 AM, Thomas Monjalon > wrote: > > > 2014-09-11 07:52, Hiroshi Shimamoto: > >> @@ -408,9 +408,9 @@ retry: > >> > >>

[dpdk-dev] [memnic PATCH 7/7] pmd: split calling mbuf free

2014-09-24 Thread Thomas Monjalon
2014-09-11 07:52, Hiroshi Shimamoto: > @@ -408,9 +408,9 @@ retry: > > rte_compiler_barrier(); > p->status = MEMNIC_PKT_ST_FILLED; > - > - rte_pktmbuf_free(tx_pkts[nr]); > } > + for (i = 0; i < nr; i++) > +

[dpdk-dev] [memnic PATCH 7/7] pmd: split calling mbuf free

2014-09-24 Thread Wiles, Roger Keith
On Sep 24, 2014, at 10:20 AM, Thomas Monjalon wrote: > 2014-09-11 07:52, Hiroshi Shimamoto: >> @@ -408,9 +408,9 @@ retry: >> >> rte_compiler_barrier(); >> p->status = MEMNIC_PKT_ST_FILLED; >> - >> -rte_pktmbuf_free(tx_pkts[nr]); >> } >> +for (i =

[dpdk-dev] [memnic PATCH 7/7] pmd: split calling mbuf free

2014-09-11 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto In rte_pktmbuf_free(), there might be cache miss/memory stall issue. In small packet case, it could harm the performance. >From the result of memnic-tester, in less than 1024 frame size the performance could be improved. Using Xeon E5-2697 v2