linux: Bump NR_CPUS

The default limit (64) is too low for systems like EC2 x1.* instances
or Xeon Phis, so let's increase it.
This commit is contained in:
Eelco Dolstra 2016-07-11 12:16:19 +02:00
parent 56badfee94
commit 1cd7dbc00b

View file

@ -42,6 +42,12 @@ with stdenv.lib;
SCHEDSTATS n
DETECT_HUNG_TASK y
# Bump the maximum number of CPUs to support systems like EC2 x1.*
# instances and Xeon Phi.
${optionalString (stdenv.system == "x86_64-linux") ''
NR_CPUS 384
''}
# Unix domain sockets.
UNIX y