Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CPU at 100% all time!?

Featured Replies

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 by nuhll

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 by PSYCHOPATHiO

  • Author

I never had this.

 

I installed and It was at power saving, didnt changed anything... :(

Edited by nuhll

  • 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? :D

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.

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

 

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.

  • 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 by nuhll

  • Author

Do i have to enable anything in the bios for it to work?

 

see.jpg

Edited by nuhll

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.

  • 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 by nuhll

  • Author

Suggestion: Add (maybe) 5 (?) min average clock speed to the panel, like cpu average % -> cpu average clock speed?!

Edited by nuhll

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.