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.

[Plugin] Mover Tuning

Featured Replies

Simple question. At what % of cache drive does the GUI complain of high usage of disk? I want to ride that %.

 

 

  • Replies 3.5k
  • Views 490.9k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • hugenbdd
    hugenbdd

    New Version 07-03-2023   HUGE thanks/Shout-out to @Swarles for the help with updating code fixes and adding a great new feature.  You can now have some customization per share.  It's great t

  • How to ignore a SINGLE file 1.) Find the path of the file you wish to ignore.     ls -ltr /mnt/cache/Download/complete/test.txt         root@Tower:/# ls -ltr /mnt/cache/Download/complete/test

  • Hi all, I made a new version of the plugin. This fork replaces @hugenbdd's plugin which is not maintained anymore and will land in community applications if your feedbacks are positive.  

Posted Images

This is user adjustable for all disks and for each disk.

 

For cache:

Main - Cache Devices - Cache - Cache Settings - Warning (or Critical) Disk Utilization Threshold.

 

Similarly for each disk.

 

The default for all disks is at Settings - Disk Settings - Warning (or Critical) Disk Utilization Threshold.

Thank you

 

Is there a log to see when the last time mover tuner ran?

 

I have mover set for every 4 hours. But mover tuning set so driver has to be 75% full before mover will actually run.

  • Author

In the syslog, it should show Mover started.  Personally I have this set up so that it also forces the move once per day (but checks hourly for the threshold to be exceeded)

I only want it to run mover when over 75% of cache used.

 

image.thumb.png.062fb27296800f7d60447c748fb1ca44.png

2 hours ago, scubieman said:

I only want it to run mover when over 75% of cache used.

Then why are you not disabling the schedule?

Dont i have to leave scheduler on for it to work?

 

26 minutes ago, scubieman said:

Dont i have to leave scheduler on for it to work?

Yes you're right. Just read the docs. I don't use this so hadn't bothered before.

  • Author

Those settings will work.  You can always enable Log when not moving due to rules to see what its doing every 4 hours.

Hi Squid,

 

up until now I have used a custom script for the following:

- Run mover at 3.30 am to move all movable files

- Run mover script hourly to check if cache is at > 90% used

 

I want to prevent my cache completely filling up.

 

I would like to stop using a script for that, but as of now, this is unsupported by the addon, correct?

Would be happy if you considered adding this.

 

Kind regards

 

  • Author
12 hours ago, rix said:

Hi Squid,

 

up until now I have used a custom script for the following:

- Run mover at 3.30 am to move all movable files

- Run mover script hourly to check if cache is at > 90% used

 

I want to prevent my cache completely filling up.

 

I would like to stop using a script for that, but as of now, this is unsupported by the addon, correct?

Would be happy if you considered adding this.

 

Kind regards

 

I'm a bit confused, because your scenario is exactly what the plugin does.

lemme try to clear up the confusion.

 

how would i set this up:

-mover running daily to move all and any files to the array (regardless of space available on the cache)

-mover running hourly to only move all and any files to the array if cache is > 90 % full

 

i understand the options that setting the 90% limit will also affect the regular daily mover process..

I am fairly certain that is not how the mover works.

 

What you could do and what I have is.

 

Run mover like every 2-4 hours if over certain % then move from cache to array.

1 hour ago, rix said:

move all and any files to the array

Of course it only moves user shares that are set to cache-yes.

 

As for what you are asking to do, you might get the idea simply by looking at the screenshot a few posts up on this same page.

 

  • Author
1 hour ago, rix said:

-mover running daily to move all and any files to the array (regardless of space available on the cache)

-mover running hourly to only move all and any files to the array if cache is > 90 % full

Once again, its exactly what it does.

 

You set mover to run every hour.

 

In the tuner settings, you tell it to only move at 90%.  And you also tell it to do a force move (via a cron schedule) once per day.

Thanks for the advice. I now managed to set this up. Failed to understand the options.. 😅

  • 4 weeks later...

Is it correct set up?

 

check every hour if >80%, then move. (could that be added to make it every half an hour? Maybe a custom cron tab?)

 

and force every day 23:55 ?

 

 

1.png

Edited by nuhll

  • 4 weeks later...
On 1/17/2019 at 2:24 AM, nuhll said:

Is it correct set up?

 

check every hour if >80%, then move. (could that be added to make it every half an hour? Maybe a custom cron tab?)

 

and force every day 23:55 ?

 

 

1.png

Unless your wanting it to run during a Parity check I would change the yes to no on Lines 3 and 6

 

Otherwise it looks like your having it run no matter what when it hits 80% of Capacity and as well every day at 23:55.

 

If that's your plan I don't honestly see any mistakes.

  • 4 weeks later...

Is there anything special to watch out for when uninstalling this plugin? I found that after uninstalling, the mover does no longer do anything at all... Any ideas?

  • Author

Shouldn't be a problem, but a reboot will always fix any issues

  • 1 month later...

Simple question, unless I'm missing something:

 

It looks like with this plug-in enabled, the default daily mover operation gets overridden, correct?

I always thought MT ran in addition to schedule.

 

For my use-case, I'd like the mover to still run daily, but also have this set to move at x%, just in case the cache gets full from a busy day. I realise I could force this via cron, but then it would also trigger during a parity check, which I would rather not happen.

 

If I'm missing something obvious, please let me know. Otherwise, would it be possible to include this option in an update?

 

image.png.b95808c8d0f93e6b6f8ad709f15f2d41.png

Edited by -Daedalus

4 minutes ago, -Daedalus said:

Simple question, unless I'm missing something

I think a similar question, complete with screenshots, was already discussed on this page. Also, the Help for this plugin might clear things up for you.

That was a mighty fast reply!

 

You're right, of course. I was initially going to say that setting a daily move through cron would mean that the mover would run during a parity check (for some reason I assumed the "don't move during parity" option was only for the x% move), but on reflection, that would be nonsensical.

 

Dumb-ass satisfied. Carry on.

  • 1 month later...
  • Author

Added in two more tunables:

 

Priority of the mover process itself (Normal, Low, Very Low) and

I/O priority of the process (Normal, Low, and Idle)

 

Setting these *may* help with the odd user where the mover process interferes with the normal operation of the GUI / other apps.  Note that if your system pauses all I/O streams if/when a disk is required to spin up that these tunables will not help out all (In which case, do what I did -> adjust Kodi's (eg) caching settings)

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.