DPDK patches and discussions
 help / color / mirror / Atom feed
From: Lawrence MacIntyre <macintyrelp@ornl.gov>
To: dev@dpdk.org
Subject: Re: [dpdk-dev] rte_mbuf size for jumbo frame
Date: Tue, 26 Jan 2016 09:23:31 -0500	[thread overview]
Message-ID: <56A78163.5060500@ornl.gov> (raw)
In-Reply-To: <745DB4B8861F8E4B9849C970520ABBF149852DC7@ORSMSX102.amr.corp.intel.com>

Saurabh:

Raising the mbuf size will make the packet handling for large packets 
slightly more efficient, but it will use much more memory unless the 
great majority of the packets you are handling are of the jumbo size. 
Using more memory has its own costs. In order to evaluate this design 
choice, it is necessary to understand the behavior of the memory 
subsystem, which is VERY complicated.

Before  you go down this path, at least benchmark your application using 
the regular sized mbufs and the large ones and see what the effect is.

This one time (01/26/2016 09:01 AM), at band camp, Polehn, Mike A wrote:
> Jumbo frames are generally handled by link lists (but called something else) of mbufs.
> Enabling jumbo frames for the device driver should enable the right portion of the driver which handles the linked lists.
>
> Don't make the mbufs huge.
>
> Mike
>
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Masaru OKI
> Sent: Monday, January 25, 2016 2:41 PM
> To: Saurabh Mishra; users@dpdk.org; dev@dpdk.org
> Subject: Re: [dpdk-dev] rte_mbuf size for jumbo frame
>
> Hi,
>
> 1. Take care of unit size of mempool for mbuf.
> 2. Call rte_eth_dev_set_mtu() for each interface.
>      Note that some PMDs does not supported change MTU.
>
> On 2016/01/26 6:02, Saurabh Mishra wrote:
>> Hi,
>>
>> We wanted to use 10400 bytes size of each rte_mbuf to enable Jumbo frames.
>> Do you guys see any problem with that? Would all the drivers like
>> ixgbe, i40e, vmxnet3, virtio and bnx2x work with larger rte_mbuf size?
>>
>> We would want to avoid detailing with chained mbufs.
>>
>> /Saurabh

-- 
Lawrence MacIntyre  macintyrelp@ornl.gov  Oak Ridge National Laboratory
  865.574.7401  Cyber Space and Information Intelligence Research Group

  reply	other threads:[~2016-01-26 14:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-25 21:02 Saurabh Mishra
2016-01-25 22:40 ` Masaru OKI
2016-01-26 14:01   ` Polehn, Mike A
2016-01-26 14:23     ` Lawrence MacIntyre [this message]
2016-01-26 14:40       ` Saurabh Mishra
2016-01-26 16:50         ` Lawrence MacIntyre
2016-01-26 17:14           ` Saurabh Mishra

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=56A78163.5060500@ornl.gov \
    --to=macintyrelp@ornl.gov \
    --cc=dev@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).