nixos/qemu-vm: default memorySize 384 -> 1024#146804
Conversation
|
Opinions on setting it to |
|
I would update the default only, when all tests have to set higher memory sizes. |
I am going to do that |
24fc8e0 to
e5b148e
Compare
|
I would think that this should not increase physical memory usage if the VM is not using it. Because then I think it's fine and could lead to a speedup |
yeah it only increases the max amount the vm can use but doesn't reserve it all |
Sounds good to me, considering it shouldn't consume more memory for tests that don't use it. |
There was a problem hiding this comment.
This is very sensible.
I should note that VM memory usage probably expands quite quickly because of the disk cache, but I find it hard to imagine that even reserving 1GB per physical core would not be feasible today. So 👍
This is similar to #144788 but for memory instead of disk.
the default hasn't been changed since 2009 this can improve our test performances nixos/tests: remove explicit memorySize <1024 1024MiB is now the default
e5b148e to
54ece05
Compare
|
missed some memorySize <1024's |
the default hasn't been changed since 2009
this can improve our test performances
Motivation for this change
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes