jakino Posted August 5, 2022 Share #126 Posted August 5, 2022 2 minutes ago, Trauma said: The script think you're cpu is at 430°, so it enter in the cooling mode and set the cpu frequency at 1800 Hz. Its a bug related with the max temp, I'll fix this. In the meantime, is there a way to bypass this cooling mode bug and test if the script varies the frequencies? thanks for your time Quote Link to comment Share on other sites More sharing options...
Trauma Posted August 5, 2022 Author Share #127 Posted August 5, 2022 Bug fixed, please try to update and reinstall, should work. 1 Quote Link to comment Share on other sites More sharing options...
jakino Posted August 5, 2022 Share #128 Posted August 5, 2022 7 minutes ago, Trauma said: Bug fixed, please try to update and reinstall, should work. you are great...now it works! thanks for your work ++ cat /sys/bus/platform/devices/coretemp.0/hwmon/hwmon0/temp1_input + currtemp=41000 ++ cat /sys/bus/platform/devices/coretemp.0/hwmon/hwmon0/temp1_max + maxtemp=105000 ++ awk -F . '{print $1 substr($2,1,2)}' + loadavg=008 + minfreq=800000 + midfreq=1400000 + maxfreq=2001000 + coolfreq=1800000 1 Quote Link to comment Share on other sites More sharing options...
puls200 Posted October 24, 2022 Share #129 Posted October 24, 2022 @Trauma please tell me why install doesn't work sudo ./install.sh ● cpufreq-userspace-scaler.service - ACPI cpufreq userspace scaler Loaded: loaded (/usr/lib/systemd/system/cpufreq-userspace-scaler.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Mon 2022-10-24 20:47:11 +05; 12ms ago Process: 24007 ExecStart=/usr/local/bin/scaler.sh (code=exited, status=1/FAILURE) Main PID: 24007 (code=exited, status=1/FAILURE) Oct 24 20:47:11 DOM systemd[1]: Started ACPI cpufreq userspace scaler. Oct 24 20:47:11 DOM systemd[1]: Starting ACPI cpufreq userspace scaler... Oct 24 20:47:11 DOM scaler.sh[24007]: cat: /sys/bus/platform/devices/coretemp.0/hwmon/hwmon0/temp1_input: No such file or directory Oct 24 20:47:11 DOM systemd[1]: cpufreq-userspace-scaler.service: main process exited, code=exited, status=1/FAILURE Oct 24 20:47:11 DOM systemd[1]: Unit cpufreq-userspace-scaler.service entered failed state. Oct 24 20:47:11 DOM systemd[1]: cpufreq-userspace-scaler.service failed. Quote Link to comment Share on other sites More sharing options...
Trauma Posted October 25, 2022 Author Share #130 Posted October 25, 2022 15 hours ago, puls200 said: @Trauma please tell me why install doesn't work Oct 24 20:47:11 DOM scaler.sh[24007]: cat: /sys/bus/platform/devices/coretemp.0/hwmon/hwmon0/temp1_input: No such file or directory This is your problem, to help you out i'll need to know what are your syno model, DSM version and CPU model. Quote Link to comment Share on other sites More sharing options...
puls200 Posted October 25, 2022 Share #131 Posted October 25, 2022 (edited) 1 час назад, Trauma сказал: This is your problem, to help you out i'll need to know what are your syno model, DSM version and CPU model. DS918+, DSM 7.1.1-42962-2., celeron 3150 (GA-N3150N-D3V) Edited October 25, 2022 by puls200 Quote Link to comment Share on other sites More sharing options...
puls200 Posted October 30, 2022 Share #132 Posted October 30, 2022 @Trauma Here is more information on my DSM system. Is there something wrong with her? proc.txt Quote Link to comment Share on other sites More sharing options...
Trauma Posted November 1, 2022 Author Share #133 Posted November 1, 2022 Since i can not explain why your sensor id do not start @ 1 and since you seems to be the only one with this issue. I'll recommend you to mod the script before installation. Just change : currtemp=$(cat /sys/bus/platform/devices/coretemp.0/hwmon/hwmon0/temp1_input) maxtemp=$(cat /sys/bus/platform/devices/coretemp.0/hwmon/hwmon0/temp1_max) to currtemp=$(cat /sys/bus/platform/devices/coretemp.0/hwmon/hwmon0/temp2_input) maxtemp=$(cat /sys/bus/platform/devices/coretemp.0/hwmon/hwmon0/temp2_max) And launch the install.sh Quote Link to comment Share on other sites More sharing options...
puls200 Posted November 1, 2022 Share #134 Posted November 1, 2022 5 часов назад, Trauma сказал: currtemp=$(cat /sys/bus/platform/devices/coretemp.0/hwmon/hwmon0/temp2_input) maxtemp=$(cat /sys/bus/platform/devices/coretemp.0/hwmon/hwmon0/temp2_max) Friend, thank you for not forgetting about me. I did so, but the CPU speed does not change 1600mhz. proc1.txt Quote Link to comment Share on other sites More sharing options...
Trauma Posted November 1, 2022 Author Share #135 Posted November 1, 2022 What the load of your cpu looks like ? And did you used custom midload/maxload ? Quote Link to comment Share on other sites More sharing options...
Mihail Posted November 17, 2022 Share #136 Posted November 17, 2022 Hi all! Thank you very much for the work you have done. I tried running the script and my clocks went up and down under high load. But they increased to the maximum nominal frequencies (2.5 GHz) but did not increase to the turbo boost frequency (4.4 GHz). Please tell me what I need to do to use turbo boost at high loads? CPU: Intel Core i5-12400 MB: MSI Pro B660m-a DSM: 7.1.1-42962 Update 2 Model: DS3622xs+ Quote Link to comment Share on other sites More sharing options...
nicoRoot95 Posted December 1, 2022 Share #137 Posted December 1, 2022 hi all! thanks @Trauma for the script, its working well on a DSM 7.1 i7 3770 (4/8), just one question, is it possible to make it more responsive ? Quote Link to comment Share on other sites More sharing options...
bread22 Posted March 17, 2023 Share #138 Posted March 17, 2023 I tried this script, it does work, but does not change power consumption at all. Quote Link to comment Share on other sites More sharing options...
Black6spdZ Posted May 27, 2023 Share #139 Posted May 27, 2023 Is this correct? sudo curl https://raw.githubusercontent.com/Trauma/cpufreq-userspace-scaler/master/install.sh -o /tmp/install.sh && sudo curl https://raw.githubusercontent.com/Trauma/cpufreq-userspace-scaler/master/scaler.sh -o /tmp/scaler.sh && sudo curl https://raw.githubusercontent.com/Trauma/cpufreq-userspace-scaler/master/cpufreq-userspace-scaler.service -o /tmp/cpufreq-userspace-scaler.service && sudo chmod +x /tmp/install.sh && sudo /tmp/install.sh I'm getting sudo: unable to execute ./install.sh: Permission denied should the installer script do all of the above to simplify install? Quote Link to comment Share on other sites More sharing options...
Peter Suh Posted May 27, 2023 Share #140 Posted May 27, 2023 4 minutes ago, Black6spdZ said: Is this correct? sudo curl https://raw.githubusercontent.com/Trauma/cpufreq-userspace-scaler/master/install.sh -o /tmp/install.sh && sudo curl https://raw.githubusercontent.com/Trauma/cpufreq-userspace-scaler/master/scaler.sh -o /tmp/scaler.sh && sudo curl https://raw.githubusercontent.com/Trauma/cpufreq-userspace-scaler/master/cpufreq-userspace-scaler.service -o /tmp/cpufreq-userspace-scaler.service && sudo chmod +x /tmp/install.sh && sudo /tmp/install.sh I'm getting sudo: unable to execute ./install.sh: Permission denied should the installer script do all of the above to simplify install? Please change it to the version I improved again and try it. A few days ago, the permission problem of the sh file was fixed. https://github.com/PeterSuh-Q3/tcrp-addons/tree/main/cpufreq-scaler/src There was a bug that counted the number of cores rather than threads of the CPU, so there was a problem that only half of the threads were processed. Fixed a few other issues. Quote Link to comment Share on other sites More sharing options...
Peter Suh Posted May 27, 2023 Share #141 Posted May 27, 2023 Execute in the exact order below. sudo -i curl -kLO https://github.com/PeterSuh-Q3/tcrp-addons/raw/main/cpufreq-scaler/installondsm.sh curl -kLO https://github.com/PeterSuh-Q3/tcrp-addons/raw/main/cpufreq-scaler/src/scaler.sh chmod +x installondsm.sh ./installondsm.sh 1 Quote Link to comment Share on other sites More sharing options...
Scheppi Posted June 5, 2023 Share #142 Posted June 5, 2023 Works fine for me on my Dell T20 (Intel Xeon E3-1225 v3). Just one question: Is it possible to include it in the arpl build process? Thanks for your work! Quote Link to comment Share on other sites More sharing options...
ToanVQ Posted August 18, 2023 Share #143 Posted August 18, 2023 I'm successfully intalled and running this script (with some modifications to properly scaling for all 4 threads). But my kill a watt does change anything even when all cpu cores running at 800MHz is that abnormal? Quote Link to comment Share on other sites More sharing options...
Rick4 Posted August 21, 2023 Share #144 Posted August 21, 2023 (edited) On 5/27/2023 at 2:21 AM, Peter Suh said: Execute in the exact order below. sudo -i curl -kLO https://github.com/PeterSuh-Q3/tcrp-addons/raw/main/cpufreq-scaler/installondsm.sh curl -kLO https://github.com/PeterSuh-Q3/tcrp-addons/raw/main/cpufreq-scaler/src/scaler.sh chmod +x installondsm.sh ./installondsm.sh I am on a mini nas, named Topton N1 pro, with a 6 core/ 12 thread AMD Ryzen5 5500u CPU, Just tried that, lokks like all ok, but if check cpu freq, get same speed, 2100MHZ, all 12 lines. I get the modes: powersave performance userspace Now i rebuild loader with ARC loader, tick cpu scaler, and then works! AMD p-state drivers are visible on many more website, so i think, implementation is not a hard work to a professional. Have you aní informations about that future plan, when will be available to use it? Edited August 21, 2023 by Rick4 Quote Link to comment Share on other sites More sharing options...
Rick4 Posted August 24, 2023 Share #145 Posted August 24, 2023 (edited) On 8/21/2023 at 2:23 PM, Rick4 said: I am on a mini nas, named Topton N1 pro, with a 6 core/ 12 thread AMD Ryzen5 5500u CPU, Just tried that, lokks like all ok, but if check cpu freq, get same speed, 2100MHZ, all 12 lines. I get the modes: powersave performance userspace Now i rebuild loader with ARC loader, tick cpu scaler, and then works! AMD p-state drivers are visible on many more website, so i think, implementation is not a hard work to a professional. Have you aní informations about that future plan, when will be available to use it? So just found scaler addon on ARC loader, but how can i uninstall this version of cpu scaler? Edited August 24, 2023 by Rick4 Quote Link to comment Share on other sites More sharing options...
Trauma Posted August 25, 2023 Author Share #146 Posted August 25, 2023 On 8/18/2023 at 5:57 AM, ToanVQ said: I'm successfully intalled and running this script (with some modifications to properly scaling for all 4 threads). But my kill a watt does change anything even when all cpu cores running at 800MHz is that abnormal? Most of the time hard drives are way more power hungry than one CPU on this type of setup. You're PSU efficiency is also important, a 500w 80+ Power Supply can drain around 50w without any load. So in this case scaling down the CPU is more a matter of temperature management IMHO. Quote Link to comment Share on other sites More sharing options...
Trauma Posted August 25, 2023 Author Share #147 Posted August 25, 2023 On 5/27/2023 at 2:14 AM, Peter Suh said: Please change it to the version I improved again and try it. A few days ago, the permission problem of the sh file was fixed. https://github.com/PeterSuh-Q3/tcrp-addons/tree/main/cpufreq-scaler/src There was a bug that counted the number of cores rather than threads of the CPU, so there was a problem that only half of the threads were processed. Fixed a few other issues. Nice work, though it could have been cool to open a PR on my repo 1 Quote Link to comment Share on other sites More sharing options...
Rick4 Posted August 30, 2023 Share #148 Posted August 30, 2023 (edited) On 8/25/2023 at 10:34 PM, Trauma said: Most of the time hard drives are way more power hungry than one CPU on this type of setup. You're PSU efficiency is also important, a 500w 80+ Power Supply can drain around 50w without any load. So in this case scaling down the CPU is more a matter of temperature management IMHO. Tried an itx config, i3-10100, asrock itx motherboard, 4 fan fron 80to 140mm, 8TB HDD 20GB SSD, and an old BeQuiet 350W 80+ ATX PSU. and the complete power consumption was 26W, nearly same az a 300W pico psu and a 60W deer adapter. Edited August 30, 2023 by Rick4 Quote Link to comment Share on other sites More sharing options...
Rick4 Posted August 30, 2023 Share #149 Posted August 30, 2023 4 hours ago, Rick4 said: Tried an itx config, i3-10100, asrock itx motherboard, 4 fan fron 80to 140mm, 8TB HDD 20GB SSD, and an old BeQuiet 350W 80+ ATX PSU. and the complete power consumption was 26W, nearly same az a 300W pico psu and a 60W deer adapter. Friends! My cpu scaler works or not? Quote Link to comment Share on other sites More sharing options...
pitiriguisvi Posted October 12, 2023 Share #150 Posted October 12, 2023 is this module the same as cpu freq scaling that is included in the ARC loader for DSM7.2?? if so, when enabled at loader, which are the next steps? i have 3 scripts on /usr/sbin: scaler, unscaler and rescaler its i7 9700 on dsm 7.2 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.