From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id 56AA74A63 for ; Sun, 2 Aug 2015 23:27:48 +0200 (CEST) Received: by wicgj17 with SMTP id gj17so80495527wic.1 for ; Sun, 02 Aug 2015 14:27:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=okTKBU5mCpkk1xpDIbg2mbYIGqTicWWsadeAP1PNr4s=; b=RUe7ia+8+ak+T0vaoqIdf5V/6kz3cFwo3Mit3Gp8ExhYStwcXvBf45M5zSucJZPpY/ 1gxWoZijyn8Ag1gvr5fu7OF+BUKCF8de2duBWMOQg6zLkmQmHzONSOB63Et8Vc8Rv9sU M5Jzt+eJHt722WO1eEIV/Dm9Z7SVko2pzgCsYOVizTZVjxcIqWviVC2EaOFOQiDBxgqe PSmiJtr4BIMWFpOZgs8MGfoFLYZ4SRyXAiTE+hOYjildzboNnSiDZrd0Eh70E+XFCfTR BgXtCC4Jv0t32HD8SqX4UPl9M1lLnhtsrJlvlQdHwI06pF0BTFueafWhexBkpGD2O1Yy lEaw== X-Gm-Message-State: ALoCoQmsoW5wGbsL1HS1OVU9WCG1muZrph7ZkntlEaAGMV3v+V1ff6WSTMMaYGuKn496GTPq1IFj X-Received: by 10.194.178.99 with SMTP id cx3mr26593829wjc.33.1438550868259; Sun, 02 Aug 2015 14:27:48 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id fz16sm10075442wic.3.2015.08.02.14.27.46 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Aug 2015 14:27:46 -0700 (PDT) From: Thomas Monjalon To: Yong Liu Date: Sun, 02 Aug 2015 23:26:32 +0200 Message-ID: <3134557.VXyn7jiyUM@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1438140121-9011-1-git-send-email-yong.liu@intel.com> References: <1438140121-9011-1-git-send-email-yong.liu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] app test: fix mempool cache_size not match limited cache_size X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2015 21:27:48 -0000 2015-07-29 11:22, Yong Liu: > In previous setting, mempool size and cache_size are both 32. > This is not satisfied with cache_size checking rule by now. > Cache size should less than CONFIG_RTE_MEMPOOL_CACHE_MAX_SIZE and mempool size / 1.5. Sorry I don't really understand this explanation. > #define NB_MBUF 32 > #define MBUF_DATA_SZ (2048 + RTE_PKTMBUF_HEADROOM) > -#define PKT_BURST_SZ 32 > +#define PKT_BURST_SZ 0 > #define MEMPOOL_CACHE_SZ PKT_BURST_SZ Shouldn't be MEMPOOL_CACHE_SZ to set to 0?