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 3CEE3A00C5 for ; Mon, 26 Dec 2022 14:07:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B73CB4114B; Mon, 26 Dec 2022 14:07:56 +0100 (CET) Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) by mails.dpdk.org (Postfix) with ESMTP id 7484940E2D for ; Mon, 26 Dec 2022 14:07:55 +0100 (CET) Received: by mail-lf1-f54.google.com with SMTP id z26so15887336lfu.8 for ; Mon, 26 Dec 2022 05:07:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=IxdkI2jdyU4lQ8IvwLYZKmjU7Pcy9NcALusmHVWl5jA=; b=FYRxg66v3bw1SFwxKftrxZDE0fPJzoHFVKcZ0gU5jP6s8Wvwt2Am1GKNiEp0CG7Xo0 sFGQa3AQBClnwIHKViIulPDZvBU+6fpTJQN6e15UZQPOdBgqODSQaZEX1/BUhCsfXX3x NeTX84B1PSj4oyWefJ8xL2kn4DawM6c9C3rIMCgma5HaLOTR7NP6GKz7ciYhIPf3l39C Xm4iZ2bgkqgCV3y15JZMDHk/VNIEV7Mbb4pvgJ3ymBPJhI4Q9TnYprdxWA8yo7uFs2+a zc95/TU0HbPhg+JpWdXhUHncCLfTTKEg0gC4CY8/emtzE9dEiDwBziYZZ6s8rQpU5z7O v8kg== 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=IxdkI2jdyU4lQ8IvwLYZKmjU7Pcy9NcALusmHVWl5jA=; b=D3KHHUfaPpxmLfbdrqAvoHvI1yTRa7qRqMnzSTIZAyQbq7RoeY1cT0kGsTu7pDp2dA PTz1JBsW1TM8MCGaMArjLsCvUEobRrGf3GFN/nzPrJfY4okYhSfscEOMkJ44WK1w4+aT xtGaYWt3J47TGc1moKeZXiyyoF79/2jCTqeO6aJt1WnX/2JTP2rpdCMK0Na2VRoul7vg Tw3wzFIXD6HnhzZLt6ZE2g9NUYxFiwZxPqg6eev6hNG2JQADkYwRYjC7CQpXR6ArYKb9 4OpK5Qkf9e5JCsQSdW712y8gm0pjVTPh0qlDJlChWn0OqwPPfFMdBf1Cd3gXnL519EVw /ZHg== X-Gm-Message-State: AFqh2kpIyDwCptVzyY1HuxrR4nLXuZh9v9TRjzdfmso07BEhPIqhGd6q Ir9mk+Fmz0gFG2vgf6op8N8= X-Google-Smtp-Source: AMrXdXtS26dp7IawNUsS3x4OImudXuiJ33xaIfbcFdbOfBpCODAsE/IuT303I4vZ2vzd+TiNOKbKug== X-Received: by 2002:ac2:46f8:0:b0:4b5:9ec5:dbed with SMTP id q24-20020ac246f8000000b004b59ec5dbedmr5834944lfo.40.1672060074695; Mon, 26 Dec 2022 05:07:54 -0800 (PST) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id v21-20020ac258f5000000b004cb09fd48ebsm331553lfo.149.2022.12.26.05.07.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Dec 2022 05:07:53 -0800 (PST) Date: Mon, 26 Dec 2022 16:07:53 +0300 From: Dmitry Kozlyuk To: "Ruslan R. Laishev" Cc: "users@dpdk.org" Subject: Re: Performance "problem" or how to get power of the DPDK Message-ID: <20221226160753.11db04bb@sovereign> In-Reply-To: <207831672055161@mail.yandex.ru> References: <207831672055161@mail.yandex.ru> X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 Hi, 2022-12-26 15:20 (UTC+0300), Ruslan R. Laishev: > I studying programming with DPDK SDK . So I write a small app to send/rec= eive packets , now I testing it and see next situation: > iperf3 show =C2=A09,4 - 9,7 Gbps on TCP > =C2=A0 > my app can *send* only at 4+Gbps (I see counters in the rte_eth_stats)=C2= =A0. =C2=A0I have tried to speed-up my app by: > - =C2=A0using 1+ number of TX queues (device claim support 64) > - =C2=A0increase size of burst from 32 up to 128 =C2=A0 > - turn off any offloads related to checksumming > =C2=A0 > No effect. Please tell more about what your app does and how (w.r.t. DPDK usage). Are you sure that all cores are loaded? E.g. if you send identical packets, RSS can steer them all to a single queue and thus a single core. What performance do you see using testpmd with txonly/rxonly forward mode, if applicable? What is the packet performance, i.e. Mpps, not Gbps, and packet size? Unless you do TCP payload processing (or compute large payload checksums), packets per second usually matter rather than bits per second.