summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo de Lara <pablo.de.lara.guarch@intel.com>2014-12-09 10:11:12 +0000
committerThomas Monjalon <thomas.monjalon@6wind.com>2014-12-11 01:42:03 +0100
commit2ed44e38fa1be16e093fc06e3800bbaf9c2b7388 (patch)
treeb33c9ca1014bf2907bb0b44b23bf84039b273263
parentc062d3eb71e1a0026256d651d1ff7fcbbc03a2e5 (diff)
downloaddpdk-2ed44e38fa1be16e093fc06e3800bbaf9c2b7388.zip
dpdk-2ed44e38fa1be16e093fc06e3800bbaf9c2b7388.tar.gz
dpdk-2ed44e38fa1be16e093fc06e3800bbaf9c2b7388.tar.xz
app/test: fix memory needs
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. 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 <pablo.de.lara.guarch@intel.com>
-rw-r--r--app/test/test_eal_flags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/test/test_eal_flags.c b/app/test/test_eal_flags.c
index 6e2a8f2..0a8269c 100644
--- a/app/test/test_eal_flags.c
+++ b/app/test/test_eal_flags.c
@@ -55,7 +55,7 @@
#ifdef RTE_LIBRTE_XEN_DOM0
#define DEFAULT_MEM_SIZE "30"
#else
-#define DEFAULT_MEM_SIZE "8"
+#define DEFAULT_MEM_SIZE "18"
#endif
#define mp_flag "--proc-type=secondary"
#define no_hpet "--no-hpet"