On Thu, 10 Mar 2016 12:12:12 +0100
Olivier MATZ wrote:
> >> It still does not work. When CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=y:
> >>
> >> mp = rte_mempool_create("test", 128,
> >>64, 0, 0, NULL, NULL, NULL, NULL, SOCKET_ID_ANY, 0);
> >> rte_mempool_dump(stdout, mp);
> >>
> >> populated_size=128
>> It still does not work. When CONFIG_RTE_LIBRTE_MEMPOOL_DEBUG=y:
>>
>> mp = rte_mempool_create("test", 128,
>> 64, 0, 0, NULL, NULL, NULL, NULL, SOCKET_ID_ANY, 0);
>> rte_mempool_dump(stdout, mp);
>>
>> populated_size=128
>> header_size=64
>> elt_size=64
>> trailer_size=64
>> total
On 3/10/2016 8:37 AM, Olivier MATZ wrote:
> Hello,
>
> On 03/09/2016 10:12 PM, Stephen Hemminger wrote:
>> If page size is large (like 64K on ARM) and object size is small
>> then don't waste lots of memory by rounding up to page size.
>> Instead, round up so that 1 or more objects all fit in a pa
Hello,
On 03/09/2016 10:12 PM, Stephen Hemminger wrote:
> If page size is large (like 64K on ARM) and object size is small
> then don't waste lots of memory by rounding up to page size.
> Instead, round up so that 1 or more objects all fit in a page.
>
> This preserves the requirement that an obj
If page size is large (like 64K on ARM) and object size is small
then don't waste lots of memory by rounding up to page size.
Instead, round up so that 1 or more objects all fit in a page.
This preserves the requirement that an object must not a page
or virt2phys would break, and makes sure 62K is
5 matches
Mail list logo