nixpkgs/nixos
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
..
doc/manual release-notes: mention bumblebee changes 2015-12-08 18:54:02 +03:00
lib Enable to create hybrid ISO without UEFI boot 2015-11-28 08:55:47 +03:00
maintainers Hack to parallelize AMI copying 2015-09-29 14:54:12 +02:00
modules nixos/test-instrumentation: Set vm.min_free_kbytes 2015-12-13 03:18:10 +01:00
tests nixos/tests: test SDDM with KDE 5 enabled 2015-12-11 07:09:08 -06:00
COPYING Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
default.nix Add a way to pin a NixOS version within the module system. 2015-11-19 20:58:45 +00:00
README Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
release-combined.nix nixos: add sddm test to combined constituents 2015-12-11 07:08:33 -06:00
release-small.nix release-small.nix: Drop the grub1 test 2015-08-11 13:51:55 +02:00
release.nix nixos/tests: test SDDM with KDE 5 enabled 2015-12-11 07:09:08 -06:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.