mcexec: enable the same number of threads as CPU cores
This commit is contained in:
@@ -1550,10 +1550,7 @@ int main(int argc, char **argv)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
n_threads = ncpu;
|
n_threads = ncpu + 1;
|
||||||
if (ncpu > 16) {
|
|
||||||
n_threads = 16;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* XXX: keep thread_data ncpu sized despite that there are only
|
* XXX: keep thread_data ncpu sized despite that there are only
|
||||||
|
|||||||
Reference in New Issue
Block a user