See the Security and Bug Fixes Section - Grub EFI Install Updates Fix Sticky


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to maintain custom tweaks after reboot/sleep
#1
Hello,

I have applied certain custom settings, regarding the swappiness value, as well as the overclock of an amdgpu associated device. The swappiness value stays after system waking from the sleep mode, but resets after each reboot. When it comes to the amdgpu overclock parameters, they reset already after system waking from the sleep mode. I would like to have these maintained. I believe a script could do. Where do I put respective scripts, what extra instructions should they include to be maintained by the system?

These are the regular commands that I use to introduce changes - inserted values are theoretical:

Code:
sudo echo "10" > /proc/sys/vm/swappiness

Code:
sudo bash -c 'echo "20" > /sys/class/drm/card1/device/pp_sclk_od && echo "20" > /sys/class/drm/card1/device/pp_mclk_od'
Reply


Messages In This Thread
How to maintain custom tweaks after reboot/sleep - by MS - 02-06-2019, 10:19 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)