2 Questions need help with - 1) Routes not persistant and 2) perfomance option disabled and not exposed - why?


Recommended Posts

Hello again,

 

Im still struggling on with unraid as a new user to the product, and still going strong with my home setup on old kit I had lying about. I did have a couple of additional questions that have come up. The first is if I add a route in settings - network settings - routing table, then the route is gone after I reboot. That seems a bit illogical, since I now have to add the route every time I restart unraid. Shouldn't that be something that gets saved to the config? If not what is the reason behind that decision? How can I bypass this and keep it persistent?

 

The second is to do with a performance option that also seems disabled. Im no expert on this but on other products you can have the system manage the RAM a bit better for your VM's. So for example (wouldn't recommend overprovision as can cause problems - just did this as a test to show an example) if you enable ksm through the command line you can see that I can allocate 12GB to VM's and if I start them up carefully and give ksm time to run the actual usage can drop to much lower (like normally 20-30% less RAM is used I believe). Why would unraid have this disabled, or no way I can see in the web interface to enable it, yet the modules for it are present and ready to be used? Is there a technical reason I dont know about that makes this unsuitable for use? It seems like something worth enabling if there is no technical reason preventing usage, for example if I cat pages_sharing I see its value is 1559164 = approximately 6GB (1559164*4096/1000000). If this is not going to be added, then again just like the route issue how can I make such a change persistent on a reboot?

 

Many thanks for anyone who has any comments in advance. You time is appreciated :)

 

Pete

 

529283674_Screenshotat2020-01-1513-28-45.thumb.png.8c3db873562ec5a724aea967ea0777cc.png

Link to comment
  • 1 year later...
On 1/17/2020 at 2:25 PM, PeteUnraid said:

I solved this by downloading the ca user scripts plugin and adding this script to achieve what I wanted:

 

#!/bin/bash
ip route add 192.168.3.0/24 dev br0
echo 1 > /sys/kernel/mm/ksm/run

 

It seems we are looking for the same things... 

Tell me do you still use unraid ? If yes, still with KSM enabled ? No issues ?

 

image.thumb.png.c54c24c96b12e8101453c8c215a591c0.png

 

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.