Afanasy render farm manager

  1. Homepage
  2. Render Manager
  3. Afanasy render farm manager
Afanasy render farm manager

Afanasy render farm manager

Afanasy is a free and open source tool to control remote computing. You can compute something more quickly using render farm – remote computers connected by network. Afanasy designed for computer graphics (3d rendering and 2d compositing) parallel calculation. It can compute different frames (or even parts of frames) on several computers simultaneously.

Afanasy provides render farm monitoring. It is very important to watch computers resources during render process. You can see what kind of resource (CPU, memory, network etc.) is more needed to render. It is very useful to know what are farm hosts doing.

Afanasy engine simple runs different command lines on hosts and controls processes running. You can use Afanasy to parallel calculate anything you can describe (split) through command lines.

 

Features:

Render computer resources monitoring.

You can monitor CPU usage: User, Nice, System, I/O Wait and Load Average. Memory, Swap and HDD usage. Network traffic. Disk I/O operations speed and utilization percentage. This can help you to diagnose what slows rendering process. Especially swap, I/O wait and network traffic.

You can write your own custom resource(s) meter(s) on python. And Watch will plot their graphs.

 

Multiply Tasks Renders (clients, slaves, hosts)

Render can run several tasks at the same time.

Useful for “powerful” hosts with several CPUs. Render and Task has a capacity attribute, each task checks available capacity on render, and if its enough, task launches and take its capacity value from render.

Tasks can variate capacity ‘on-the-fly’

Capacity variation can be described through its minimum and maximum coefficients.

 

Paths Map

Every host can has different paths and a map to translate paths to server and from server. With this feature you can setup a multi-OS render. You can use different operating systems on farm hosts and to submit jobs from any OS to render it on any OS.

 

Dependencies

Job can depends on other job(s) of the same user (depend mask) or on some job(s) from any user (global depend mask). Job will wait other jobs to be done matching this mask regular expression (Afanasy uses Qt Regular Expressions, they are Perl-like).

Job Block can wait other block(s) to be done (depend mask). Block tasks can wait other block tasks to be done (tasks depend mask).

 

Sub Task Dependence

Tasks can wait only some part of other task to be done. Useful to render simulations. First frames of a simulation can be started to render without waiting the whole simulation to be done.

 

Errors Solving

Job Errors Hosts List – block store host names where error was occurred and number of errors for each host. If this number greater it’s limit, block will ‘avoid’ this host (not to run tasks on render with such hostname).

Tasks Errors Hosts List – the same as described above, but for each task.

Tasks Auto Retry – maximum number of errors to retry task automatically.

Tasks Maximum Run Time – the time after running considered as an error task.

Errors Forgive Time – time from last host error to forgive all it’s errors (remove from error hosts list).

User define this default values for his new jobs and can to override them in each job, watch and reset any error hosts list.

 

Services Limits – Software Licenses Setup

You can describe various services (tasks) limits:
– Maximum number of total service starts on an entire farm.
– Maximum number of hosts which started a service (each host can start several tasks of a service).
– Maximum number of service starts on each host.

 

Priorities

User and job with greater priority can get more hosts.

 

Hosts Masks

Users and Jobs can have a hosts names mask to be able to run on and exclude mask for hosts to avoid.

 

Maximum Running Tasks Number

Users and Jobs can have a limit for maximum running tasks number – no new tasks will be started above this limit.

 

Maximum Running Tasks Per Host

You can limit job (and block) to start tasks on the same host.

 

JSON Protocol

Any information can be send ti and retrieved from server via JSON. You can send jobs and write custom GUI.

 

Python API

You can create and send job using Python. Setup services and parsers through Python classes inherited from base service and parser.

 

Services and Parsers

Service – ‘block tasks type’, for example: ‘nuke’, ‘mantra’, ‘blender’, ‘movgen’, ‘maya’.

Service setups a default task output parser type (which can be overridden later). Services python classes all inherited a base ‘service’ class. Service class describes command line manipulations, such as apply paths map.

Parser – read task output to calculate running progress. Parsers are python classes and can be combined (multiply inheritance), for example: ‘hbatch_mantra’ – inherits ‘hbatch’ and ‘mantra’ parsers to listen to tasks when Houdini generates a files for mantra, such parser listen for frames switching (when several frames per render set) and calculates valid percentage.
Parser can produce errors or warnings if it founds “bad” text. So render can stop task with error if it produced bad output.

 

Job – Block – Task

Job consists of blocks, which produce tasks. There are two types of blocks numeric and not. Numeric block don’t store tasks data, it generates tasks ‘on-the-fly’ by some rules. Not numeric blocks contains data for each task. Task inherits most attributes from block (for example all block tasks has the same working directory). But some other attributes individual (commands for example).

1 000 000 Tasks Job !

As Tasks are generated by job blocks “on demand”, Afanasy (and Server and GUI) can handle numeric blocks with huge tasks number.

 

Farm setup

Map hosts names and their abilities through patterns described in JSON file. You can describe job and block ‘need‘ properties to be able to run only on hosts which satisfy this needs(OS, free memory etc.). Server can reload this file (and reconfigure itself) “on-the-fly”, without restart and keep tasks running.

 

Web Visor

Web interface to Afanasy SQL database to show various statistics.

 

SQL Statistics

Afanasy stores done jobs and finished tasks in adatabase. There is some ready Web GUI to show it. And you can type any SQL query to get some information.

 

Command Line Interface

Afanasy has a command line interface for various purposes. You can set some server parameter “on-the-fly”. Change some user, job, host attributes. Query users, jobs, hosts attributes and traffic statistics.

 

Support Application

  • AfterFX
  • Blender
  • Cinema 4D
  • Fusion
  • Houdini
  • Max
  • Maya
  • Natron
  • Nuke
  • XSI

 

Gallery

 

 

get in touch