From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E5E17A0597 for ; Thu, 9 Apr 2020 22:58:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 523B11C257; Thu, 9 Apr 2020 22:58:22 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by dpdk.org (Postfix) with ESMTP id 5CD4D1C24B for ; Thu, 9 Apr 2020 22:58:20 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id C8B9B568; Thu, 9 Apr 2020 16:58:17 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Thu, 09 Apr 2020 16:58:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=Fn/6cNlMwWoxqAuzOxKw3FhdmvOnsfnYJn3HUvb71R0=; b=Fog+jI7IVtcv jCCZQjoguilpAG3wzM88jtLX5UOnvaBOzj82ZNlw6sZzuw9tRtDNBWL6FkOBJ6GB v4HAs4kXoku4OTAXwYQgo8njALZJrY865R2uNdyXpB9uiM3WdUS7E1V7yVCfmc1b x167Il/bKrlFKrv6y88E1juOSJDvLgA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=Fn/6cNlMwWoxqAuzOxKw3FhdmvOnsfnYJn3HUvb71 R0=; b=O6uw38wE+7dC78Dan+N+0rURBY0MLEul0NUvpjD1pMRZEaqT8G7/Du0Xx evuFhaAD518tt1TGVDQCvPPacGMv2X0ljsvhSGXxgS2/VT4pHEk2gJZ2d+5UpdQM vhC//hHYzcSifaJ1XmLbtH+mnojaAyNyAT7scJcTHERom2EsT9W50vdoxVXRI7e7 Hcb2NSrmeTwL0mOTyCu7jaeElNM21M494Wr//NRp7A8e34glxYu4iA011WvYRtLV qWz6XtlBOpM5l9mJMDzwzebi6lD1eMXZfryjsMxEikblN6xPXfJvJwGJN+5oSaI2 LoZxA1L5a5pmYc6A54a6nNRKzmsng== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrvddtgddtiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucfkph epjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr rghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 3638B3060060; Thu, 9 Apr 2020 16:58:16 -0400 (EDT) From: Thomas Monjalon To: Shyam Shrivastav , Cristofer Martins Cc: users@dpdk.org, Stephen Hemminger Date: Thu, 09 Apr 2020 22:58:12 +0200 Message-ID: <2121009.ZfL8zNpBrT@thomas> In-Reply-To: <20200409083236.08573753@hermes.lan> References: <20200409083236.08573753@hermes.lan> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-users] General Questions 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" 09/04/2020 17:32, Stephen Hemminger: > On Thu, 9 Apr 2020 20:57:19 +0530 > Shyam Shrivastav wrote: > > > From my experience as dpdk user > > > > On Thu, Apr 9, 2020 at 11:41 AM Cristofer Martins < > > CristoferMartins@hotmail.com> wrote: > > > > > Well the reason i thought about using dpdk(together with a user space tcp > > > stack) is because my tcp code spend so much time with syscalls that > > > removing that would allow better throughput and latency. Is this a valid > > > reason? My software runs in single core(and most of time in cheap vps) so i > > > want to extract the best i can from them. > > > > > > > Yes using dpdk instead of getting packets from kernel stack increases > > performance > > > > > > > > > The other question is, can dpdk runs alongside with the linux network > > > stack? I want to use dpdk in my special app but i still want to have ssh > > > and apps working as expected without any modification. > > > > > Interface used by dpdk is not available, at least another interface > > required for management/access & other network apps > > > > > > > > > > > > Thanks in advance. > > > > > This might be a good use case for AF_XDP with or without DPDK AF_XDP helps to use a device both with Linux stack and userland application. This capability is what we call the bifurcated model. The Mellanox drivers are also using a bifurcated model: the same device can send some packet flows to the kernel interface, and other (configured) packet flows to the DPDK interface.