nixpkgs/nixos/modules
Robert Hensing afc60d017b nixos/qemu-vm: Use disposable EROFS for store when writableStore = false
This avoids putting a large disk image in the store (and possibly
in a binary cache), while improving runtime performance.

Assuming you're running an SSD, and/or with plenty of cache (?)
it is feasible to preempt the virtualization overhead before
VM start, in single-digit seconds.

For some tests that perform many reads on the store, the improved
performance of EROFS is sufficient that not only the image creation
overhead is compensated for, but is actually faster.

Stats for nixosTests.gitlab:

Baseline without useNixStoreImage: >1000s

Baseline with useNixStoreImage without writableStore = false
ext4 image in store: 277 seconds
  + significant image build time and/or disk space

Disposable erofs image: 249 seconds _including_ image build time

Custom erofs overlay on 9p host store: 391 seconds; presumably
because the overlay still performs too many 9p accesses, or perhaps
some other overhead. This solution had no obvious performance
advantage, while requiring extra options to work, so it was
discarded.
2022-07-17 14:56:35 +02:00
..
config Merge pull request #166308 from ncfavier/wg-resolvconf 2022-07-10 21:00:00 +02:00
hardware hardware/nvidia: add @ to constraint on busIDType 2022-07-10 02:48:40 -03:00
i18n/input-method Merge pull request #174218 from NickCao/fcitx5-qt6 2022-06-11 16:20:20 +00:00
installer nixos: remove unused "system tarball" modules 2022-07-12 07:34:20 +00:00
misc nixos/ids: fix typo in comment 2022-06-28 11:58:47 +00:00
profiles nixos/i18n: don't build all supportedLocales by default 2022-06-11 23:29:29 +02:00
programs nixos/qt5ct: remove enable option and suggests qt5.platformTheme 2022-07-05 13:50:42 -03:00
security Revert "nixos/security/wrappers: use an assertion for the existence check" 2022-06-12 15:38:05 -05:00
services Merge pull request #181184 from kittywitch/ha-empty-config-fix 2022-07-12 11:39:39 +02:00
system Merge pull request #180991 from aij/raspberrypi-bootloader-config.txt 2022-07-10 14:09:43 -07:00
tasks Merge pull request #171401 from klemensn/filesystems-zfs 2022-07-03 18:07:53 +02:00
testing nixos/version: Warn about using the default of system.stateVersion 2022-05-05 12:22:31 +02:00
virtualisation nixos/qemu-vm: Use disposable EROFS for store when writableStore = false 2022-07-17 14:56:35 +02:00
module-list.nix Merge pull request #178254 from K900/update-tempo 2022-07-10 14:01:30 +03:00
rename.nix railcar, nixos/railcar: remove 2022-07-07 07:16:58 +10:00