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 1987AA0545 for ; Tue, 21 Jun 2022 18:52:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A94B34069C; Tue, 21 Jun 2022 18:52:15 +0200 (CEST) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mails.dpdk.org (Postfix) with ESMTP id AAAC440151 for ; Tue, 21 Jun 2022 18:52:14 +0200 (CEST) Received: by mail-pf1-f182.google.com with SMTP id x4so7291335pfq.2 for ; Tue, 21 Jun 2022 09:52:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wmrgF5ctN9xk9uTHaQjrecXXtdh4UwJd26DM1/r7WhA=; b=Wlnx4jw6MG3OjME0BKj9yh32i3QeGTnSN12z8cnFZdICDZQOMNNxjqtwP6BaNHXV7x 7Xc76ORCiEzXGwJWBCaBf8ef2GRxLa2YNf+m1cAFfMlK0ryAWZkoPwf78PE0oDrxq+tm u3bCy4uw96zdZJgDMKc4kju3u2dLUE9m10QqJqqPAaOVaOURaEUE41s3QMD9OXh0zQUE cEr9xfd/+ruPJRB9cuws7LrITYppnog20w0F62bCrtqVTJQuAjBoOnyQCEuoXrl+MpJr zvzDPdwu8mwsmU2CSCc/Dgl3DpJsYKuF/MTDFXyexWn/iJIlPOEK1JZlegedy5OuoJMJ 2VUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wmrgF5ctN9xk9uTHaQjrecXXtdh4UwJd26DM1/r7WhA=; b=gxI0yBjefWyngM+qIBnrYWhYBphleIbXhp64CgNunB0GDxUUfr/4QhWuDJjY6mniN5 dSsW9o/nXWZLDlzC06e6RJYAI2mfSErG9DeIUCLVTkBHm//8zJLAnfopK6vPeBxEB/WO AtiY9gFWE3RaRyTANQiJUBuyJAisQuEthI+O3qy0uSlzwfVRtnxtY+CFDalcYnRre7Tm zSIZsoWC/n4UiXVat1HXgpuQa7BeIaLEUm54pqlH5aPpyxYZUdM7kf4UO55wKxxTyql+ DmPoKbJhGfrs6lp7BbN7dgRl83ybyJbqZltSQcktjLTIRaegc4Elny4ZIodJC4W7le9Z m14g== X-Gm-Message-State: AJIora9X35DYFX+YhqAXrkTHBRUxgJN/6aDhfq2dfoUT6nglxtb8jDx8 +Zm4IEtnyCO1+VLhPe2iWGrung== X-Google-Smtp-Source: AGRyM1vxfbQpyj+gajn4ENuFrHiPHE8EEVgA6RanE5EuzMkuJd9n2OM+U3EwIo+xq+E5QMj8iY2ZtQ== X-Received: by 2002:a05:6a00:2d4:b0:525:3e52:b056 with SMTP id b20-20020a056a0002d400b005253e52b056mr1583305pft.50.1655830333874; Tue, 21 Jun 2022 09:52:13 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id u24-20020a17090a891800b001e0c5da6a51sm6817042pjn.50.2022.06.21.09.52.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jun 2022 09:52:13 -0700 (PDT) Date: Tue, 21 Jun 2022 09:52:11 -0700 From: Stephen Hemminger To: Sylvain Vasseur Cc: users@dpdk.org Subject: Re: poor performances with DPDK on a gcloud VM Message-ID: <20220621095211.2de760cd@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org On Tue, 21 Jun 2022 17:29:38 +0100 Sylvain Vasseur wrote: > Hello, > > Did someone already manage to use DPDK on a GCP VM and have good > performances? I am trying this configuration lately, have some awful > bandwidth results and no idea what I could be doing wrong. > > I use the VirtIO interfaces on my VMs, was able to use both the vfio-pci > and igb_uio PMD. But can only get ~350Mbps (yes bits!) with both, when > trying to transmit data with a very basic testpmd run. > dpdk-testpmd -a 0000:00:05.0 -- --forward-mode=txonly --stats-period 1 > > Any non-dpdk use of the network interface gives me way better results > (GBps!). > > Device: > 00:05.0 Ethernet controller: Red Hat, Inc. Virtio network device > > Bind status > Network devices using DPDK-compatible driver > ============================================ > 0000:00:05.0 'Virtio network device 1000' drv=igb_uio unused=vfio-pci > > I would bet I am doing something wrong, either with the PMD choice, or with > some setting. But can't figure what. Did anyone manage to have good > performances or some experience of using DPDK on a google cloud VM? > > Thanks in advance > Sylvain Check the negotiation of virtio features and checksum offload bits.