Re: [dpdk-dev] Aligned rte_mempool for storage applications

2019-03-27 Thread Varghese, Vipin
Sharing the possible design for 4K aligned address for objects. > -Original Message- > From: Harris, James R > Sent: Wednesday, March 27, 2019 12:29 AM > To: Howell, Seth ; Varghese, Vipin > ; dev@dpdk.org > Subject: Re: Aligned rte_mempool for storage applications > > > > On 3/26/19

Re: [dpdk-dev] Aligned rte_mempool for storage applications

2019-03-26 Thread Varghese, Vipin
Thanks Jim for the consideration. I humbly suggested the ideas, since we had a similar issue when creating AF_XDP_ZC PMD. Happy to share ideas. Thanks Vipin Varghese > -Original Message- > From: Harris, James R > Sent: Wednesday, March 27, 2019 12:29 AM > To: Howell, Seth ; Varghese, V

Re: [dpdk-dev] Aligned rte_mempool for storage applications

2019-03-26 Thread Harris, James R
On 3/26/19, 11:34 AM, "Howell, Seth" wrote: Hi Vipin, Thanks for your quick reply. I will respond to your queries in order. 1. Yes, in at least one case we have buffers of size 4096 bytes. Some of our other buffers are much larger (>64KiB) 2. These buffers are used in the

Re: [dpdk-dev] Aligned rte_mempool for storage applications

2019-03-26 Thread Howell, Seth
Hi Vipin, Thanks for your quick reply. I will respond to your queries in order. 1. Yes, in at least one case we have buffers of size 4096 bytes. Some of our other buffers are much larger (>64KiB) 2. These buffers are used in the I/O path, so performance is very important. Allocating and freeing

Re: [dpdk-dev] Aligned rte_mempool for storage applications

2019-03-25 Thread Varghese, Vipin
Hi Seth, If I may I would like to suggest and ask a query on the mempool alignment details. Please find my suggestion and query inline to the email. Snipped > > In SPDK, we use the rte_mempool struct for many internal structure > collections. The per-thread cache and ease of allocation of m

Re: [dpdk-dev] Aligned rte_mempool for storage applications

2019-03-25 Thread Harris, James R
On 3/25/19, 2:06 PM, "Howell, Seth" wrote: Hello, In SPDK, we use the rte_mempool struct for many internal structure collections. The per-thread cache and ease of allocation of mempools are very useful features. Some of the collections we store in SPDK are pools of I/O buffe

[dpdk-dev] Aligned rte_mempool for storage applications

2019-03-25 Thread Howell, Seth
Hello, In SPDK, we use the rte_mempool struct for many internal structure collections. The per-thread cache and ease of allocation of mempools are very useful features. Some of the collections we store in SPDK are pools of I/O buffers. Typically, these pools contain elements of at least 4096 by