We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9208e8 commit c3fb40cCopy full SHA for c3fb40c
1 file changed
modules/hardware/hardware-aendernix.nix
@@ -31,6 +31,16 @@
31
"kvm.report_ignored_msrs=0"
32
];
33
34
+ # at which dirty page amount the kernel will start writeback (default 10% of RAM -> ~3GB)
35
+ # vm.dirty_background_bytes 256 * 1024 * 1024 (0.25GB)
36
+
37
+ # at which dirty page amount the process iself will start writeback (default 20% of RAM -> ~6GB)
38
+ # vm.dirty_bytes 512 * 1024 * 1024 (0.5GB)
39
40
+ hardware.block.scheduler = {
41
+ "nvme*" = "mq-deadline"; # seems to make io scheduling fair between slices
42
+ };
43
44
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
45
boot.initrd.kernelModules = [ "dm-snapshot" "vfio_pci" "vfio" "vfio_iommu_type1" ];
46
# with linux 5.10 lts, BT audio works. With latest it doesnt.
0 commit comments