ngsupb Posted May 16, 2022 Share #76 Posted May 16, 2022 On 5/14/2022 at 12:05 AM, chickey said: Did you manage to get it working as i have the same on my system, i'll double check in the morning but i'm sure all states are enabled. didn't figure out what's wrong, I have decided to keep it as is until I get time to play with the server again with next updates. please let me know if you find anything though. Quote Link to comment Share on other sites More sharing options...
bluecatus Posted May 20, 2022 Share #77 Posted May 20, 2022 Dear @Trauma, Please update script for DSM7+. Quote Link to comment Share on other sites More sharing options...
Trauma Posted May 21, 2022 Author Share #78 Posted May 21, 2022 Working fine for me on DS918+ DSM 7.0.1-42218 Update 3, is it only 7.1 related ? Quote Link to comment Share on other sites More sharing options...
chickey Posted May 21, 2022 Share #79 Posted May 21, 2022 5 hours ago, Trauma said: Working fine for me on DS918+ DSM 7.0.1-42218 Update 3, is it only 7.1 related ? Wonder if it's more hardware dependant as i have the same issue with the scaling driver not existing in that directory either Quote Link to comment Share on other sites More sharing options...
bluecatus Posted May 22, 2022 Share #80 Posted May 22, 2022 12 hours ago, Trauma said: Working fine for me on DS918+ DSM 7.0.1-42218 Update 3, is it only 7.1 related ? I tested the script on both DVA3221 and DS918+ DSM 7.0.1 with the same results of failure. Quote Link to comment Share on other sites More sharing options...
chickey Posted May 22, 2022 Share #81 Posted May 22, 2022 5 hours ago, bluecatus said: I tested the script on both DVA3221 and DS918+ DSM 7.0.1 with the same results of failure. As a side note does your system spin down the HDD if you configure it? Mine doesn't so wondering if it's some C state issue although i have it fully enabled i believe in the BIOS. Quote Link to comment Share on other sites More sharing options...
Herrnobiz Posted May 22, 2022 Share #82 Posted May 22, 2022 Mine was working great on a ds918+ 7.01u3, but then i migrated to 7.1 ds920 and i got the same "not such file error" Quote Link to comment Share on other sites More sharing options...
true Posted June 30, 2022 Share #83 Posted June 30, 2022 hi! had the same problem on rptc 7.1-42661 Update 1 (no such file or directory trying to cat scaling governor) and it was fixed after loading the acpi-cpufreq module manually (modprobe acpi-cpufreq). hope it helps! 1 Quote Link to comment Share on other sites More sharing options...
bluecatus Posted July 1, 2022 Share #84 Posted July 1, 2022 5 hours ago, true said: hi! had the same problem on rptc 7.1-42661 Update 1 (no such file or directory trying to cat scaling governor) and it was fixed after loading the acpi-cpufreq module manually (modprobe acpi-cpufreq). hope it helps! Please help me loading the acpi-cpufreq module automatically every dsm starts. Thanks. Quote Link to comment Share on other sites More sharing options...
true Posted July 1, 2022 Share #85 Posted July 1, 2022 1 hour ago, bluecatus said: Please help me loading the acpi-cpufreq module automatically every dsm starts. Thanks. I scheduled this task, assigned to root at system start, seems to work fine Quote Link to comment Share on other sites More sharing options...
bluecatus Posted July 1, 2022 Share #86 Posted July 1, 2022 1 hour ago, true said: I scheduled this task, assigned to root at system start, seems to work fine thank you so much. 1 Quote Link to comment Share on other sites More sharing options...
chickey Posted July 1, 2022 Share #87 Posted July 1, 2022 Thankyou, i can now run the script. I shall have to do some testing. Now this is working i need to look into why my drives will only hibernate for 20 seconds! 1 Quote Link to comment Share on other sites More sharing options...
Trauma Posted July 1, 2022 Author Share #88 Posted July 1, 2022 22 hours ago, true said: hi! had the same problem on rptc 7.1-42661 Update 1 (no such file or directory trying to cat scaling governor) and it was fixed after loading the acpi-cpufreq module manually (modprobe acpi-cpufreq). hope it helps! Thanks @true, I've waited a while for someone to report if manually loading the driver worked on 7.1. Could someone report the output of this command please, after loading acpi-cpufreq : lsmod| grep "cpufreq" Just want to make sure all dependencies are loaded before fixing the script, thks. 1 Quote Link to comment Share on other sites More sharing options...
chickey Posted July 1, 2022 Share #89 Posted July 1, 2022 2 minutes ago, Trauma said: Thanks @true, I've waited a while for someone to report if manually loading the driver worked on 7.1. Could someone report the output of this command please, after loading acpi-cpufreq : lsmod| grep "cpufreq" Just want to make sure all dependencies are loaded before fixing the script, thks. 1 Quote Link to comment Share on other sites More sharing options...
pioneer_ma Posted July 1, 2022 Share #90 Posted July 1, 2022 16 часов назад, true сказал: I scheduled this task, assigned to root at system start, seems to work fine Hey! How did you schedule it to run on boot/power on? Quote Link to comment Share on other sites More sharing options...
chickey Posted July 1, 2022 Share #91 Posted July 1, 2022 3 minutes ago, pioneer_ma said: Hey! How did you schedule it to run on boot/power on? create a triggered task rather than scheduled than you can choose the trigger of boot-up Col 1 Quote Link to comment Share on other sites More sharing options...
pioneer_ma Posted July 1, 2022 Share #92 Posted July 1, 2022 Только что, chickey сказал: create a triggered task rather than scheduled than you can choose the trigger of boot-up Col Omg, sorry, just couple days using Xpenology) Found it, thx! Quote Link to comment Share on other sites More sharing options...
Trauma Posted July 1, 2022 Author Share #93 Posted July 1, 2022 (edited) Test version for DSM7.1, please make sure acpi-cpufreq.ko is not loaded before running the script : https://raw.githubusercontent.com/Trauma/cpufreq-userspace-scaler/fix/dsm7.1/scaler.sh Edited July 1, 2022 by Trauma 3 Quote Link to comment Share on other sites More sharing options...
pioneer_ma Posted July 1, 2022 Share #94 Posted July 1, 2022 (edited) Guys, I know these are dummy questions but I'm new to it so..) Just want to be sure if doing everything right. 1. Downloading scaler.sh and correcting the number of cores. 2. Uploading it to some folder. 3. Adding a triggered task with a script like this modprobe acpi-cpufreq && bash /var/services/homes/scripts/scaler.sh & 4. Triggering it manually for now. Is there anything else I need to do (except playing with load parameters)? It's just I had a Xeon 2640v3 engineering sample and a X99 motherboard laying around))) So not sure if the problem is me doing something wrong with the script or just a Xeon ES standard issues. Cause no changes on the wattmeter's display whatsoever. It's DSM 7.1.2. Edited July 1, 2022 by pioneer_ma Quote Link to comment Share on other sites More sharing options...
Trauma Posted July 9, 2022 Author Share #95 Posted July 9, 2022 Hello all, For DSM 7.x users, I have fixed the script, added a systemctl service and installer script so it's better integrated into the system (systemd is available starting DSM7). https://github.com/Trauma/cpufreq-userspace-scaler/tree/fix/dsm7.1 2 Quote Link to comment Share on other sites More sharing options...
Trauma Posted July 10, 2022 Author Share #96 Posted July 10, 2022 FYI DSM 7 fixes are now merged in master branch. 1 1 Quote Link to comment Share on other sites More sharing options...
bluecatus Posted July 12, 2022 Share #97 Posted July 12, 2022 Thanks so much. Quote Link to comment Share on other sites More sharing options...
shadowcliffs Posted July 13, 2022 Share #98 Posted July 13, 2022 Hi, I came across this topic searching for a way to scaling the CPU on DS3615xs DSM 7.0.1. CPU scaling has been set up through cpufrequtils for this same machine when it was on 6.2.3, now it seems ondemand mode is missing from the governor in DSM 7.0.1. I tried the script here, I got: root@xxx:~# /usr/local/bin/scaler.sh & [1] 19296 root@xxx:~# /usr/local/bin/scaler.sh: line 48: /sys/bus/platform/devices/cor etemp.0/hwmon/hwmon0/temp1_input: No such file or directory Any idea? Quote Link to comment Share on other sites More sharing options...
Trauma Posted July 13, 2022 Author Share #99 Posted July 13, 2022 5 hours ago, shadowcliffs said: Hi, I came across this topic searching for a way to scaling the CPU on DS3615xs DSM 7.0.1. CPU scaling has been set up through cpufrequtils for this same machine when it was on 6.2.3, now it seems ondemand mode is missing from the governor in DSM 7.0.1. I tried the script here, I got: root@xxx:~# /usr/local/bin/scaler.sh & [1] 19296 root@xxx:~# /usr/local/bin/scaler.sh: line 48: /sys/bus/platform/devices/cor etemp.0/hwmon/hwmon0/temp1_input: No such file or directory Any idea? This happen when the script try to get the current temperature of the CPU (overheat protection), if you can find out a way to get this information on your config I could adapt the script. Quote Link to comment Share on other sites More sharing options...
use-nas Posted July 20, 2022 Share #100 Posted July 20, 2022 Processor J3455, script currtemp=$(cut -c 1-3 </sys/bus/platform/devices/coretemp.0/hwmon/hwmon0/temp1_input) does not correctly display the temperature of 3 digits, so the processor is always in cooling mode. currtemp=$(cut -c 1-2 </sys/bus/platform/devices/coretemp.0/hwmon/hwmon0/temp1_input) now everything is OK)) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.