Disable dm-crypt workqueues for better SSD performance
This commit is contained in:
parent
2cc97bf138
commit
6e2f93478b
@ -73,7 +73,12 @@ inputs.nixpkgs.lib.nixosSystem {
|
|||||||
#availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
#availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
||||||
availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" ];
|
availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" ];
|
||||||
kernelModules = [ ];
|
kernelModules = [ ];
|
||||||
luks.devices."system".device = "/dev/disk/by-uuid/06549d22-b96c-44f2-bb27-45200d5feda5";
|
luks.devices."system" = {
|
||||||
|
device = "/dev/disk/by-uuid/06549d22-b96c-44f2-bb27-45200d5feda5";
|
||||||
|
# better SSD performance
|
||||||
|
# https://wiki.archlinux.org/title/Dm-crypt/Specialties#Disable_workqueue_for_increased_solid_state_drive_(SSD)_performance
|
||||||
|
bypassWorkqueues = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
kernelModules = [ "kvm-amd" ];
|
kernelModules = [ "kvm-amd" ];
|
||||||
# use latest kernel
|
# use latest kernel
|
||||||
|
Loading…
Reference in New Issue
Block a user