forked from mirrors/nixpkgs
* Enable NUMA. On our 48-core machines this cut the duration of a
kernel build from 12m27s to 4m42s. svn path=/nixpkgs/trunk/; revision=33616
This commit is contained in:
parent
7d2b8fe48f
commit
9a1080d7ea
|
@ -37,10 +37,12 @@ let
|
||||||
IOSCHED_CFQ y
|
IOSCHED_CFQ y
|
||||||
BLK_CGROUP y # required by CFQ
|
BLK_CGROUP y # required by CFQ
|
||||||
|
|
||||||
|
# Enable NUMA.
|
||||||
|
NUMA? y
|
||||||
|
|
||||||
# Disable some expensive (?) features.
|
# Disable some expensive (?) features.
|
||||||
FTRACE n
|
FTRACE n
|
||||||
KPROBES n
|
KPROBES n
|
||||||
NUMA? n
|
|
||||||
PM_TRACE_RTC n
|
PM_TRACE_RTC n
|
||||||
|
|
||||||
# Enable various subsystems.
|
# Enable various subsystems.
|
||||||
|
@ -226,7 +228,7 @@ in
|
||||||
import ./generic.nix (
|
import ./generic.nix (
|
||||||
|
|
||||||
rec {
|
rec {
|
||||||
version = "3.2.11";
|
version = "3.2.14";
|
||||||
testing = false;
|
testing = false;
|
||||||
|
|
||||||
modDirVersion = version;
|
modDirVersion = version;
|
||||||
|
@ -236,8 +238,8 @@ import ./generic.nix (
|
||||||
'';
|
'';
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://kernel/linux/kernel/v3.0/${if testing then "testing/" else ""}linux-${version}.tar.bz2";
|
url = "mirror://kernel/linux/kernel/v3.0/${if testing then "testing/" else ""}linux-${version}.tar.xz";
|
||||||
sha256 = "1hacfmf08ydzf4xlg6wkkckl5icj7w9h3nh17myz1s67bp7q61qs";
|
sha256 = "032bv24wsab4c589svlq5ip8dcc4vihjcynq3ka18fgvxih251fm";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = configWithPlatform stdenv.platform;
|
config = configWithPlatform stdenv.platform;
|
||||||
|
|
|
@ -37,10 +37,12 @@ let
|
||||||
IOSCHED_CFQ y
|
IOSCHED_CFQ y
|
||||||
BLK_CGROUP y # required by CFQ
|
BLK_CGROUP y # required by CFQ
|
||||||
|
|
||||||
|
# Enable NUMA.
|
||||||
|
NUMA? y
|
||||||
|
|
||||||
# Disable some expensive (?) features.
|
# Disable some expensive (?) features.
|
||||||
FTRACE n
|
FTRACE n
|
||||||
KPROBES n
|
KPROBES n
|
||||||
NUMA? n
|
|
||||||
PM_TRACE_RTC n
|
PM_TRACE_RTC n
|
||||||
|
|
||||||
# Enable various subsystems.
|
# Enable various subsystems.
|
||||||
|
@ -227,8 +229,6 @@ import ./generic.nix (
|
||||||
rec {
|
rec {
|
||||||
version = "3.3.1";
|
version = "3.3.1";
|
||||||
|
|
||||||
testing = false;
|
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace scripts/depmod.sh --replace '-b "$INSTALL_MOD_PATH"' ""
|
substituteInPlace scripts/depmod.sh --replace '-b "$INSTALL_MOD_PATH"' ""
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue