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


Recommended Posts

20 hours ago, BuTscH said:

In Unraid 6.9.0 the drop-down menu is broken for: Enable Intel Turbo...

I cant choose yes or no.

In 6.8.3 it works.

 

1156935465_Screenshot2021-03-03034327.png.897195282acbfca15b3ef69f27fe3e47.png

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 the intel_cpufreq driver.  I am adding that driver and will issue an update once it is tested.

  • Thanks 3
Link to comment
6 hours ago, dlandon said:

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 the intel_cpufreq driver.  I am adding that driver and will issue an update once it is tested.

Sound good have more control for intel_cpufreq 👍

Edited by Vr2Io
Link to comment

EDIT: Nevermind! 

Found the below comment that explains governors on Intel Pstate driver:

 

_________________________________________________________________________________

Original Post:

 

Under CPU Scaling Governor I have no option for ondemand, not sure if this is normal?

 

 

Running unRAID 6.9.0:

 

image.png.94d76e9ea11eee4cbf1d9109f365b80d.png

 

 

image.thumb.png.a14942314270dd68f8305ebf3309a25b.png

 

 

 

Is this as expected?

 

Thanks a million for your work.

 

Edited by Capt.Insano
Answered my own question
Link to comment
  • 1 month later...

i was trying to setting up unraid with a 3400g after setting up fix common problems ,  it shows that i do not have cpu scaling driver, so i try to install tips and tweaks ,but keep getting error  showing that /bin/bash retval: 1 updating Support Links, please tell me how can i fix that

 

 

May 6 23:11:23 Snorlax emhttpd: cmd: /usr/local/emhttp/plugins/community.applications/scripts/pluginInstall.sh install https://github.com/dlandon/tips.and.tweaks/raw/master/tips.and.tweaks.plg
May 6 23:11:26 Snorlax root: plugin: running: anonymous
May 6 23:11:26 Snorlax root: plugin: skipping: /boot/config/plugins/tips.and.tweaks/tips.and.tweaks-2021.03.09.tgz already exists
May 6 23:11:26 Snorlax root: plugin: running: anonymous
May 6 23:11:50 Snorlax nmbd[31733]: [2021/05/06 23:11:50.207211, 0] ../../source3

Edited by Jinnyu
Link to comment
  • 3 weeks later...

Hello,

 

Yesterday I noticed this error on the console when Unraid starts:

Quote

syntax error. Last token seen: a

It appears just after the "Starting Samba:" lines.

 

It turned out that the Tips and Tweaks plugin is the cause of this error (it didn't show anymore when I uninstalled the plugin). I tried to install it again and I got the same error again.

IMG_20210527_151646.jpg

Edited by wblondel
Link to comment
  • 2 weeks later...

Running 6.9.2, 3900x on a x470 board.

 

In tips and tweaks it says "no drivers" and Turbo boost option is blank.

Governers are selectable.

 

Do I need to load my own driver ?

 

root@Tower:~# cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to [email protected], please.
analyzing CPU 0:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 4294.55 ms.
analyzing CPU 1:

 

 

Link to comment
  • 4 weeks later...
On 6/8/2021 at 10:14 PM, bobo89 said:

Running 6.9.2, 3900x on a x470 board.

 

In tips and tweaks it says "no drivers" and Turbo boost option is blank.

Governers are selectable.

 

Do I need to load my own driver ?

 

root@Tower:~# cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to [email protected], please.
analyzing CPU 0:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 4294.55 ms.
analyzing CPU 1:

 

 

Anyone?

Link to comment
  • 2 weeks later...
  • 1 month later...

Is it possible to use Tips and Tweaks to turn Turbo Boost On/Off when (1) Starting a VM or (2) with User Script (e.g. turn off Turbo prior to running the main portion of script)?

 

In the Unraid logs all I'm seeing after modifying Turbo is  

/usr/local/emhttp/plugins/tips.and.tweaks/scripts/rc.tweaks 'apply'

 

which doesn't explain the parameters changed within the plugin. Any help appreciated!

Edited by jmiller180
better explanation of log
Link to comment
13 hours ago, jmiller180 said:

Is it possible to use Tips and Tweaks to turn Turbo Boost On/Off when (1) Starting a VM or (2) with User Script (e.g. turn off Turbo prior to running the main portion of script)?

 

In the Unraid logs all I'm seeing after modifying Turbo is  

/usr/local/emhttp/plugins/tips.and.tweaks/scripts/rc.tweaks 'apply'

 

which doesn't explain the parameters changed within the plugin. Any help appreciated!

That is not currently possible.  Not sure why you'd want to do that.

Link to comment
52 minutes ago, wgstarks said:

Its in Settings>FTP Server.

I may be out of date on my info here but I recall that setting not persisting between reboots (at least in older versions of unraid). Which is why I thought tips and tricks had a disable telnet & ftp option in it.

 

Yeah, it is still listed in the OP so it was there at one point:

On 5/21/2016 at 7:49 AM, dlandon said:

Updates

  • Added the capability to disable FTP and Telnet.
Edited by weirdcrap
Link to comment
26 minutes ago, weirdcrap said:

I may be out of date on my info here but I recall that setting not persisting between reboots (at least in older versions of unraid). Which is why I thought tips and tricks had a disable telnet & ftp option in it.

 

Yeah, it is still listed in the OP so it was there at one point:

Those were removed because they no longer apply.

  • Thanks 1
Link to comment
On 9/2/2021 at 8:23 PM, dlandon said:

Those were removed because they no longer apply.

My server was rebooted this evening and I went to check and sure enough the FTP service was re-enabled again. Is there somewhere besides Settings > FTP Server I should be disabling it so it persists between reboots?

Edited by weirdcrap
Link to comment
1 hour ago, weirdcrap said:

My server was rebooted this evening and I went to check and sure enough the FTP service was re-enabled again. Is there somewhere besides Settings > FTP Server I should be disabling it so it persists between reboots?

Upgrade to 6.10.  The FTP server is disabled by default.

  • Thanks 1
Link to comment
11 hours ago, dlandon said:

Upgrade to 6.10.  The FTP server is disabled by default.

Ah, its a change in the 6.10 series that led to those options being removed, that makes sense.

 

I'll have to wait on the upgrade for a bit, having some server instability right now that I want to resolve before I move to an RC version.

Link to comment
  • 2 months later...

I really hope someone will help me as this is my third post regarding this issue. I have been reading and wrapping my brain trying to to change the Max Watches 'fs.inotify.max_user_watches' variable. I started trying to use the terminal using the following command:

 

sudo sh
echo  fs.inotify.max_user_watches=4194304  >> /etc/sysctl.conf
sysctl -p


This ended up just adding fs.inotify.max_user_watches=4194304 to the sysctl.conf and did not replace the variable. After reading a bunch of forum posts regarding the issue I was directed towards using the "tips and tweaks" plugin. Setting this variable to 4194304 did not actually change anything. I also tried 999999, 1048576, and 2097152. Realizing I needed to probably restart the server for the changes to take effect I restarted. I am still showing the default value in the terminal and tips and tweaks.

 

image.thumb.png.a77afe0aa848793d8fad3bd3387c0b35.png

 

Here is my original post on the Plex Linux Docker:

https://github.com/linuxserver/docker-plex/issues/291

 

Unraid Forums Post:

 

Any assistance would be appreciated!

diagnostics-20211130-0645.zip

Edited by ItsRaining
Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.