From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id B0160BD34 for ; Fri, 13 Jan 2017 16:23:31 +0100 (CET) Received: by mail-wm0-f53.google.com with SMTP id r126so69679641wmr.0 for ; Fri, 13 Jan 2017 07:23:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FzQzQrR+0Fb33sUk1bFe0qtd0GLbBVtrVw8thGP5bko=; b=eVb1hiciBbHeTG3sVsDMv9/ZsIe419YFbYjm0OGUJl0MdMvPThyz/nQ9Fj8Iacs/64 w9p18xsgnJBWw5ahaouKUeZEaDxH1yTV+gjUxlGJgwpigonWwEmhavNE1mL+4/5YRUz+ Ul6+uklcVGxYAPCxrPs335GSCplBBvvTEu9ASgT6/cK0m/4CY3eWpEOL3GB96hOkAYUx +IVMfrPXKYqcLlXOje2dP0B9imaRaBiPi3EhGeYtsyXpjSYzMyx3WgPrCaqELqB5oHSo haNcW2Zp9PKk6uzEPjUG3MaUM2qKZpRR+BUxXzuTfUcoc4BT/53iucQRUlZfv75t5BNn yjoQ== 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=FzQzQrR+0Fb33sUk1bFe0qtd0GLbBVtrVw8thGP5bko=; b=HqfjqdwjHj9qPBYpglLTR+T7qqzSG290shCd3yZJbYqgrEoINqmAECTrtsFx5awy6d LRHtoA04gyiUoTJMLNXdJ/1qplbOu/kCnEUuIGDg7zZ9Zu+b6tlfI9XNUQhJxJ/kGVE4 wkrNxDowa8E7oflYgKdGxsq329HZElkDXmCsZVGdxru5cTOhlXoVjRh6bQ4LYi065OZs oqOrNEk2JXOON01ZaLs/v4CwHSEFIShgE79LWeWsYyqq5bZOmpr9PhqCfM0gGLb4fTyp RDLOWsBf7k+uqT/b1J1A1slbzTCqEjODDNP5eiTnsWUi8OMR+AWxnHnvmIdG/ZCxNFvd vQxQ== X-Gm-Message-State: AIkVDXJtiFXkNlF7zltqvmwlCDoxUOTh+crUo5+Ojzy7AGwnaC3I2jOX1VyjNQG0GHkkayD6 X-Received: by 10.28.214.144 with SMTP id n138mr694198wmg.136.1484321011298; Fri, 13 Jan 2017 07:23:31 -0800 (PST) Received: from platinum (2a01cb0c03c651000226b0fffeed02fc.ipv6.abo.wanadoo.fr. [2a01:cb0c:3c6:5100:226:b0ff:feed:2fc]) by smtp.gmail.com with ESMTPSA id e14sm4937233wmd.14.2017.01.13.07.23.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jan 2017 07:23:31 -0800 (PST) Date: Fri, 13 Jan 2017 16:23:27 +0100 From: Olivier Matz To: Wenfeng Liu Cc: , Message-ID: <20170113162327.467538f9@platinum> In-Reply-To: <1484101528-8144-1-git-send-email-liuwf@arraynetworks.com.cn> References: <1484036802-3031-1-git-send-email-liuwf@arraynetworks.com.cn> <1484101528-8144-1-git-send-email-liuwf@arraynetworks.com.cn> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v4] mempool: use cache in single producer or consumer mode 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: , X-List-Received-Date: Fri, 13 Jan 2017 15:23:31 -0000 On Wed, 11 Jan 2017 02:25:28 +0000, Wenfeng Liu wrote: > Currently we will check mempool flags when we put/get objects from > mempool. However, this makes cache useless when mempool is SC|SP, > SC|MP, MC|SP cases. > This patch makes cache available in above cases and improves > performance. > > Signed-off-by: Wenfeng Liu Acked-by: Olivier Matz