From 55f3f20e3b90e81210970b5362b74f5d5e88f915 Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Tue, 3 Nov 2015 13:39:25 -0700 Subject: [PATCH] nvme/perf: increase task pool size This matches the size of the request pool and enables running with a higher concurrency level. Ideally, these limits should be calculated from the requested queue depth and number of workers, but for now, just increase the hardcoded limit. Change-Id: I6e890efc78a1336dddc0ab61db20c68004b30f54 Signed-off-by: Daniel Verkamp --- examples/nvme/perf/perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/nvme/perf/perf.c b/examples/nvme/perf/perf.c index d4b636fda..04a5d8f8b 100644 --- a/examples/nvme/perf/perf.c +++ b/examples/nvme/perf/perf.c @@ -834,7 +834,7 @@ int main(int argc, char **argv) return 1; } - task_pool = rte_mempool_create("task_pool", 2048, + task_pool = rte_mempool_create("task_pool", 8192, sizeof(struct perf_task), 64, 0, NULL, NULL, task_ctor, NULL, SOCKET_ID_ANY, 0);