DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] What is the max size of packets rte_eth_tx_burst() can send practically/theoritically?
@ 2017-03-01  4:28 Joo Kim
  2017-03-01  6:24 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Joo Kim @ 2017-03-01  4:28 UTC (permalink / raw)
  To: dev

Hello,


For example, as I understand,  ovs-dpdk code  uses a buffer of size 32
when it transmits via rte_eth_tx_burst().

I think it can transmit more packets in a bust.
I know there should be a balance between throughput and latency. But, I am
wondering what max size packets  a dpdk application can give  to
rte_eth_tx_burst()  practically/theoretically?
(I see some max macro in ixgbe_rxtx.h)

Thanks

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] What is the max size of packets rte_eth_tx_burst() can send practically/theoritically?
  2017-03-01  4:28 [dpdk-dev] What is the max size of packets rte_eth_tx_burst() can send practically/theoritically? Joo Kim
@ 2017-03-01  6:24 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2017-03-01  6:24 UTC (permalink / raw)
  To: Joo Kim; +Cc: dev

On Tue, 28 Feb 2017 20:28:21 -0800
Joo Kim <itsolution@gmail.com> wrote:

> Hello,
> 
> 
> For example, as I understand,  ovs-dpdk code  uses a buffer of size 32
> when it transmits via rte_eth_tx_burst().
> 
> I think it can transmit more packets in a bust.
> I know there should be a balance between throughput and latency. But, I am
> wondering what max size packets  a dpdk application can give  to
> rte_eth_tx_burst()  practically/theoretically?
> (I see some max macro in ixgbe_rxtx.h)
> 
> Thanks

You could theoretically transmit a burst size up to the configured number of TX descriptors.
The downside is you will add latency and have to handle the TX ring getting full more often.
Bigger burst sizes really don't win that much. 50% of the gain happens by just sending 2 at a time.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-01  6:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-01  4:28 [dpdk-dev] What is the max size of packets rte_eth_tx_burst() can send practically/theoritically? Joo Kim
2017-03-01  6:24 ` Stephen Hemminger

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).