Command to permanently accept changes to system

Hey there,

I’d like to know what command or perhaps a script I need to run to maintain changes permanently to my system rather than by session. This includes:

Setting Gpu fan at a set speed
Setting Network config to allow maximum speed of downloads (I have 1G speeds, however, I keep seeing 225 Mb download speeds)

I used the commands:

sudo nvidia-settings -a ‘[gpu:0]/GPUFanControlState=1’ -a ‘[fan:0]/GPUTargetFanSpeed=49’ -a ‘[fan:1]/GPUTargetFanSpeed=49’

and

sudo pacman -R cachyos-settings (allowed higher download speeds when I installed a few games)

Can someone help provide a command, script options, or link to any commands to preserve these settings? Thanks.

Which version of cachyos-settings did you have? This should be fixed already in the latest version.

1 Like

The version that came with the install. I saw a thread of that command (I believe you were part of it) and thought to try it myself. Once I reboot, I was seeing most of my speed when downloading a game. That was yesterday. Today, I see the slower speeds again, in addition to my gpu fans not being set in Nvidia X server.

I didn’t want to remove the settings, and welcome any recommendations or tips.

That doesn’t really help, can you check your pacman log and see which version it was that got removed? Thanks.

1 Like

Sorry.

It was version 1:1.2.0-1

There was a Pacman update. Maybe it helps…

1 Like

Strange… can you remove these lines in /usr/lib/sysctl.d/99-cachyos-settings.conf?

diff --git a/usr/lib/sysctl.d/99-cachyos-settings.conf b/usr/lib/sysctl.d/99-cachyos-settings.conf
index c7b8b01..3fea5a3 100644
--- a/usr/lib/sysctl.d/99-cachyos-settings.conf
+++ b/usr/lib/sysctl.d/99-cachyos-settings.conf
@@ -45,13 +45,6 @@ kernel.kexec_load_disabled = 1
 # May help prevent losing packets
 net.core.netdev_max_backlog = 4096
 
-# Disable TCP slow start after idle
-# Helps kill persistent single connection performance
-net.ipv4.tcp_slow_start_after_idle = 0
-
-# Protect against tcp time-wait assassination hazards, drop RST packets for sockets in the time-wait state. Not widely supported outside of Linux, but conforms to RFC:
-net.ipv4.tcp_rfc1337 = 1
-
 # Set size of file handles and inode cache
 fs.file-max = 2097152
1 Like

I am out and about but will try to get to that config as soon as I can and get back to you. Thanks for all the suggestions you’re providing.

Hi,

Removing those entries from that file drastically improved my internet speed from a mere 15% to about 80%!!! Thank you so much for this!

I now just need to have my fan speeds for Nvidia X Server settings set permanently.

1 Like

sysctl.d: Remove more network configs · CachyOS/CachyOS-Settings@f4df65c · GitHub Thank you.

1 Like