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.

Tips and Tweaks Plugin to possibly improve performance of Unraid and VMs

Featured Replies

  • Author
On 2/22/2025 at 4:04 AM, cosmas said:

@dlandon

# cat /sys/devices/system/cpu/amd_pstate/cpb_boost
cat: /sys/devices/system/cpu/amd_pstate/cpb_boost: No such file or directory

 

This is in the directory:

# cd /sys/devices/system/cpu/amd_pstate/
root@nas01:/sys/devices/system/cpu/amd_pstate# ls -al
total 0
drwxr-xr-x  2 root root    0 Feb 21 11:59 ./
drwxr-xr-x 26 root root    0 Feb 21 11:33 ../
-r--r--r--  1 root root 4096 Feb 21 20:38 prefcore
-rw-r--r--  1 root root 4096 Feb 21 20:38 status

 

After some research, it seems the turbo control is planned, but not ready yet for the amd-pstate-epp driver.  In the meantime, you can disable the amd-pstate-epp driver using this procedure:

  • Go to a command line and enter this command: 'echo "blacklist amd-pstate-epp" > /boot/config/modprobe.d/amd-pstate-epp.conf'.
  • Reboot Unraid.
  • You should see the ACPI CPU Freq driver that will allow turbo control.
  • Replies 379
  • Views 140.9k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • You'll notice off to the right the CPU Scaling driver is intel_cpufreq.  This is apparently a new governor for some Intel CPUs and replaces the intel_pstate driver.  Tips and Tweaks is not setup for t

  • Not as a default, not in my opinion anyway, as setting this to a value of 1 can be dangerous.   The setting itself determines how the OS responds to memory allocation requests from applicati

  • I'm looking at what I think might be a better way of doing this so the mover won't hang while writting to disk.

Posted Images

1 hour ago, dlandon said:

After some research, it seems the turbo control is planned, but not ready yet for the amd-pstate-epp driver.  In the meantime, you can disable the amd-pstate-epp driver using this procedure:

  • Go to a command line and enter this command: 'echo "blacklist amd-pstate-epp" > /boot/config/modprobe.d/amd-pstate-epp.conf'.
  • Reboot Unraid.
  • You should see the ACPI CPU Freq driver that will allow turbo control.

Is there any downside to using ACPI instead of AMD PState? Just wondering if this is something I should "undo" once support for AMD PSate is better supported.

Thanks.

  • Author
6 minutes ago, jademonkee said:

Is there any downside to using ACPI instead of AMD PState? Just wondering if this is something I should "undo" once support for AMD PSate is better supported.

Thanks.

Probably not for what Tips and Tweaks does.

 

Yes, you will want to remove that entry to re-enable the the amd-pstate-epp driver.  I will also have to make changes to Tips and Tweaks to handle changing the turbo mode.

7 hours ago, dlandon said:

After some research, it seems the turbo control is planned, but not ready yet for the amd-pstate-epp driver.  In the meantime, you can disable the amd-pstate-epp driver using this procedure:

  • Go to a command line and enter this command: 'echo "blacklist amd-pstate-epp" > /boot/config/modprobe.d/amd-pstate-epp.conf'.
  • Reboot Unraid.
  • You should see the ACPI CPU Freq driver that will allow turbo control.

I tried your workaround and rebooted, but it does not work. Its still the amd-pstate-epp.

 

root@nas01:~# cd /boot/config/modprobe.d/
root@nas01:/boot/config/modprobe.d# ls -al
total 128
drwx------  2 root root 32768 Feb 24 21:40 ./
drwx------ 12 root root 32768 Feb 24 21:45 ../
-rw-------  1 root root    25 Feb 24 21:40 amd-pstate-epp.conf
-rw-------  1 root root   207 Jan 17 23:47 zfs.conf
root@nas01:/boot/config/modprobe.d# cat amd-pstate-epp.conf 
blacklist amd-pstate-epp
root@nas01:/boot/config/modprobe.d# 

 

update: after your update from today, its displayed as "Driver: AMD Pstate"

Edited by cosmas

With the driver "AMD Pstate" you can only set the Governor to "Power Save" and "Performance". "On demand" and "conservative" does not work.

  • Author
2 hours ago, cosmas said:

update: after your update from today, its displayed as "Driver: AMD Pstate"

I made that change so it would be clear which driver was being used.

 

2 hours ago, cosmas said:

I tried your workaround and rebooted, but it does not work. Its still the amd-pstate-epp.

I don't know why that doesn't work.  Check that the file /flash/config/modprobe.d/amd-pstate-epp.conf exists and has the appropriate contents.

 

2 hours ago, cosmas said:

With the driver "AMD Pstate" you can only set the Governor to "Power Save" and "Performance". "On demand" and "conservative" does not work.

The driver is not fully implemented yet, so it will not work.

@dlandon

I double checked everything. But it does not work its always the amd-pstate-epp driver.

Please check.

  • Author
1 hour ago, cosmas said:

@dlandon

I double checked everything. But it does not work its always the amd-pstate-epp driver.

Please check.

I think the best bet will be to remove the driver from the kernel until it is fully implemented.

@dlandon

 

10 hours ago, dlandon said:

I think the best bet will be to remove the driver from the kernel until it is fully implemented.

 

The problem is, that I dont know, how to remove the driver from the kernel.

  • Author

Do the following:

  • Click on the "Boot Device" tab.
  • Click on the "Flash" text.
  • Click on "Syslinux Configuration".
  • Add the text "amd_pstate=disable" to the "Unraid OS" box.
  • Reboot Unraid.

image.png

  • Author

The plugin has been updated to add the 'AMD Pstate' and 'AMD Pstate EPP' cpu governor drivers.  I believe the 'AMD Pstate' driver will allow boost control, but the 'AMD Pstate EPP' driver will not.  The EPP driver is an energy efficient driver and it looks like it controls the boost to conserve power.  The CPU modes for each driver are:

  • AMD Pstate - performance, powersave, and schedutil.
    • performance → Runs at the highest frequency possible.

    • powersave → Focuses on energy efficiency by using lower frequencies.

    • schedutil → Uses Linux's CPU scheduler to adjust frequencies dynamically.

  • AMD Pstate EPP - powersave, balanced_power, balanced_performance, and performance.
    • powersave → Prioritizes power efficiency.

    • balanced_power → Balances performance and power usage, with a slight bias toward efficiency.

    • balanced_performance → Balances power and performance, but with a slight performance bias.

    • performance → Prioritizes maximum CPU performance.

I don't have a system with an AMD processor, so I have limited testing ability.  Let me know of any issues that you see.

  • Author
On 2/24/2025 at 3:04 PM, cosmas said:

With the driver "AMD Pstate" you can only set the Governor to "Power Save" and "Performance". "On demand" and "conservative" does not work.

This should be fixed in the latest version of the plugin.

I think this is broken for Intel CPUs.  I am on Unraid 7.0.1 and just updated the plug in today.  I an running an i9 10900.  Before todays update I could select "Performance" for Power Saving CPU Scaling Governor today, my only option is "Power save".  Am I missing something? Also, my only options for Normal CPU Scaling Governor are still "performance" and "Power Save".  I did reboot after the plug in update for good measure, but it is the same.

  • Author
6 hours ago, dilly120 said:

I think this is broken for Intel CPUs.  I am on Unraid 7.0.1 and just updated the plug in today.  I an running an i9 10900.  Before todays update I could select "Performance" for Power Saving CPU Scaling Governor today, my only option is "Power save".  Am I missing something? Also, my only options for Normal CPU Scaling Governor are still "performance" and "Power Save".  I did reboot after the plug in update for good measure, but it is the same.

What driver shows for the CPU Governor?

4 hours ago, dlandon said:

What driver shows for the CPU Governor?

Under driver it is showing Intel pstate, unless thats not the one you mean? Is there somewhere else I should look for this info?

Screenshot 2025-02-27 at 9.48.56 AM.png

Edited by dilly120
to include screenshot

  • Author
16 minutes ago, dilly120 said:

Under driver it is showing Intel pstate, unless thats not the one you mean? Is there somewhere else I should look for this info?

Screenshot 2025-02-27 at 9.48.56 AM.png

These are the governors available for the 'Intel Pstate' driver:

root@MediaServer:~# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
performance powersave

Try that command on your server to confirm.

Just now, dilly120 said:

Under driver it is showing Intel pstate, unless thats not the one you mean? Is there somewhere else I should look for this info?

 

6 minutes ago, dlandon said:

These are the governors available for the 'Intel Pstate' driver:

root@MediaServer:~# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
performance powersave

Try that command on your server to confirm.

confirmed.  When I cat 'cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors' it returns 'performance powersave'

  • Author
1 minute ago, dilly120 said:

confirmed.  When I cat 'cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors' it returns 'performance powersave'

That means those are the only CPU Governor choices for the 'Intel Pstate' driver.  If you saw a change since updating Unraid, then the driver for your processor changed with the latest Linux kernel.

6 minutes ago, dlandon said:

That means those are the only CPU Governor choices for the 'Intel Pstate' driver.  If you saw a change since updating Unraid, then the driver for your processor changed with the latest Linux kernel.

OK so just to confirm, even though in the tips section it is written "If you set the 'Power Save' CPU Governor, you may see your processors stuck at 800 MHz. It is recommended you use the 'Performance' Governor for best performance and power savings." - I simply no longer have that option?

 

EDIT: Upon further inspection, it seems that no matter what I set the Normal CPU Scaling Governor to (performance or power save) the only change that has any effect on clock speeds is setting turboboost on or off. as seen with 'watch grep \"cpu MHz\" /proc/cpuinfo'.

Edited by dilly120
added more info

  • Author
5 minutes ago, dilly120 said:

OK so just to confirm, even though in the tips section it is written "If you set the 'Power Save' CPU Governor, you may see your processors stuck at 800 MHz. It is recommended you use the 'Performance' Governor for best performance and power savings." - I simply no longer have that option?

That comes from Intel.  They recommend Performance (you have that choice), for best overall performance and power savings.  The 'Power Saving' mode is good for after hours when performance is not important.  You can do this using Tips and Tweaks scheduling.  I also recommend turning off Turbo after hours with Tips and Tweaks scheduling.

2 minutes ago, dlandon said:

That comes from Intel.  They recommend Performance (you have that choice), for best overall performance and power savings.  The 'Power Saving' mode is good for after hours when performance is not important.  You can do this using Tips and Tweaks scheduling.  I also recommend turning off Turbo after hours with Tips and Tweaks scheduling.

Thanks for your time.  I appreciate you explaining it like that, it makes a lot of sense.  

@dlandon

On 2/26/2025 at 2:58 PM, dlandon said:

Do the following:

  • Click on the "Boot Device" tab.
  • Click on the "Flash" text.
  • Click on "Syslinux Configuration".
  • Add the text "amd_pstate=disable" to the "Unraid OS" box.
  • Reboot Unraid.

image.png

 

thank you, that works fine. The driver is now again "ACPI CPU Freq".

@dlandon

On 2/26/2025 at 5:53 PM, dlandon said:

The plugin has been updated to add the 'AMD Pstate' and 'AMD Pstate EPP' cpu governor drivers.  I believe the 'AMD Pstate' driver will allow boost control, but the 'AMD Pstate EPP' driver will not.  The EPP driver is an energy efficient driver and it looks like it controls the boost to conserve power.  The CPU modes for each driver are:

  • AMD Pstate - performance, powersave, and schedutil.
    • performance → Runs at the highest frequency possible.

    • powersave → Focuses on energy efficiency by using lower frequencies.

    • schedutil → Uses Linux's CPU scheduler to adjust frequencies dynamically.

  • AMD Pstate EPP - powersave, balanced_power, balanced_performance, and performance.
    • powersave → Prioritizes power efficiency.

    • balanced_power → Balances performance and power usage, with a slight bias toward efficiency.

    • balanced_performance → Balances power and performance, but with a slight performance bias.

    • performance → Prioritizes maximum CPU performance.

I don't have a system with an AMD processor, so I have limited testing ability.  Let me know of any issues that you see.

 

Thank you for the new version of this plugin. But some settings are missing.

At "Normal CPU Scaling Governor" there is missing "Balanced Power".
At "Power Saving CPU Scaling Governor" there is missing "Balanced Performance".

And the descriptions maybe need to be updated.

 

 

Screenshot_1.png

Screenshot_2.png

 

My CPU does only support "performance" and "power save" :((

 

Quote

root@nas01:~# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors
performance powersave

 

Edited by cosmas

Good afternoon,

 

Tried to update to current release and it failed.  Uninstalled and attempting to reinstall and am getting this:

image.thumb.png.9109fa31723af6565a38f4aa3776a479.png

DC your dns network settings. when CA plugin file in download its 90% a dns issue. Otherwise, is a misconfigures network setup for unraid and home networking.

 

set dns to google 8.8.8.8 abnd try again.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.