From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id A964EA0471 for ; Fri, 21 Jun 2019 17:09:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 07A251D550; Fri, 21 Jun 2019 17:09:04 +0200 (CEST) Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by dpdk.org (Postfix) with ESMTP id 9142A1D54D for ; Fri, 21 Jun 2019 17:09:02 +0200 (CEST) Received: by mail-pf1-f194.google.com with SMTP id q10so3748901pff.9 for ; Fri, 21 Jun 2019 08:09:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4UM14AhZFcRK+5lQpavSmNttzAgsr+a52ILV48c+Ueg=; b=KepjrYfyVIWLFZ4UGohvtZiEz2tGeuasU0W6ou3WL1nOJcDjvodgXMFvPVpcZZr2fe fQZzCf0Y+Y/G9G5Y5MS4oM7AXOHnEQfU4H80DYPXN2njTBtGdbXESW+V+8ITTB3/WeRK 7VaKS3eQAxboTrx0eI8c/NIl7ZCRMIC/K7IPIHNqNMF5DpDNMPB23ShJ1mNWlt8s7TVT s2r8mCNjGQQp0VRpfXpOnnFz2GIMvHjJzfttJwJSYr7LHf1p6vTQnLpDTNApdAOde8J2 bTZYbxv1+EFES6TVAo5b8CAv68fQy3qPGpj36iy2jr8kwed9V2aAFRNTCh5roseJI4Lj aCmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4UM14AhZFcRK+5lQpavSmNttzAgsr+a52ILV48c+Ueg=; b=PCMsxFP+bIHjVAvTUdH3ZfUW+ZFo6MM1Ne8v//lI0jpWSb5qh8KJt+gBzaKMpjRWZY oOic7ZZqHvMIZ82ilh+94AM7+frRk9To1yQRfB221fMkELY2AgBaTHM1uT8MZIH5JwKx TXbewc0E3mzkAQK0PeZ0yPvvFicFZYTz7clMpMEk/eP1VHucOE7+50b3p49eGWV8tmZB 25w9OmlpB/bnv/V5UEN0xNp5LCG1LjNlDx8kByKyhB2eU7cHcoaueMv3nWL5zQ12UI+8 AXOvHw53fahJnwjIoJjzOuMFDtHnH93+gFGXfK1Kd6d5H5KA7xUe4JrvZHLd3Hs/iR5a ChxQ== X-Gm-Message-State: APjAAAUiTthdO9AHnIsHPo4oG8VjHeq6FnQjWRVksSXgeuREj8YRPlDq aJC2CmO68AS+FFjUUkolVPH21A== X-Google-Smtp-Source: APXvYqxz/ocEqifxgKcuQeL8lqDcp7eV0ORCUmhVgrgtUHsdUnfRUHyrWuupp/XwbD/pHXaLhbEghQ== X-Received: by 2002:a63:3d09:: with SMTP id k9mr13234389pga.321.1561129741462; Fri, 21 Jun 2019 08:09:01 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id t24sm3098569pfh.113.2019.06.21.08.09.01 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 21 Jun 2019 08:09:01 -0700 (PDT) Date: Fri, 21 Jun 2019 08:08:53 -0700 From: Stephen Hemminger To: abrahamgv@students.itb.ac.id Cc: users@dpdk.org Message-ID: <20190621080853.63b0ac72@hermes.lan> In-Reply-To: <1907574011.276718.1561123881335.JavaMail.zimbra@students.itb.ac.id> References: <1907574011.276718.1561123881335.JavaMail.zimbra@students.itb.ac.id> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] DPDK on 1Gbps NIC X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" On Fri, 21 Jun 2019 20:31:21 +0700 (WIB) abrahamgv@students.itb.ac.id wrote: > So I recently try to implement physical OvS-DPDK with Intel NIC (1Gbps). Then, I compared the performance between native OvS and OvS-DPDK. I found out that there is not much difference in the performance, I also tried changing the packet size (range from 64B - 1500B) and the result: OvS-DPDK is 1.05~1.3x higher than native OvS. Meanwhile, Intel performance report (this is one of them: https://download.01.org/packet-processing/ONPS2.1/Intel_ONP_Release_2.1_Performance_Test_Report_Rev1.0.pdf ) stated that OvS-DPDK performance is 10~12x higher than native OvS (in the link given, it is on section 7.2.1: PHY-OVS-PHY). > > The difference between "my OvS" and "Intel OvS" is Intel used 10Gbps NIC (and even try to reach 40Gbps by using 4x10Gbps NIC), instead of me that just used 1Gbps NIC. So here is my question: > > 1) Is DPDK performance-gain more likely to happen with higher speed NIC, such as 10Gbps NIC rather than 1Gbps or 100 Mbps NIC? > 2) And to prove the question above, is there any performance report regarding OvS-DPDK vs native-OvS with 1Gbps or 100 Mbps NIC? > > Thank you, > > Abraham A 1Gbit NIC is slow enough that CPU can keep up, so polling like DPDK doesn't really help. The standard Linux kernel GRO also helps and can keep up at those speeds. Summary: There really is no performance benefit expected with DPDK with fast cpu's at 1Gbit or less.