AWS Thinkbox Discussion Forums

Custom job to disable local worker overrides?

Hi All!

I’ve been running into issues with users leaving their local worker overrides for cpu and gpu affinity on after they finish at work. This is a bit of an issue as most of the artist workstations contribute a lot to the farms rendering capacity. I’ve been looking at creating a custom script to simply run every day to disable the affinity overrides the users might set during the day.

I was wondering if this could be achieved by creating a deadline command job that’s a repeating scheduled job and runs a python script on every worker that check is the override is enable and if necessary disables it. This could give me the flexibility to see if the job was done and maybe report back the worker states so i can “notify” the artist :slight_smile:

Is this a workflow that’s advisable or should i look into a different type?

you could create 2x workers on each slave and set them via scheduling, so 1x ‘daytime’ Worker that has access to gpu2 only, then 1x ‘nightime’ worker that has both cards and schedule that to start/stop at 9am/pm

Else you could run log-on/off scripts to do something similar? or if a machine goes idle then run deadlinecommand to change the affinity?

1 Like
Privacy | Site terms | Cookie preferences