December 17, 20178 yr Hi, i installed the latest version of 6.4 and i checked lscpu | grep MHz CPU MHz: 3798.733 CPU max MHz: 3800.0000 CPU min MHz: 800.0000 And it seems like unraid just use always 100% clock, even its just at 10-20% load. Does unraid clockdown when it dont need full cpu? Model: Custom M/B: ASRock - H81 Pro BTC CPU: Intel® Core™ i3-4370 CPU @ 3.80GHz HVM: Enabled IOMMU: Disabled Cache: 128 kB, 512 kB, 4096 kB Memory: 16 GB (max. installable capacity 16 GB) Network: eth0: 1000 Mb/s, full duplex, mtu 1500 Kernel: Linux 4.14.4-unRAID x86_64 OpenSSL: 1.0.2n Uptime: Edited December 17, 20178 yr by nuhll
December 17, 20178 yr 44 minutes ago, nuhll said: Hi, i installed the latest version of 6.4 and i checked lscpu | grep MHz CPU MHz: 3798.733 CPU max MHz: 3800.0000 CPU min MHz: 800.0000 do you have Tips & Tweaks plugin, if yes then check if it was set to performance and change it to power saving Edited December 17, 20178 yr by PSYCHOPATHiO
December 17, 20178 yr Author I never had this. I installed and It was at power saving, didnt changed anything... Edited December 17, 20178 yr by nuhll
December 18, 20178 yr Author Just to be sure, is it the correct command to get the actual clocking speed of the CPU? Has anyone a idea how i get unraid to save power?
December 18, 20178 yr I've always checked: /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq You can choose whichever CPU you want to look at, cpu0 is just the first core or threaded core.
December 18, 20178 yr I whipped up this quick script: #!/bin/bash echo "CPU 1: $(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq)" echo "CPU 2: $(cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq)" echo "CPU 3: $(cat /sys/devices/system/cpu/cpu2/cpufreq/scaling_cur_freq)" echo "CPU 4: $(cat /sys/devices/system/cpu/cpu3/cpufreq/scaling_cur_freq)" On my i5 3470 which has a minimum frequency of 1.6Ghz I get the following output: CPU 1: 1693741 CPU 2: 1740611 CPU 3: 1671019 CPU 4: 1733700
December 19, 20178 yr On 12/17/2017 at 11:10 AM, nuhll said: Hi, i installed the latest version of 6.4 and i checked lscpu | grep MHz CPU MHz: 3798.733 CPU max MHz: 3800.0000 CPU min MHz: 800.0000 And it seems like unraid just use always 100% clock, even its just at 10-20% load. Does unraid clockdown when it dont need full cpu? Model: Custom M/B: ASRock - H81 Pro BTC CPU: Intel® Core™ i3-4370 CPU @ 3.80GHz HVM: Enabled IOMMU: Disabled Cache: 128 kB, 512 kB, 4096 kB Memory: 16 GB (max. installable capacity 16 GB) Network: eth0: 1000 Mb/s, full duplex, mtu 1500 Kernel: Linux 4.14.4-unRAID x86_64 OpenSSL: 1.0.2n Uptime: The linux kernel is configured to use "tickless idle": CONFIG_NO_HZ_IDLE: │ │ │ │ This option enables a tickless idle system: timer interrupts │ │ will only trigger on an as-needed basis when the system is idle. │ │ This is usually interesting for energy saving. │ │ And we build all the Intel (and AMD) CPU Frequency Scaling drivers. Hence when your server idle it should scale down the clock automatically.
December 19, 20178 yr Author I dont know if it works like my normal pc. It can clock till 4,5Ghz, but when i only do low things, it only goes to 2ghz or 2,5ghz or even 1ghz. Thats what i mean. if "lscpu | grep MHz" is the correct command to check the actual clock, then its never clocking down, but cpu shows only 10-30% used. I use to watch it over longer time (but change 0,1 to 1) watch -n 0.1 "cat /proc/cpuinfo | grep -i mhz" Edited December 19, 20178 yr by nuhll
December 19, 20178 yr Author Do i have to enable anything in the bios for it to work? Edited December 19, 20178 yr by nuhll
December 19, 20178 yr 7 hours ago, Taddeusz said: I've always checked: /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq You can choose whichever CPU you want to look at, cpu0 is just the first core or threaded core. AFAIK that's the correct way to see the instantaneous real-time frequency. If you have a device that can measure actual power being used by your server, you should be able to measure a difference between fully idle and fully busy.
December 19, 20178 yr Author Ah i didnt saw taddeusz answer. Thanks. So i guess, its working. root@Unraid-Server:~# bash cpu CPU 1: 1737114 CPU 2: 1479640 CPU 3: 2143968 CPU 4: 1498640 Thats probably also explaining why chaning 2500 passmark cpu with 6000 passmark cpu shows the same % load. Edited December 19, 20178 yr by nuhll
December 20, 20178 yr Author Suggestion: Add (maybe) 5 (?) min average clock speed to the panel, like cpu average % -> cpu average clock speed?! Edited December 20, 20178 yr by nuhll
Archived
This topic is now archived and is closed to further replies.