From 136c8c78b8d99dbb6fadb14413d974a96ede09b1 Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Tue, 24 Jul 2018 10:24:58 -0700 Subject: [PATCH] test/vtophys: reduce amount of memory requested There is no reason for this test to consume all of the huge pages on the system. 256MB is sufficient. Signed-off-by: Jim Harris Change-Id: Id1813f4ff6a1fdd1d65fdcc76f6919f6e73b988f Reviewed-on: https://review.gerrithub.io/420309 Chandler-Test-Pool: SPDK Automated Test System Tested-by: SPDK CI Jenkins Reviewed-by: Ben Walker Reviewed-by: Shuhei Matsumoto --- test/env/vtophys/vtophys.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/env/vtophys/vtophys.c b/test/env/vtophys/vtophys.c index fd6bba856..435c26d0e 100644 --- a/test/env/vtophys/vtophys.c +++ b/test/env/vtophys/vtophys.c @@ -155,6 +155,7 @@ main(int argc, char **argv) spdk_env_opts_init(&opts); opts.name = "vtophys"; opts.core_mask = "0x1"; + opts.mem_size = 256; if (spdk_env_init(&opts) < 0) { printf("Err: Unable to initialize SPDK env\n"); return 1;