Skip to content

Commit

Permalink
Improve SSD perf
Browse files Browse the repository at this point in the history
  • Loading branch information
szaffarano committed Feb 17, 2024
1 parent 1a76abe commit 6d0a777
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion system/pilsen/disk-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
content = {
type = "luks";
name = "pilsen";
extraOpenArgs = [ "--allow-discards" ];
extraOpenArgs = [ "--allow-discards" "--perf-no_read_workqueue" "--perf-no_write_workqueue" ];
content = {
type = "btrfs";
extraArgs = [ "-f" ];
Expand Down
2 changes: 1 addition & 1 deletion system/zaffarano-elastic/disk-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
content = {
type = "luks";
name = "nixos";
extraOpenArgs = [ "--allow-discards" ];
extraOpenArgs = [ "--allow-discards" "--perf-no_read_workqueue" "--perf-no_write_workqueue" ];
content = {
type = "btrfs";
extraArgs = [ "-f" ];
Expand Down

0 comments on commit 6d0a777

Please sign in to comment.