How to use Nimby Scheduler

General discussions and questions.
Post Reply
crisosie
Posts: 2
Joined: Thu Jun 21, 2018 12:00 pm

How to use Nimby Scheduler

Post by crisosie »

I've been looking for some documentation about Nimby but haven't found anything other than this
http://cgru.info/afanasy/server#farm_nimby_idle_cpu

We are trying to program our computers so that they will start rendering at a certain time (say midnight) and stop rendering at another time (say 7am).
Is there an easy way to do this? How would you do this? Can I have a step to step guide?

Thank you in advacne!!
User avatar
timurhai
Site Admin
Posts: 910
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: How to use Nimby Scheduler

Post by timurhai »

Hi.
Sorry for a delay, i was on vocation.

There is a Nimby Scheduler in a CGRU Keeper http://cgru.info/keeper
CGRU Keeper is a Py(Qt|Side) program that should be launched with a display by a logged in user (CgArtist).
It can turn on and off Nimby at configured time on a logged in workstations.

You can also configure auto Nimby in a farm setup (configuration) file http://cgru.info/afanasy/server#farm_nimby_idle_cpu
For example Nimby will be turned off automatically by afserver when a free (has no afanasy tasks) machine has less than 5% CPU (nimby_idle_cpu=5) for last hour (nimby_busyfree_time=3600)
This way no keeper, display and logged in user needed, you can use this on render nodes and workstations.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
rhradec
Posts: 4
Joined: Tue Apr 04, 2017 7:34 pm

Re: How to use Nimby Scheduler

Post by rhradec »

There's no setup to turn NIMBY on automatically by the farm setup, right? Is the only way to turn it on by using the keeper?

I'm trying to "auto-on" nimby (and also eject running renders when nimby is turned on) when users start using the machine, so to avoid frustration.
User avatar
timurhai
Site Admin
Posts: 910
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: How to use Nimby Scheduler

Post by timurhai »

Hi.
You can setup farm to set/unset nimby depending on cpu/mem/disk/network usage.
And not on time or user login.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
3dlp
Posts: 12
Joined: Thu May 19, 2022 3:12 pm

Re: How to use Nimby Scheduler

Post by 3dlp »

Hi
Cant find this on Docs (links broken)
Which are the differences between nimby and NIMBY ?
thx !
User avatar
timurhai
Site Admin
Posts: 910
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: How to use Nimby Scheduler

Post by timurhai »

Hi
https://cgru.readthedocs.io/en/latest/a ... html#state

There is no documentaton on Nimby schedule.

Old forum links can be broken as documentation moved from https://cgru.info/ to https://cgru.readthedocs.io/en/latest/.
This allows developers to write docs collaboratively using reStructuredText and Sphinx.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
3dlp
Posts: 12
Joined: Thu May 19, 2022 3:12 pm

Re: How to use Nimby Scheduler

Post by 3dlp »

Its ok, thanks for your reply

I remember reading that one nimby is instantaneous and the other is executed at the times set in the schedule.
which is which ?

nimby =
NIMBY =

cheers
User avatar
timurhai
Site Admin
Posts: 910
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: How to use Nimby Scheduler

Post by timurhai »

nimby and NIMBY are render states.
Render state can be set automatically by afserver (auto nimby), by users via GUIs, by JSON and Python APIs.
CGRU Keeper can set nimby by schedule via Python API.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
3dlp
Posts: 12
Joined: Thu May 19, 2022 3:12 pm

Re: How to use Nimby Scheduler

Post by 3dlp »

Thanks !
Post Reply