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 05DDCA0583; Tue, 22 Nov 2022 18:24:28 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9E55742D53; Tue, 22 Nov 2022 18:24:27 +0100 (CET) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mails.dpdk.org (Postfix) with ESMTP id DABCD42B77 for ; Tue, 22 Nov 2022 18:24:26 +0100 (CET) Received: by mail-pl1-f176.google.com with SMTP id y10so13121818plp.3 for ; Tue, 22 Nov 2022 09:24:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=2a/gR0uKkqNMPo9aX/3D3gGogEtWD7dBhIgTIv3ZKps=; b=oT/UtJT1Xzy5xSPLG+14VYAZ3rmlmdvWWC4Aw3OrZLzIhqPygMkTJ5RTfju58gwPdF JakCs7M+7+1m74kBQT6CCxSOV1q5QsozBPWQp1qlhdw/ocHozDKpFjDinSpKhYnvG5Wg g82Ano4M8OB4GVqtgPhGUzj9tH1q8+twsTVYnYvAy+/1MB+NZLW5kIqAhNku00zcy1aJ z+y9VLGAFnVeQJoxh6G93fpal9c657k99Ab0CpDsUUSj5BuebM3dkFXzF5mxTKMe10vx ODDp2UMEGbK7RX+SuStoK+1Ql6nnpNyAEryi/8k5O9j0w21sEV+eind/D73CDIR5C6mi JtEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2a/gR0uKkqNMPo9aX/3D3gGogEtWD7dBhIgTIv3ZKps=; b=lNqDTSOLToAJfiXfhS29CoBWT97maMgeMxNLoXSFsxztjU5rgdh9N3SSjQGMrCkGR4 MXKYtIv3Gaxmyc3NLIbxyCyPk4tZnoDh/pdhCXKpXpjr4cvrX1W+M847UOmuug1Yqq0u zDC3A8lH0X4ZG6f6U9+68T2w+aD0SH393LRrSxELHY39r+Np413e2rDcDsHbgJkuQfhx RGBK6Nj6XLP2cep4yhxaNw8JTD5z1tXfxL5xd2670cV4niKuK2SHN+2MUAj33XTx2hLB W71XgBZ+u1IaJVxaOeXPdzLEQ/NC16h+UTZl0hkXV69LATcXDlEw+C/vTduKTEhJ4f6z BEwg== X-Gm-Message-State: ANoB5pk8kc17lRU2gRxe3+4ny9q1lbNjQ3BIiYLPYZdk9BP6xDOdi60/ b46zLs/bBoXkLtr9G+ytdZcTRg== X-Google-Smtp-Source: AA0mqf7kr8UWxUlsLFXgb500fwwRC2HHfcDyirLRY3zzicZjP1Cikmzb4EITfhu2PkqdZbur3nSc1A== X-Received: by 2002:a17:902:c652:b0:177:e4c7:e8b7 with SMTP id s18-20020a170902c65200b00177e4c7e8b7mr5248005pls.118.1669137865710; Tue, 22 Nov 2022 09:24:25 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id y185-20020a6232c2000000b0056ddd2b5e9bsm10921118pfy.41.2022.11.22.09.24.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Nov 2022 09:24:25 -0800 (PST) Date: Tue, 22 Nov 2022 09:24:23 -0800 From: Stephen Hemminger To: Illayaraja M Cc: dev@dpdk.org Subject: Re: dpdk l2fwd performance issue in VM Message-ID: <20221122092423.6ab22911@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Tue, 22 Nov 2022 11:17:48 +0530 Illayaraja M wrote: > 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. Is the VM running with dedicated CPU's? Each application running with dedicated virtual CPU's? Which hypervisor? Which virtual NIC/ Sending packets between applications always causes one or more cache misses. And the memory bandwidth can be a limiting factor.