Message ID | 1476887413-15272-1-git-send-email-christophe.milard@linaro.org |
---|---|
State | New |
Headers | show |
Reviewed-and-tested-by: Matias Elo <matias.elo@nokia.com> > -----Original Message----- > From: Christophe Milard [mailto:christophe.milard@linaro.org] > Sent: Wednesday, October 19, 2016 5:30 PM > To: bill.fischofer@linaro.org; Elo, Matias (Nokia - FI/Espoo) <matias.elo@nokia- > bell-labs.com>; lng-odp@lists.linaro.org > Cc: Christophe Milard <christophe.milard@linaro.org> > Subject: [API-NEXT PATCH] test: drv: shm: decrease test memory requirement > > The memory consumption is proporsional to the number of ODP threads > available. The test failed on systems with large number of CPU, due > to outage ot pre-allocaed address space. This patch shrinks the test > requirement. > > Signed-off-by: Christophe Milard <christophe.milard@linaro.org> > --- > test/common_plat/validation/drv/drvshmem/drvshmem.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/test/common_plat/validation/drv/drvshmem/drvshmem.c > b/test/common_plat/validation/drv/drvshmem/drvshmem.c > index 5e6d2e5..559c55d 100644 > --- a/test/common_plat/validation/drv/drvshmem/drvshmem.c > +++ b/test/common_plat/validation/drv/drvshmem/drvshmem.c > @@ -16,7 +16,7 @@ > #define TEST_SHARE_BAR (0xf0f0f0f) > #define SMALL_MEM 10 > #define MEDIUM_MEM 4096 > -#define BIG_MEM 16777216 > +#define BIG_MEM 65536 > #define STRESS_SIZE 32 /* power of 2 and <=256 */ > #define STRESS_RANDOM_SZ 5 > #define STRESS_ITERATION 5000 > -- > 2.7.4
Merged, Maxim. On 10/21/16 11:21, Elo, Matias (Nokia - FI/Espoo) wrote: > Reviewed-and-tested-by: Matias Elo <matias.elo@nokia.com> > >> -----Original Message----- >> From: Christophe Milard [mailto:christophe.milard@linaro.org] >> Sent: Wednesday, October 19, 2016 5:30 PM >> To: bill.fischofer@linaro.org; Elo, Matias (Nokia - FI/Espoo) <matias.elo@nokia- >> bell-labs.com>; lng-odp@lists.linaro.org >> Cc: Christophe Milard <christophe.milard@linaro.org> >> Subject: [API-NEXT PATCH] test: drv: shm: decrease test memory requirement >> >> The memory consumption is proporsional to the number of ODP threads >> available. The test failed on systems with large number of CPU, due >> to outage ot pre-allocaed address space. This patch shrinks the test >> requirement. >> >> Signed-off-by: Christophe Milard <christophe.milard@linaro.org> >> --- >> test/common_plat/validation/drv/drvshmem/drvshmem.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/test/common_plat/validation/drv/drvshmem/drvshmem.c >> b/test/common_plat/validation/drv/drvshmem/drvshmem.c >> index 5e6d2e5..559c55d 100644 >> --- a/test/common_plat/validation/drv/drvshmem/drvshmem.c >> +++ b/test/common_plat/validation/drv/drvshmem/drvshmem.c >> @@ -16,7 +16,7 @@ >> #define TEST_SHARE_BAR (0xf0f0f0f) >> #define SMALL_MEM 10 >> #define MEDIUM_MEM 4096 >> -#define BIG_MEM 16777216 >> +#define BIG_MEM 65536 >> #define STRESS_SIZE 32 /* power of 2 and <=256 */ >> #define STRESS_RANDOM_SZ 5 >> #define STRESS_ITERATION 5000 >> -- >> 2.7.4
diff --git a/test/common_plat/validation/drv/drvshmem/drvshmem.c b/test/common_plat/validation/drv/drvshmem/drvshmem.c index 5e6d2e5..559c55d 100644 --- a/test/common_plat/validation/drv/drvshmem/drvshmem.c +++ b/test/common_plat/validation/drv/drvshmem/drvshmem.c @@ -16,7 +16,7 @@ #define TEST_SHARE_BAR (0xf0f0f0f) #define SMALL_MEM 10 #define MEDIUM_MEM 4096 -#define BIG_MEM 16777216 +#define BIG_MEM 65536 #define STRESS_SIZE 32 /* power of 2 and <=256 */ #define STRESS_RANDOM_SZ 5 #define STRESS_ITERATION 5000
The memory consumption is proporsional to the number of ODP threads available. The test failed on systems with large number of CPU, due to outage ot pre-allocaed address space. This patch shrinks the test requirement. Signed-off-by: Christophe Milard <christophe.milard@linaro.org> --- test/common_plat/validation/drv/drvshmem/drvshmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4