DPDK usage discussions
 help / color / mirror / Atom feed
* tap device speed
@ 2023-10-02 19:13 Antonio Di Bacco
  2023-10-02 21:21 ` Stephen Hemminger
  0 siblings, 1 reply; 10+ messages in thread
From: Antonio Di Bacco @ 2023-10-02 19:13 UTC (permalink / raw)
  To: users

I'm doing a test where we have a couple of tap devices, the two
devices are seen by testpmd that is setup in forward mode.

On the linux side, the two tap devices are confined in different
network namespaces and in one namespace we have an iperf server while
on the other namespace the iperf client sending either UDP or TCP.

I expected a bandwidth in the range of few gpbs while the actual
measured bandwidth is a few gigabits.

I suppose I need to configure the tap devices with optimized
parameters but I don't know where to look for advice.

If I try to use the loopback interface I can get something 40 gbps
with a command like this:

iperf -c 127.0.0.1 -u -i 1 -b 40g -t 10 -l 40000

.

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

end of thread, other threads:[~2023-10-09 18:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-02 19:13 tap device speed Antonio Di Bacco
2023-10-02 21:21 ` Stephen Hemminger
2023-10-03  8:49   ` Antonio Di Bacco
2023-10-03 16:01     ` Stephen Hemminger
2023-10-04  6:17       ` David Marchand
2023-10-04  7:08         ` Maxime Coquelin
2023-10-04  7:42           ` Antonio Di Bacco
2023-10-04  7:49             ` Maxime Coquelin
2023-10-09 17:48               ` Antonio Di Bacco
2023-10-09 18:42                 ` Maxime Coquelin

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