From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by dpdk.org (Postfix) with ESMTP id 813B6DE0 for ; Wed, 10 Dec 2014 15:41:22 +0100 (CET) Received: by mail-wi0-f179.google.com with SMTP id ex7so5417120wid.0 for ; Wed, 10 Dec 2014 06:41:22 -0800 (PST) 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=uQzcSOmf6twF715nOaYnXDOSEWu7XV6XnS3g5YgUGto=; b=aWGobg6C/AIph3+gGNBMVHD98z9eLbqXRemkque1No0+fIELGe/0W0/xTNyL9tDenl T/6jEh1jHBO6Xyq4vu1/7ACUI8eH1g+C3j/xe1VkEZZqNlblEK+7cA0dNc27q2/R8npJ Ij4oD+NoIPR5YfslOqefWzey1rV9pCwhrsCM0mFrWlrHdQ8CLUajAw2kJxtdj+YyZ4Ge W0ASPHyOQpR6SGj26wn6IvOJLuyxhvhcg+OiP7/Zn6nfY5dP5U1pjUgcgeMGq5ucBHRC W6GcWRoEJGyqli7sHnhmJpWn7Vb9Pz84OzTUQtzhTBwZblzr5QRP8zpHh7m3P+BWVxll cJ0Q== X-Gm-Message-State: ALoCoQnTmcq2XiQUsRpAxrG/9srezSt4lCgbFOLHtlHdLTUkRfRpvzwHECoDvTGXCytjREoa5L72 X-Received: by 10.180.94.230 with SMTP id df6mr14117885wib.25.1418222482281; Wed, 10 Dec 2014 06:41:22 -0800 (PST) Received: from xps13.localnet ([78.188.139.117]) by mx.google.com with ESMTPSA id gl5sm18167415wib.0.2014.12.10.06.41.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 10 Dec 2014 06:41:21 -0800 (PST) From: Thomas Monjalon To: Pablo de Lara Date: Wed, 10 Dec 2014 15:40:55 +0100 Message-ID: <1437499.n9ubl6fXCh@xps13> Organization: 6WIND User-Agent: KMail/4.14.3 (Linux/3.17.4-1-ARCH; KDE/4.14.3; x86_64; ; ) In-Reply-To: <1418119872-15335-1-git-send-email-pablo.de.lara.guarch@intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2] app/test: fix memory needs after RTE_MAX_LCORE was increased to 128 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: Wed, 10 Dec 2014 14:41:22 -0000 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