From d07a196c8ebe030adb504a7f9263a5afe7ec86f7 Mon Sep 17 00:00:00 2001 From: Balazs Gerofi Date: Thu, 24 Nov 2016 16:40:52 +0900 Subject: [PATCH] mcexec: enable the same number of threads as CPU cores --- executer/user/mcexec.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/executer/user/mcexec.c b/executer/user/mcexec.c index 955fb6b5..cf91d5b4 100644 --- a/executer/user/mcexec.c +++ b/executer/user/mcexec.c @@ -1550,10 +1550,7 @@ int main(int argc, char **argv) return 1; } - n_threads = ncpu; - if (ncpu > 16) { - n_threads = 16; - } + n_threads = ncpu + 1; /* * XXX: keep thread_data ncpu sized despite that there are only