Skip to content

Commit

Permalink
feat(deck): Add additional tweaks for zram performance, switch to sys…
Browse files Browse the repository at this point in the history
…ctl.d to disable watchdog (Thanks Saber J2X and fiftydinar)
  • Loading branch information
KyleGospo committed Oct 18, 2023
1 parent d6d8ee6 commit d83d129
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
4 changes: 4 additions & 0 deletions system_files/deck/shared/usr/lib/sysctl.d/00-kernel.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
kernel.split_lock_mitigate=0
kernel.nmi_watchdog=0
kernel.soft_watchdog=0
kernel.watchdog=0
5 changes: 5 additions & 0 deletions system_files/deck/shared/usr/lib/sysctl.d/10-memory.conf
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
vm.swappiness=180
vm.watermark_boost_factor=0
vm.watermark_scale_factor=125
vm.dirty_bytes=268435456
vm.dirty_background_bytes=134217728
vm.page-cluster=0
8 changes: 0 additions & 8 deletions system_files/desktop/shared/usr/bin/bazzite-hardware-setup
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,6 @@ if [[ ":Jupiter:" =~ ":$SYS_ID:" ]]; then
if [[ ! $KARGS =~ "initcall_blacklist" ]]; then
NEEDED_KARGS="$NEEDED_KARGS --append=initcall_blacklist=simpledrm_platform_driver_init"
fi

if [[ ! $KARGS =~ "nowatchdog" ]]; then
NEEDED_KARGS="$NEEDED_KARGS --append=nowatchdog"
fi

if [[ ! $KARGS =~ "nmi_watchdog" ]]; then
NEEDED_KARGS="$NEEDED_KARGS --append=nmi_watchdog=0"
fi

if [[ ! $KARGS =~ "modprobe.blacklist=sp5100_tco" ]]; then
NEEDED_KARGS="$NEEDED_KARGS --append=modprobe.blacklist=sp5100_tco"
Expand Down

0 comments on commit d83d129

Please sign in to comment.