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:
> >>
> >>
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++)
> +
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 =
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
4 matches
Mail list logo