DPDK usage discussions
 help / color / mirror / Atom feed
From: Mike Davison <mike.davison.tech@gmail.com>
To: users@dpdk.org
Subject: Re: [dpdk-users] mempools
Date: Tue, 17 Jan 2017 15:32:05 -0800	[thread overview]
Message-ID: <CAE3cmzBRHnLBBTeqsi12RMq9HgRPLU+5mt_-moy42-NrCJeUEw@mail.gmail.com> (raw)
In-Reply-To: <20170117152357.7d2b87ff@xeon-e3>

Looking for fixed-sized objects in somewhat variable-sized pool.

Perhaps use rte_malloc_socket to allocate from a specific heap and add a
bit of functionality above dpdk to ensure objects are fixed-sized. Perhaps.


>
> Memzone's are fixed size regions
> Mempool's are fixed size objects based on memzone's
> For variable size objects, use rte_malloc
>
>

      reply	other threads:[~2017-01-17 23:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-17 23:13 Mike Davison
2017-01-17 23:23 ` Stephen Hemminger
2017-01-17 23:32   ` Mike Davison [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAE3cmzBRHnLBBTeqsi12RMq9HgRPLU+5mt_-moy42-NrCJeUEw@mail.gmail.com \
    --to=mike.davison.tech@gmail.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).