From: Illayaraja M <illayaraj02@gmail.com>
To: dev@dpdk.org
Subject: dpdk l2fwd performance issue in VM
Date: Tue, 22 Nov 2022 11:17:48 +0530 [thread overview]
Message-ID: <CAJDjCCDt=Au6PDqhTqg8-xhUxXk35hSTwyk-RFjrYczbx2krXQ@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1702 bytes --]
Hi All,
I'm trying to deploy a l2fwd application on VMs to test it.
I have a 1Gbps link speed NIC, when I run a simple l2fwd application able
to achieve 1gbps traffic without any loss of packet. I have modified the
l2fwd application a bit.
I have two l2fwd applications namely P1 and P2. P1 receives the external
traffic and sends it to P2 and P2 simply changes the mac address and sends
it back to P1. Finally P1 sends the packet out to the external network.
With the above setup I'm able to achieve only 330Mbps traffic without
packet loss.
I'm trying to understand how the internal communication happens between the
P1 and P2 process, does it use PCI bus for communication?
Why is there a drop in tps and observe packet loss?
The setup details are given below.
The minimum hardware requirements to use UPF are as follows:
Hardware
Requirement Details
Machine Type
Virtual Machine
Host Kernel
3.10.0-1160.el7.x86_64
CPU Architecture
(Important)
x86_64 should support Intel SSE, VT-x, AVX
At least Intel Skylake or later gen
Host OS
Centos
Host Interfaces
At least 3 Physical Interfaces
VM Manager
QEMU/KVM minimum V 2.2.1
VM OS
CentOS Linux release 7.9 (Core)
VM Configuration
Minimum Memory 8 GB
Minimum 8 core CPUs
Minimum 10 GB disk space
Network Interfaces
(5 e1000e Interfaces including the Management interface)
Network Source
Name
Mode
Host Device
(Management)
Interface-1
Bridge
Host Device
Interface-2
Bridge
Interface-3
Bridge
Interface-4
Bridge
Interface-5
Bridge
Virtual Network(open Network)
Interface-6
Open
Interface-7
Open
Interface-8
Open
Can you please suggest the best recommended drivers and internal network.
Regards,
illaya
[-- Attachment #2: Type: text/html, Size: 21741 bytes --]
next reply other threads:[~2022-11-22 9:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-22 5:47 Illayaraja M [this message]
2022-11-22 17:24 ` Stephen Hemminger
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='CAJDjCCDt=Au6PDqhTqg8-xhUxXk35hSTwyk-RFjrYczbx2krXQ@mail.gmail.com' \
--to=illayaraj02@gmail.com \
--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).