Network Rendering 17798

20
By Jean-Luc DAUREIL 2 janvier 2007 1 NETWORK RENDERING for formZ by INTRODUCTION The goal of this t utorial is to show how we can work with the network rendering when using the Lightworks rendering engine under Form*Z. You should read the NETWORK RENDERING section of t he manual before this document. I simply want to share my own experimentation so all the document i s made from the example of my simple network. I actually have two computers I want to participate to the farm. Pentium 4 D930 3GHz 2gig of RAM Name: “JEAN-LUC” Description of the computer: “Station 1 Server” IP address: 192.168.1.10 Pentium 4 D940 3GHz 2gig of RAM Name: “MATTHIEU” Description of the computer: “Station 1 Server” IP address: 192.168.1.20 All IP addresses on my network are manually set for computers and peripherals The work group for all is “BUREAU” You should have a clean installation of all these components: Installation of Form*Z on at less one computer Installation of the RENDER CLIENT Installation of the RENDER SERVER on the “controller” computer All these installations have been made under a clean process for Windows XP. (See my tutorial in the corresponding section of the forum.)

Transcript of Network Rendering 17798

8/14/2019 Network Rendering 17798

http://slidepdf.com/reader/full/network-rendering-17798 1/20

By Jean-Luc DAUREIL 2 janvier 20071

NETWORK RENDERING

for formZ by

INTRODUCTION

The goal of this tutorial is to show how we can work with the network rendering when using the Lightworks rendering engine under Form*Z.

You should read the NETWORK RENDERING section of the manual before this document.

I simply want to share my own experimentation so all the document is made from the example of my simple network.

I actually have two computers I want to participate to the farm.

Pentium 4 D930 3GHz 2gig of RAM Name: “JEAN-LUC”

Description of the computer: “Station 1 Server”IP address: 192.168.1.10

Pentium 4 D940 3GHz 2gig of RAM Name: “MATTHIEU”Description of the computer: “Station 1 Server”IP address: 192.168.1.20

All IP addresses on my network are manually set for computers and peripheralsThe work group for all is “BUREAU”

You should have a clean installation of all these components:

Installation of Form*Z on at less one computerInstallation of the RENDER CLIENTInstallation of the RENDER SERVER on the “controller” computer

All these installations have been made under a clean process for Windows XP.(See my tutorial in the corresponding section of the forum.)

8/14/2019 Network Rendering 17798

http://slidepdf.com/reader/full/network-rendering-17798 2/20

By Jean-Luc DAUREIL 2 janvier 20072

PORTS CONFIGURATION

The numbers for ports are assigned by the (Internet Assigned Numbers Authority “IANA”)http://www.iana.org/assignments/port-numbers

As we can see we have an interval between the followings numbers:

# 28241-29166 Unassigned

In our case we have three kinds of ports to configure:

1- Port for the RENDER SERVER 2- Ports for each RENDER CLIENT 3- Ports for USERS 

You can use the automatic settings for some of these but I prefer manual settings so I can control exactly what I make and what my firewall do.

Summary:

1- RENDER SERVER PORT 

Go to the “server configuration” dialog by using the “configure” button of the RENDER SERVER window.

Set it as 28838.You should not change the default setting except if you get a conflict.

8/14/2019 Network Rendering 17798

http://slidepdf.com/reader/full/network-rendering-17798 3/20

By Jean-Luc DAUREIL 2 janvier 20073

2- CLIENTS RENDER PORTS 

Go to the server “client settings” dialog by using the “Settings” button of the RENDER CLIENT window.

Set them with numbers included in the interval seen above.So I’ve chosen for my clients

JEAN-LUC = 28810MATTHIEU = 28820

(as you can see the numbers of the ports are logically found from the IP address)JEAN-LUC @ 192.168.1.10 port 28810MATTHIEU @ 192.168.1.20 port 28820

8/14/2019 Network Rendering 17798

http://slidepdf.com/reader/full/network-rendering-17798 4/20

By Jean-Luc DAUREIL 2 janvier 20074

3- USERS PORTS 

I prefer use registered users to have the possibility of keeping the file on the server machine for several renders from the same scene, and for clarity in theprocess.

In fact I’ve two licenses so I can set the registered users as fellow

USER 1Name = jlformzPort = 28831

USER 2Name = jlimagerPort = 28832

And I can reserve ports numbers for additional users in example:

USER 3

Name = matformzPort = 28833

USER 4Name = matimagerPort = 28834

8/14/2019 Network Rendering 17798

http://slidepdf.com/reader/full/network-rendering-17798 5/20

By Jean-Luc DAUREIL 2 janvier 20075

For FormZ:

Go to “network settings” dialog by using the “settings” button of the “Network render Status” dialog.To go to the “Network render Status” use the “Network render Status” item in the Display menu of the main interface of Form*Z

In my case I’ve set the port as static to 28831

( the number is 288 + 3 (server series) +1 (first registered user))So that return a number easy to memorize, I just have to remember that my Form*Z on the JEAN-LUC is the first user.

For the Imager (stand alone):

If you are using the Imager you have to access to the “network settings” dialog by using the “Network Render Status” button on the bottom of the Imager set andthe “settings button” of the “Network Render Status” thus opened.

8/14/2019 Network Rendering 17798

http://slidepdf.com/reader/full/network-rendering-17798 6/20

By Jean-Luc DAUREIL 2 janvier 20076

In my case I’ve set the port as static to 28832

8/14/2019 Network Rendering 17798

http://slidepdf.com/reader/full/network-rendering-17798 7/20

By Jean-Luc DAUREIL 2 janvier 20077

FIREWALL

We have to open all of these ports on the active firewall.I run the windows XP f irewall so I can explain the procedure for all XP users.

Go to the Windows firewall from the configuration panel

You have to use the add port button on the “Exceptions page

The dialog for a new port is as:

8/14/2019 Network Rendering 17798

http://slidepdf.com/reader/full/network-rendering-17798 8/20

By Jean-Luc DAUREIL 2 janvier 20078

In my case I have:

FZ RENDER CLIENT JL = 28810FZ RENDER CLIENT MAT= 28820

FZ RENDER SERVER = 28838

JLformz REGISTERED USER = 28831JLimager REGISTERED USER = 28832

For simplicity I open all of these ports on all machines on the local network.

8/14/2019 Network Rendering 17798

http://slidepdf.com/reader/full/network-rendering-17798 9/20

By Jean-Luc DAUREIL 2 janvier 20079

HOW TO RENDER ?

CONFIGURATION FOR THE RENDER SERVER

Launch the render server on the “controller” computer

Click > “configure” button

8/14/2019 Network Rendering 17798

http://slidepdf.com/reader/full/network-rendering-17798 10/20

By Jean-Luc DAUREIL 2 janvier 200710

Settings:Port 28838 (default)Check clients Every 9 seconds (minimum)Disconnect Clients after 15 Missed Checks (minimum is 3 but 15 give a better stability)

Nb: the “Check clients” parameter could be increased to 200.This should increase the performance but with less precision on the status of the Clients in the clients list of the server.

CONFIGURATION FOR THE RENDER CLIENTS

Launch the render clients on the each computer

Click > “Settings” button

8/14/2019 Network Rendering 17798

http://slidepdf.com/reader/full/network-rendering-17798 11/20

By Jean-Luc DAUREIL 2 janvier 200711

1- Browse the network to add the server (as you can see the address show the port 28838 previously set)2- No need to synchronize Time to Server for local machines3- Set the PORT to static you can choose a port in the interval 28241-29166 as mentioned before. Here it’s 28810 and it correspond to the IP address for simplicity.

Of course DO NOT USE the same number of the RENDER server (28838)

4- you can set the Client Strength to 50 ( I will explain this further)

Don’t forget that the “Remove Job F iles” is use to delete the files placed on the local machine (where a client run)On Win XP these files are localized here:C:\Documents and Settings\[USER]\My documents\formZ network client\files 

8/14/2019 Network Rendering 17798

http://slidepdf.com/reader/full/network-rendering-17798 12/20

By Jean-Luc DAUREIL 2 janvier 200712

RENDERING FROM FORM*Z

Select the “Network render” item from the display menu:

CLICK OK

8/14/2019 Network Rendering 17798

http://slidepdf.com/reader/full/network-rendering-17798 13/20

By Jean-Luc DAUREIL 2 janvier 200713

PROCESS CHECKING

With three kinds of windows you can see how the rendering run:

1- NETWORK RENDER STATUS (opened from Form*Z or the Imager)2- Form*z RENDER SERVER3- All Form*z RENDER CLIENTS

8/14/2019 Network Rendering 17798

http://slidepdf.com/reader/full/network-rendering-17798 14/20

By Jean-Luc DAUREIL 2 janvier 200714

DEBRIEFING THE LOG FILE

After the rendering process…

(You can also read the LOG file to understand in details during the process)

This log file is located on windows XP here:

C:\Documents and Settings\[USER]\ Application Data\autodessys\formZ 6.1 Render Server

You access directly to it by the “LOG” button on the server window

As an example we can run a rendering from a sample file from Autodessys.Here we took the chair file found in the sample. You can download it from the Autodessys website.

8/14/2019 Network Rendering 17798

http://slidepdf.com/reader/full/network-rendering-17798 15/20

By Jean-Luc DAUREIL 2 janvier 200715

We have made some adjustments on the file:

1- set the image size to 1000 x 750 pixels (from Image options dialog)2- Set one light with atmospheric light to slow the rendering.(Here is the settings, output power 0.1, apply atmospheric light accurate overcast, light ble sky luminance 7 quality about 90%)

Here is the content of the LOG file:

[02/01/2007 | 19:25:09] Job 'chair-final view-9' added[02/01/2007 | 19:25:09] Client 'MATTHIEU' rendering bands 0 - 15 of job 'chair-final view-9'[02/01/2007 | 19:25:10] Client 'JEAN-LUC' rendering bands 16 - 29 of job 'chair-final view-9'[02/01/2007 | 19:25:10] Client 'MATTHIEU' stopped working[02/01/2007 | 19:25:10] Client 'JEAN-LUC' stopped workingWe can see that the complete rendering need 29 bandsThe client MATTHIEU takes the bands from 0 to 15The client JEAN-LUC takes the bands from 16 to 29If the strength of the tow clients wasn’t 50/50 the division of the total number of bands could be different.[02/01/2007 | 19:25:20] Client 'MATTHIEU' rendering bands 0 - 15 of job 'chair-final view-9'[02/01/2007 | 19:25:22] Client 'JEAN-LUC' rendering bands 16 - 29 of job 'chair-final view-9'Clients are working[02/01/2007 | 19:26:04] Bands 16 - 29 of job 'chair-final view-9' are rendered[02/01/2007 | 19:26:05] Client 'JEAN-LUC' stopped workingClient JEAN-LUC has finished his workEND of the rendering[02/01/2007 | 19:27:27] Bands 0 - 15 of job 'chair-final view-9' are rendered[02/01/2007 | 19:27:27] Job 'chair-final view-9' done

8/14/2019 Network Rendering 17798

http://slidepdf.com/reader/full/network-rendering-17798 16/20

By Jean-Luc DAUREIL 2 janvier 200716

[02/01/2007 | 19:27:27] Client 'MATTHIEU' stopped workingClient MATTHIEU has finished his workEND of the rendering

VERIFICATION OF THE RESULTS

By double click on the rendering line of the Job queue section of the RENDER SERVER window you can access to these two final dialogs:

8/14/2019 Network Rendering 17798

http://slidepdf.com/reader/full/network-rendering-17798 17/20

By Jean-Luc DAUREIL 2 janvier 200717

As we can see this is not a very clean result because the total render the tow servers are not equalized.

JEAN-LUC = 39 secondsMATTHIEU = 123 secondsTotal calculus time (be careful this is not the real time) = 162 s

THE RENDERING IS DONE AFTER 138 seconds (TOTAL RENDER TIME f ield in the job information dialog)

OPTIMIZATION

Let’s go for a new test.

As we can see the main difficulty in the rendered image is in the upper part (70%) So we can hope to get a better result if the client that renders this part is set to approximately to strength around 70 when the second is set to 30% 

Of course it works because we have only two clients…

Here is the result:

LOG FILE:

[02/01/2007 | 19:13:15] Job 'chair-final view-8' added[02/01/2007 | 19:13:15] Client 'MATTHIEU' rendering bands 0 - 12 of job 'chair-final view-8'[02/01/2007 | 19:13:15] Client 'JEAN-LUC' rendering bands 13 - 29 of job 'chair-final view-8'As we can see first client render only the 12 first bands on 29, so around 40% (exactly 41.38)and the second 17 bands on the bottom of the image, so around 60% (exactly 58.62)[02/01/2007 | 19:14:40] Bands 0 - 12 of job 'chair-final view-8' are rendered[02/01/2007 | 19:14:41] Client 'MATTHIEU' stopped workingClient MATTHIEU has finished his work[02/01/2007 | 19:14:43] Bands 13 - 29 of job 'chair-final view-8' are rendered[02/01/2007 | 19:14:43] Job 'chair-final view-8' done[02/01/2007 | 19:14:43] Client 'JEAN-LUC' stopped workingClient JEAN-LUC has finished his workThe rendering is done.

8/14/2019 Network Rendering 17798

http://slidepdf.com/reader/full/network-rendering-17798 18/20

By Jean-Luc DAUREIL 2 janvier 200718

JEAN-LUC = 82 secondsMATTHIEU = 84 secondsTotal calculus time (be careful this is not the real time) = 168 s

THE RENDERING IS DONE AFTER 88 seconds (TOTAL RENDER TIME field in the job information dialog)

8/14/2019 Network Rendering 17798

http://slidepdf.com/reader/full/network-rendering-17798 19/20

8/14/2019 Network Rendering 17798

http://slidepdf.com/reader/full/network-rendering-17798 20/20