[dpdk-dev] app/test: increase memory allocated for greedy autotests

Message ID 1468948913-23533-1-git-send-email-thomas.monjalon@6wind.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Thomas Monjalon July 19, 2016, 5:21 p.m. UTC
  The autotest lists, requirements and distribution needs a big rework
to reduce the amount of cores and memory required.
The root cause is not addressed yet.

This patch just increase some memory allocation for some greedy tests
which often fail because of memory fragmentation:
LPM6 and reentrancy tests in groups 3 and 6 respectively.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
 app/test/autotest_data.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Olivier Matz July 21, 2016, 9:07 a.m. UTC | #1
On 07/19/2016 07:21 PM, Thomas Monjalon wrote:
> The autotest lists, requirements and distribution needs a big rework
> to reduce the amount of cores and memory required.
> The root cause is not addressed yet.
> 
> This patch just increase some memory allocation for some greedy tests
> which often fail because of memory fragmentation:
> LPM6 and reentrancy tests in groups 3 and 6 respectively.
> 
> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>

Tested-by: Olivier Matz <olivier.matz@6wind.com>
  
Thomas Monjalon July 21, 2016, 10:01 p.m. UTC | #2
2016-07-21 11:07, Olivier Matz:
> On 07/19/2016 07:21 PM, Thomas Monjalon wrote:
> > The autotest lists, requirements and distribution needs a big rework
> > to reduce the amount of cores and memory required.
> > The root cause is not addressed yet.
> > 
> > This patch just increase some memory allocation for some greedy tests
> > which often fail because of memory fragmentation:
> > LPM6 and reentrancy tests in groups 3 and 6 respectively.
> > 
> > Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
> 
> Tested-by: Olivier Matz <olivier.matz@6wind.com>

Applied, thanks
  

Patch

diff --git a/app/test/autotest_data.py b/app/test/autotest_data.py
index c69705e..defd46e 100644
--- a/app/test/autotest_data.py
+++ b/app/test/autotest_data.py
@@ -158,7 +158,7 @@  parallel_test_group_list = [
 },
 {
 	"Prefix":	"group_3",
-	"Memory" :	per_sockets(390),
+	"Memory" :	per_sockets(512),
 	"Tests" :
 	[
 		{
@@ -287,7 +287,7 @@  parallel_test_group_list = [
 },
 {
 	"Prefix":	"group_6",
-	"Memory" :	per_sockets(128),
+	"Memory" :	per_sockets(512),
 	"Tests" :
 	[
 		{