[dpdk-dev] [PATCH v12 0/3] mempool: add external mempool manager
Hunt, David
david.hunt at intel.com
Thu Jun 16 13:34:35 CEST 2016
On 16/6/2016 9:58 AM, Olivier MATZ wrote:
>>>
>>> So I don't think we should have more cache misses whether it's
>>> placed at the beginning or at the end. Maybe I'm missing something...
>>>
>>> I still believe it's better to group the 2 fields as they are
>>> tightly linked together. It could be at the end if you see better
>>> performance.
>>>
>>
>> OK, I'll leave at the end because of the performance hit.
>
> Sorry, my message was not clear.
> I mean, having both at the end. Do you see a performance
> impact in that case?
>
I ran multiple more tests, and average drop I'm seeing on an older
server reduced to 1% average (local cached use-case), with 0% change on
a newer Haswell server, so I think at this stage we're safe to put it up
alongside pool_data. There was 0% reduction when I moved both to the
bottom of the struct. So on the Haswell, it seems to have minimal impact
regardless of where they go.
I'll post the patch up soon.
Regards,
Dave.
More information about the dev
mailing list