more arc, no mem swap
This commit is contained in:
parent
9e88412940
commit
4f660bfc5a
1 changed files with 0 additions and 7 deletions
|
@ -114,10 +114,6 @@ in
|
||||||
|
|
||||||
# tweak ZFS
|
# tweak ZFS
|
||||||
boot.extraModprobeConfig = ''
|
boot.extraModprobeConfig = ''
|
||||||
# between 1 and 8 GB large ARC
|
|
||||||
options zfs zfs_arc_min=1073741824
|
|
||||||
options zfs zfs_arc_max=8589934592
|
|
||||||
|
|
||||||
# less scrub impact on other IO
|
# less scrub impact on other IO
|
||||||
options zfs zfs_scrub_delay=32
|
options zfs zfs_scrub_delay=32
|
||||||
options zfs zfs_vdev_scrub_min_active=1
|
options zfs zfs_vdev_scrub_min_active=1
|
||||||
|
@ -162,9 +158,6 @@ in
|
||||||
themePackages = [ pkgs.adi1090x-plymouth-themes ];
|
themePackages = [ pkgs.adi1090x-plymouth-themes ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# swap to RAM
|
|
||||||
zramSwap.enable = true;
|
|
||||||
|
|
||||||
# root file system, we will rollback that on boot
|
# root file system, we will rollback that on boot
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "zpool/root";
|
device = "zpool/root";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue