Skip to content

Commit c37b9de

Browse files
acervmetan-ucw
authored andcommitted
Reduce default children in dio_read test
We reduce default children from 100 to 8 in order to reduce time execution and memory footprint consuption when using default values. Signed-off-by: Andrea Cervesato <[email protected]> Reviewed-by: Petr Vorel <[email protected]> Acked-by: Martin Doucha <[email protected]> Reviewed-by: Cyril Hrubis <[email protected]>
1 parent 759a167 commit c37b9de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testcases/kernel/io/ltp-aiodio/dio_read.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ static char *str_readsize;
2626
static char *str_filesize;
2727

2828
static char *filename = "file.bin";
29-
static int numchildren = 100;
29+
static int numchildren = 8;
3030
static long long writesize = 32 * 1024 * 1024;
3131
static long long readsize = 32 * 1024 * 1024;
3232
static long long filesize = 128 * 1024 * 1024;
@@ -171,7 +171,7 @@ static struct tst_test test = {
171171
.needs_tmpdir = 1,
172172
.forks_child = 1,
173173
.options = (struct tst_option[]) {
174-
{"n:", &str_numchildren, "Number of threads (default 100)"},
174+
{"n:", &str_numchildren, "Number of threads (default 8)"},
175175
{"w:", &str_writesize, "Size of writing blocks (default 32M)"},
176176
{"r:", &str_readsize, "Size of reading blocks (default 32M)"},
177177
{"s:", &str_filesize, "File size (default 128M)"},

0 commit comments

Comments
 (0)