From: Olivier Matz Date: Mon, 12 Sep 2016 11:38:49 +0000 (+0200) Subject: app/test: decrease memory requirements for sched X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1c03be3c61372541e706c415022b1b52566ff913;p=dpdk.git app/test: decrease memory requirements for sched The sched test consumes 35MB memory. When memory is too fragmented (with 2M hugepages), the test can fail. To reduce this risk, decrease it to 4.5MB by modifying n_pipes_per_subport and qsize. Signed-off-by: Olivier Matz Acked-by: Cristian Dumitrescu --- diff --git a/app/test/test_sched.c b/app/test/test_sched.c index 63ab084f52..bd2776d38e 100644 --- a/app/test/test_sched.c +++ b/app/test/test_sched.c @@ -79,8 +79,8 @@ static struct rte_sched_port_params port_param = { .mtu = 1522, .frame_overhead = RTE_SCHED_FRAME_OVERHEAD_DEFAULT, .n_subports_per_port = 1, - .n_pipes_per_subport = 4096, - .qsize = {64, 64, 64, 64}, + .n_pipes_per_subport = 1024, + .qsize = {32, 32, 32, 32}, .pipe_profiles = pipe_profile, .n_pipe_profiles = 1, };