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 D9C9EA0545 for ; Tue, 21 Jun 2022 18:29:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A9EE34069C; Tue, 21 Jun 2022 18:29:53 +0200 (CEST) Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by mails.dpdk.org (Postfix) with ESMTP id 72C3D40151 for ; Tue, 21 Jun 2022 18:29:52 +0200 (CEST) Received: by mail-wr1-f43.google.com with SMTP id o16so19708398wra.4 for ; Tue, 21 Jun 2022 09:29:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=0a02vtvOJyNTFY7133IlGQQIxxLHKmXsMoft8Ak4eno=; b=e56fdWvL34k682AfGFb6bxFhH9yMh8UyDgM43cJZgpVd4UNqwqlGk98MxHbYrdlywI hWtf/ltlo4gB8tZSefdo0tnJHpmnuM9FJJYkIa/lQLEJZlm/MKF8rL6I0tFD02EVb0YR cnnxlw3STyfC1RAQY55s/GYIYyFgOI44fObgNzmMDjT0flnV6et1eHuqQfSMYFn9tHpr N53syIOm9oO1MtdE8xhW0MbUhfrSsn+kpsjRwc/LfvoykQqdYhJ823weeWWu+hx0rqTD LFfHr0pbyMS0VUHuiV1K200XyBg9eR9QKBZ64mhZLuRa/SBVITQG1b9yLRxFMCxWuuOT B1MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=0a02vtvOJyNTFY7133IlGQQIxxLHKmXsMoft8Ak4eno=; b=BTSSY01twqv/76V8ntlNu5unYaQixCtn6OWz6ssM34g5013JmEg9f182nWEwBaRO/w TAyhBEpUW5ocaXh1QXcGHGZvL5De54XIfBQU8yT+i2rYw2Iuo59vx5m/ZG8miqlAIi9K /VZwqEM0GBc8m0pT06jN3YzKgcyQ8lzTV2FEK1YU4g5tJK19z+5egMc9YnCJs4Ox6Z0N RePR+OkK96phLpiPzDoIc9gzzySZhwbDnQMglD8anpBRTmmOp76w2gFkg0HBysZrnz03 T3ycLn4JEJmxnsQmQ7caSmMvxoS5nboG0xCmd03HNAtmrVm1eNke1MPWLwN/pZ6gbLo9 yI9w== X-Gm-Message-State: AJIora9pmurmhPgjAwiev3PqMhG+1P962glpSIYLBeshi+nyt4TBLBJ0 oZ7tmtMJ0lYVCM+BjXV/KQwD9GFDH+LLJgiO8FUw0cFj5b85Og== X-Google-Smtp-Source: AGRyM1uwV6hEYsIdnzjgKiuSUhC3qMQk2HMoubeyw3m5JW4OztIKEDfynEHN4UZcFWUhtWWIZ5FTJt/D1Armiq8f6+Q= X-Received: by 2002:a5d:6d46:0:b0:21b:933d:7950 with SMTP id k6-20020a5d6d46000000b0021b933d7950mr8242706wri.679.1655828992190; Tue, 21 Jun 2022 09:29:52 -0700 (PDT) MIME-Version: 1.0 From: Sylvain Vasseur Date: Tue, 21 Jun 2022 17:29:38 +0100 Message-ID: Subject: poor performances with DPDK on a gcloud VM To: users@dpdk.org Content-Type: multipart/alternative; boundary="000000000000e36fc005e1f7ba61" 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 --000000000000e36fc005e1f7ba61 Content-Type: text/plain; charset="UTF-8" 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 --000000000000e36fc005e1f7ba61 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Did someone already manage to us= e DPDK on a GCP VM and have good performances? I am trying this configurati= on lately, have some awful bandwidth results and no idea what I could be do= ing wrong.

I use the VirtIO interfaces on my VMs, was able to use bo= th 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=3Dtxonly --stats-period 1<= br>
Any non-dpdk use of the network interface gives me way be= tter results (GBps!).

Device:
00:05.0 Ethernet = controller: Red Hat, Inc. Virtio network device

Bind status
Netwo= rk devices using DPDK-compatible driver
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D
0000:00:05.0 'Virtio network device 1000= ' drv=3Digb_uio unused=3Dvfio-pci

I would = bet I am doing something wrong, either with the PMD choice, or with some se= tting. But can't figure what. Did anyone manage to have good performanc= es or some experience of using DPDK on a google cloud VM?

Thanks in = advance
Sylvain
--000000000000e36fc005e1f7ba61--