From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D0446A0580; Tue, 22 Nov 2022 10:36:47 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C16AB42D57; Tue, 22 Nov 2022 10:36:47 +0100 (CET) Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mails.dpdk.org (Postfix) with ESMTP id E3A90427EB for ; Tue, 22 Nov 2022 06:48:01 +0100 (CET) Received: by mail-pg1-f174.google.com with SMTP id 130so13174574pgc.5 for ; Mon, 21 Nov 2022 21:48:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=QAFPWpvIFaaVR/kLPbg2miEns+JxMvxQ6voAVxEpBt0=; b=D19P+HbNaWgzJ+E2hsyDVcJcwoM3E8/K0OkMarNvFaH1NlMs4nUuv0iWsbTqzlCKYj 3/6XFrxZSGf2jW23DpMh95DZOKGP1ipY7lxQYWr6BYEb84/E0Jv9fcM0EoH57L6fM67t H0Xvvb8zSW2WBahyT0OEtL3IOmLmd2wdspIu0D2zw+2H4Bo0sMQK5hE1VZ8R8bzGZ2Lv mDQubDvttPNYuYhqUZOPWtL3lpKHru2zyoHHkrDhJe8Di3Jp9wJFLfiwqXgY2wesdTfu D5d8oH3/c+tk2nWHl5ZqMi91yd+ihzVNQIqcy2HuuYPW6BoKt2+qMvUky4KijJ5MdUjQ I2pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=QAFPWpvIFaaVR/kLPbg2miEns+JxMvxQ6voAVxEpBt0=; b=THFoZvxHlcyXjbnT67g7NOYD7dVXQPw8kmd0pTjZCxCkcoIyhy69Yg63AyDDkikqSq 4rWdDEjLZVsAzQxn8ABXk+x08O9KCzr9cxV8Iydpm1pugGM2k6bEiM90tGA1lVi7Ho/D XZUfiRB3G9zGQwS1V3FsajD9wPkJjeDKlvHUrDy6ic7shUiz1I3Y+o1em5vQMIHk+7d/ 8rrelw8N3Ot+deY2nZy2ed6OyE/e02aU29N+JNtqUslC9gzZWUAZxvZPJPjID3xltejB U//LGwWdlIk+JiiVbDHg4jvEuPEFnSlnt8QGw23yg2wDvyeR6xyBGdHsOxU6UIZSzCt+ jx4g== X-Gm-Message-State: ANoB5plufnYWtFrHWvNeOggNKtFOrSpWO+2qSTHefSNwSLlxIoUB5gwV VhDGXD6VTxXSdPsbpXjlre0iKbWiur1LdB5NQ9iNId+lejh3WIFe X-Google-Smtp-Source: AA0mqf7rwVpS/fyjKs2PfKNAv9h8r4MVZpp5hMCkPHt91CK6aznAPZ4CYpzO6RzvjugJr3mqRUdhk7KFJnnxShtA6V4= X-Received: by 2002:a05:6a00:3004:b0:56c:dba2:30b with SMTP id ay4-20020a056a00300400b0056cdba2030bmr23855310pfb.72.1669096080260; Mon, 21 Nov 2022 21:48:00 -0800 (PST) MIME-Version: 1.0 From: Illayaraja M Date: Tue, 22 Nov 2022 11:17:48 +0530 Message-ID: Subject: dpdk l2fwd performance issue in VM To: dev@dpdk.org Content-Type: multipart/alternative; boundary="000000000000f5c39f05ee08b685" X-Mailman-Approved-At: Tue, 22 Nov 2022 10:36:46 +0100 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --000000000000f5c39f05ee08b685 Content-Type: text/plain; charset="UTF-8" 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 --000000000000f5c39f05ee08b685 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi All,

I'm trying to deploy a l2fw= d application on VMs to test it.=C2=A0
I have a 1Gbps link speed = NIC, when I run a simple l2fwd application able to achieve 1gbps traffic wi= thout any loss of packet. I have modified the l2fwd application a bit.
I have two l2fwd applications namely P1 and P2. P1 receives the exter= nal traffic and sends it to P2 and P2 simply changes the mac address and se= nds 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 traffi= c=C2=A0without packet loss.=C2=A0

I'm trying t= o understand how the internal communication happens between the P1 and P2 p= rocess, does it use PCI bus for communication?=C2=A0
Why is there= a drop in tps and observe packet loss?

The setup = details are given=C2=A0below.

The minimum hardware requirements to use UPF ar= e as follows:

= =

Virtual Machine

= <= td colspan=3D"3" style=3D"border-width:0.5pt;border-style:solid;border-colo= r:rgb(0,0,0);vertical-align:top;padding:0pt 5.4pt;overflow:hidden">

At least 3 Physical Interfaces

VM Configuration

Host Device

(Management)

Hardware

Requirement Details

Machine Type

Host Kernel=C2=A0

3.10.0-1160.el7.x86_64

CPU = Architecture

(Imp= ortant)

x86_64 shou= ld support Intel SSE, VT-x, AVX

At least Intel Skylake or later gen

=

<= span style=3D"font-size:10pt;font-family:Arial;color:rgb(0,0,0);background-= color:transparent;font-variant-numeric:normal;font-variant-east-asian:norma= l;vertical-align:baseline;white-space:pre-wrap">Host OS

Centos

Host Interfaces

VM Ma= nager

QEMU/KVM mini= mum V 2.2.1

VM OS

Cent= OS Linux release 7.9 (Core)

Minimum Memory 8 GB

Minimum 8 core CPUs

Minimum 10 GB disk space

Network= Interfaces

(5 e1= 000e Interfaces including the Management interface)

Network Source

Name

Mode

= Interface-1

Bridge



Host Device

Interface-2

Bridge

Interface-3

Bridge

Interface-4

Bridge

Interface-5

Bridge


Virtual Network(open Network)

Interface-6

Open

Interfa= ce-7

<= p dir=3D"ltr" style=3D"line-height:1.2;margin-top:2pt;margin-bottom:2pt">Open

Interface-8

Open


Can you please suggest the best recommend= ed drivers and internal network.

Regards,
illaya
--000000000000f5c39f05ee08b685--