slave timesheet

I’m trying to improve scheduling of our render nodes and I’m hoping I can mine some data from deadline about what each slave is doing throughout the day. Essentially creating a timesheet like human employees would fill out to determine billable hours, etc. Node1 = 8 hours on job 2, 8 hours on job 4 and 14 hours on job 5 for example.

I can’t quite figure out what information I need to be pulling out of the repository to figure this out. To complicate things a little, often single tasks (frames) are started on one machine and then resumed on another (using Maxwell render and resuming the mxi files) so I can’t just add up each task’s time, since I believe it won’t capture the fact that it spent 4 hours on node1 and then 5 hours on node2. Instead it would assign all 9 hours to node2, is that correct?

If I can’t get it straight from the repository information, I can always just set up a script that runs every 10 minutes or so and checks what each slave is doing and saving that out, but scanning the repository seems a little more elegant.

Any advice?

That’s actually probably the best way to do this. You can have your script call “deadlinecommand.exe -GetSlaves true” to print out all the slave information in an INI-file like format, and you can parse this for the slave status.

This is pretty much how our built-in stats gathering for slaves work. The only issue with our built-in stats system is that there is currently no command line API to pull that information.

Cheers,

  • Ryan

Perfect, that command is much better than trying to sort through the repository on my own.

thanks