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 7DF2243686; Mon, 11 Dec 2023 13:18:00 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 69C5D40E0F; Mon, 11 Dec 2023 13:18:00 +0100 (CET) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id C91D8402E9 for ; Mon, 11 Dec 2023 13:17:59 +0100 (CET) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 4EFDF5C01F6; Mon, 11 Dec 2023 07:17:59 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 11 Dec 2023 07:17:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1702297079; x= 1702383479; bh=Cvjn4pn3eIjf0s3ZtISH+x59O/4yl7oEOfvwO+Ujc0Q=; b=Z VurE6DerLdE4m6JwpGwejL4BP7NU7OBcmxk8fu/fW6h62dCNR9jDCNWEeV6x87Mn EvNEzJsotvjv5Y6l2CWA077qQiY4mhQX7rdoEedsMvxxC7+KqnDFZSXPhbphjOcV Mzl0P5BX8TV1tg2jr2S0QSpG2hprermaLXHVI5XiKylgXRtQiSRt+mN8l/NhI5YL JUO+aA+WcqsC7CL/9UzrGfthCled3YsCJbe6/kD+xGSbwEWA4b4KZEgdOYDSP2RO tJluOp9OVxZQj9+sckfrPL3WHwRDgs3novHHDA64sgl3yA4li0FggXyCLxytBxG/ 9A/F8hu5I9GtIfwgNNWuA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1702297079; x=1702383479; bh=Cvjn4pn3eIjf0 s3ZtISH+x59O/4yl7oEOfvwO+Ujc0Q=; b=PSTAlriy3MxRMt2O8ioyU0Y2tLFfC BjRn5zDwAHXK/QshjvfW92OsoQZQwc8Ji4ZCJqefmXDEenUWTqjiye0CoD/pirD8 YXBYsRAD/82H2g8kXabILODTWjLWsz+FnIWdg19EfGD3B0TMjQhTxn98k8GUwhxt J005rQqwcDZ9WySpNQhNnhZMGAbTrfoV8QQxH3jUQd86QFTr5BonaAayV1eLKn33 n2CL+1esR3FJ6EYzKzOZ2j/UcOskSC7zvsWyJhTPechJfnzq/BAumY7pHyMmzlBz yG4J8TkO1KG7ujj9tn81GAoO2LOh71a3Nopx0F15UlX2vcgnv4ncuCFWA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudelvddgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne goufhushhpvggtthffohhmrghinhculdegledmnecujfgurhepfffhvfevuffkfhggtggu jgesthdtredttddtvdenucfhrhhomhepjghurghnhhgrnhcunfhiuhcuoeihlhhiuhesfh hrihgurgihlhhinhhugidrohhrgheqnecuggftrfgrthhtvghrnhepvddtgffgtdejtdeh uedutdekgedujeeuudfhjefggfeftdehfeefvdelkeffvddvnecuffhomhgrihhnpehgih hthhhusgdrtghomhdpghhoohhglhgvrdgtohhmnecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhephihlihhusehfrhhiuggrhihlihhnuhigrdhorh hg X-ME-Proxy: Feedback-ID: ibfc945b4:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 11 Dec 2023 07:17:58 -0500 (EST) Date: Mon, 11 Dec 2023 20:17:54 +0800 From: Yuanhan Liu To: Jerin Jacob Kollanukkaran Cc: "libtpa@googlegroups.com" , "dev@dpdk.org" , Yuanhan Liu Subject: Re: [EXT] Libtpa: a DPDK based userspace TCP stack implementation Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Mon, Dec 11, 2023 at 11:32:16AM +0000, Jerin Jacob Kollanukkaran wrote: > > > > -----Original Message----- > > From: Yuanhan Liu > > Sent: Monday, December 11, 2023 3:27 PM > > To: libtpa@googlegroups.com > > Cc: dev@dpdk.org; Yuanhan Liu > > Subject: [EXT] Libtpa: a DPDK based userspace TCP stack implementation > > > > External Email > > > > ---------------------------------------------------------------------- > > Hi all, > > > > I'd like to share a new DPDK open source project, libtpa(Transport Protocol > > Acceleration)[0], which is just another userspace TCP stack implementation so > > far, written from scratch. > > > > I started this project 3 years ago, while I was searching for a feasible open > > source project with no luck. There were indeed quite a few options, but none of > > them actually met my needs. I then started writing one. Likely, there are still > > other guys out there looking for a high performance and stable userspace TCP > > stack. This is what this email and libtpa for. > > Great Yuanhan. > > If you have time and willing to put effort, I suggest make this part of dpdk code base > as new library (tcp or so) and leverage + improve another existing library such ip_frag. > > I believe, that is only way. > - This code soon won't soon outdated based on new DPDK version > - More community review and contributors > - More review and features from NIC vendors PoV. > - More arch and driver support. > - More quality Hi Jerin, Thanks for you suggestion and these really are good points! Although libtpa is currently designed as a libray, I doubt it would suit well as a new library to DPDK. Just taking the code base an example, libtpa so far is about 27K lines of code. The TCP part is only about 3K lines of code. All the rest are codes supporting the TCP part, such as sock tracing, mem file, mem file auto archive, etc. You can look more from the internals page (or even read the code ;) https://github.com/bytedance/libtpa/blob/main/doc/internals.rst Thanks, Yuanhan Liu > > Just my 2c. > > -- > You received this message because you are subscribed to the Google Groups "libtpa" group. > To unsubscribe from this group and stop receiving emails from it, send an email to libtpa+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/libtpa/BY3PR18MB478592AF236C7BBDB0285E3CC88FA%40BY3PR18MB4785.namprd18.prod.outlook.com. > For more options, visit https://groups.google.com/d/optout.