nixpkgs/nixos/modules
aszlig 02b568414d
nixos/test-instrumentation: Set vm.min_free_kbytes
We hit page allocation failures a lot at random for VM tests, in case of
my own Hydra when it comes to the installer tests. The reason for this
is that once the memory of the VM gets heavily fragmented the kernel is
unable to allocate new pages.

Setting vm.min_free_kbytes to 16MB forces the kernel to keep a minimum
of 16 MB free.

I've done some testing accross repeated runs of the installer tests with
and without vm.min_free_kbytes set. So accross 30 test runs for each
settings, all of the tests with the option being set passed while 14
tests without that sysctl option triggered page allocation failures.

Sure, running 30 tests is not a guarantee that 16MB is enough, but we'll
see how it turns out in the long run across all VM tests.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-12-13 03:18:10 +01:00
..
config Merge pull request #11628 from grwlf/allproxy 2015-12-11 12:57:36 +01:00
hardware nixos/bumblebee: update for new packages 2015-12-05 00:54:09 +03:00
installer Merge pull request #10586 from dezgeg/pr-arm-tweaks 2015-10-25 04:31:03 +03:00
misc pump.io service: init 2015-12-06 13:35:21 +00:00
profiles Change the preset networking.hostId to use mkDefault so it can be easily changed by the user later 2015-11-22 01:03:16 +11:00
programs zsh module: add /share/zsh to pathsToLink 2015-11-26 04:33:07 +03:00
security PAM: reorganize the way pam_ecryptfs and pam_mount get their password 2015-11-21 21:10:40 +00:00
services nixos/kde5: enable SVG icons in GTK programs 2015-12-12 14:35:10 -06:00
system grub: fix typo in variable name (trivial) 2015-12-10 19:52:08 +01:00
tasks nixos/kbd: make systemd-vconsole-setup work with KMS 2015-12-03 22:54:24 +03:00
testing nixos/test-instrumentation: Set vm.min_free_kbytes 2015-12-13 03:18:10 +01:00
virtualisation Merge pull request #11565 from jgillich/rkt 2015-12-11 08:04:44 +03:00
module-list.nix shairport-sync service: add module 2015-12-12 20:30:47 +01:00
rename.nix Factor out option renaming 2015-10-14 18:18:47 +02:00