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 58695A0542; Wed, 15 Jul 2020 11:59:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B7DA81BF7F; Wed, 15 Jul 2020 11:59:42 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 91E301BF7E for ; Wed, 15 Jul 2020 11:59:40 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 372D55C0167; Wed, 15 Jul 2020 05:59:40 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Wed, 15 Jul 2020 05:59:40 -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=fm1; bh= Sp3I3E2/jx9CdXMMqWNnydZ6M9ubAi8/UYE4fZwp3C4=; b=NFzXc4RUkmHS6rkK S1IVf3UXgv6b+8XlK3uDQkNdXmapoGCU4W72BKVH8huRJkZqKJWwx+uaIA67MI7M +qJKBv1mnbVdahC/wMeJYmkuiMssX2reQbpiz/w0ZmVM/2uwj9s+ixo8Q3X4DF69 WMIQS5aBPPZsIXYQw86v9O1fW/JYOts8/N97Dh1D+qQX7swMN195A10vD5Zmmjay yaag6r8GfvPw6m983lJUDseFhdS9AW20PfORYj89LYB+cDUudmelJS6DWniMA6Aw 0jthWew1vG9Luwin0TW3pEdta7X5IRVsEz4MnQkN7B+GmaNYAabsQ+Y92kAIowge NKwiUw== 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=fm3; bh=Sp3I3E2/jx9CdXMMqWNnydZ6M9ubAi8/UYE4fZwp3 C4=; b=Pme9tWPnh7KjIx1CynWAyoQNm+VB6DpZr2hNTCi/Vzx7jMsJtaYFkY0v/ FqWODahernLvuQNT190sLj+fJneWtEDsUwS0paotFVaXH36AEuMTawz2Zne7vcXA xtN+nzPtXAPd2SIsnvwacYNnruwhY6yFUv2qv/k8fgAu9N5rsvdMnObVEtbK5wY0 OV0ZupIXvLCML9I2aWyp/5M5wiWsHOp/dlltB0IHltq9T9NTLlXpP5Fxref+0RTi +texSNmKB30JHYR3PM9SrrviUAA687RFHxziibjvwjCYzYzdppvhZtvPcRDMxmy8 Gm+R3l1/iOSoxofbToygeFhRzcMzQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrfedvgddvhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpeffvdffjeeuteelfeeileduudeugfetjeelveefkeejfeeigeehteff vdekfeegudenucffohhmrghinhepughpughkrdhorhhgnecukfhppeejjedrudefgedrvd dtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght 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 C67F13060067; Wed, 15 Jul 2020 05:59:38 -0400 (EDT) From: Thomas Monjalon To: "Ananyev, Konstantin" Cc: "dev@dpdk.org" , "olivier.matz@6wind.com" , "arybchenko@solarflare.com" , "jielong.zjl@antfin.com" , "Eads, Gage" Date: Wed, 15 Jul 2020 11:59:37 +0200 Message-ID: <1788207.j1zkQJbEXe@thomas> In-Reply-To: References: <20200710162119.27653-1-konstantin.ananyev@intel.com> <43101277.Wr5N64qcEc@thomas> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v4 2/2] mempool/ring: add support for new ring sync modes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 14/07/2020 11:16, Ananyev, Konstantin: > > > > 13/07/2020 17:50, Konstantin Ananyev: > > > Two new sync modes were introduced into rte_ring: > > > relaxed tail sync (RTS) and head/tail sync (HTS). > > > This change provides user with ability to select these > > > modes for ring based mempool via mempool ops API. > > > > > > Signed-off-by: Konstantin Ananyev > > > Acked-by: Gage Eads > > > --- > > > --- a/doc/guides/mempool/ring.rst > > > +++ b/doc/guides/mempool/ring.rst > > > @@ -29,6 +29,16 @@ and can be selected via mempool ops API: > > > Underlying **rte_ring** operates in multi-thread producer, > > > single-thread consumer sync mode. > > > > > > +- ``ring_mt_rts`` > > > + > > > + For underlying **rte_ring** both producer and consumer operate in > > > + multi-thread Relaxed Tail Sync (RTS) mode. > > > + > > > +- ``ring_mt_hts`` > > > + > > > + For underlying **rte_ring** both producer and consumer operate in > > > + multi-thread Haad-Tail Sync (HTS) mode. > > > > Typo Haad -> Head > > Will fix. > > > > > Please explain what these modes mean and why/when use them. > > > > We have quite detailed explanation in ring library guide: > https://doc.dpdk.org/guides/prog_guide/ring_lib.html > 7.6. Producer/consumer synchronization modes > So here, I put a link to ring library guide for those who need more details. > I can copy&paste same text here too, > but it probably not much point in such duplication. Do not duplicate. Please add a direct link to the section: https://doc.dpdk.org/guides/prog_guide/ring_lib.html#mp-rts-mc-rts >From a user perspective, I was looking for recommendation about which mode is preferred in which case. Maybe few words about what is an "overcommitted systems"?