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:
parent
56badfee94
commit
1cd7dbc00b
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue