File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ export PATH
1515export EDITOR="micro"
1616export VISUAL="zed --wait"
1717
18+ # NVIDIA shader disk cache size (10GB) to prevent shader compile stutters
19+ export __GL_SHADER_DISK_CACHE_SIZE=10737418240
20+
1821# Uncomment the following line if you don't like systemctl's auto-paging feature:
1922# export SYSTEMD_PAGER=
2023
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ kernel.split_lock_mitigate=0
1212# Optimize ZRAM Swapping
1313vm.swappiness=180
1414vm.page-cluster=0
15+ vm.watermark_boost_factor=0
1516
1617# Prevent writeback-induced stuttering during heavy I/O
1718vm.dirty_background_bytes=268435456
Original file line number Diff line number Diff line change @@ -39,6 +39,9 @@ export MANPAGER="sh -c 'col -bx | bat -l man -p'"
3939# Scrollbar behavior: force GTK scrollbars to be always visible (no overlay scrolling)
4040export GTK_OVERLAY_SCROLLING= 0
4141
42+ # NVIDIA shader disk cache size (10GB) to prevent shader compile stutters
43+ export __GL_SHADER_DISK_CACHE_SIZE= 10737418240
44+
4245# PATH
4346export PATH= " $PATH:$HOME/bin"
4447export PATH= " $HOME/.npm-global/bin:$PATH"
Original file line number Diff line number Diff line change @@ -531,6 +531,19 @@ $SUI_SUDO systemctl disable --now quiet-cpu.service 2>/dev/null || true
531531$SUI_SUDO rm -f /etc/systemd/system/quiet-cpu.service
532532$SUI_SUDO systemctl daemon-reload
533533
534+ # Disable conflicting performance timers and micro-stutter culprits
535+ $SUI_SUDO systemctl disable --now dnf-makecache.timer 2> /dev/null || true
536+ $SUI_SUDO systemctl disable --now irqbalance 2> /dev/null || true
537+
538+ # Set kernel argument split_lock_detect=off to prevent performance throttling
539+ $SUI_SUDO grubby --update-kernel=ALL --args=" split_lock_detect=off" 2> /dev/null || true
540+
541+ # Enable CachyOS Copr repository and install extensible sched-ext schedulers
542+ echo " Configuring sched-ext low-latency CPU scheduler..."
543+ $SUI_SUDO dnf copr enable -y bieszczaders/kernel-cachyos-addons 2> /dev/null || true
544+ $SUI_SUDO dnf install -y scx-scheds scx-tools 2> /dev/null || true
545+ $SUI_SUDO systemctl enable --now scx_loader 2> /dev/null || true
546+
534547# Yubikey Smartcard Daemon & U2F UX
535548$SUI_SUDO systemctl enable --now pcscd.socket 2> /dev/null || true
536549
You can’t perform that action at this time.
0 commit comments