From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] app/test: fix memory needs after RTE_MAX_LCORE was increased to 128 Date: Wed, 10 Dec 2014 15:40:55 +0100 Message-ID: <1437499.n9ubl6fXCh@xps13> References: <1417696834-21354-1-git-send-email-pablo.de.lara.guarch@intel.com> <1418119872-15335-1-git-send-email-pablo.de.lara.guarch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Pablo de Lara Return-path: In-Reply-To: <1418119872-15335-1-git-send-email-pablo.de.lara.guarch-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 2014-12-09 10:11, Pablo de Lara: > Since commit b91c67e5a693211862aa7dc3b78630b4e856c2af, > maximum number of cores is 128, which has increase > the total memory necessary for a rte_mempool structure, > as the per-lcore local cache has been doubled in size. > Therefore, eal_flags unit test was broken since it needed > to use more hugepages. > > Changes in v2: Increased memory to 18MB, as that is the > actual minimum memory necessary (depending on the physical memory segments, > DPDK may need less memory) > > Signed-off-by: Pablo de Lara Independently of RTE_MAX_LCORE being increased to 128, I still have some problems with test_invalid_vdev_flag(). First, DEFAULT_MEM_SIZE is not used in this function. Also, even with your patch, I get this error in my VM: Cannot get hugepage information But if this patch solves an issue for you, I guess it should be applied. That said, I would appreciate a complete description of the commands you use to launch this test in a VM (starting with the Qemu command). Thanks -- Thomas