A well-used benchmark scene for the Radiance pseudo-radiosity renderer
Mark Stock <[email protected]>
James Lee <[email protected]>
Guy Vaessen <[email protected]>
Persian rug from http://persia.org/Images/Persian_Carpet/saruq_jpg1.html is used without permission.
Instructions for serial (one-processor) benchmark:
-
Type "make" in the directory with this README file to run all of the steps necessary to render the benchmark scene.
-
Save the "user" time that is reported
Instructions for SMP (multi-processor, same computer) benchmark:
-
Type "make smp" in the directory with this README file to run all of the steps necessary to render the benchmark scene on an SMP computer with 4 processors.
To run use a different number or processors, prepend "NCPU=#" to the make command. For 8 processors, run "NCPU=8 make smp".
-
Save the "elapsed" time that is reported, it should be the time used by the process that took the longest.
Instructions for cluster (multi-computer, networked file system) benchmark (not yet implemented):
-
Create a ranimate-format file that contains the list of hosts that are to be used, and the number of processors on each host, like this:
host= localhost 2 host= zeus 2 host= bacchus 1
-
Type "make cluster" in the directory with this README file to run all of the steps necessary to render the benchmark scene.
-
Save the "user" time that is reported
Then, continue with the data collection:
-
Using whatever means possible for your system, assemble the following information:
- processor type, number (if symmetric multiprocessor/SMP), and speed "cat /proc/cpuinfo" for some Linux flavors "sysctl -n machdep.cpu.brand_string" for OSX
- cache RAM (main RAM isn't important) "cat /proc/cpuinfo" for some Linux flavors for cache memory size
- operating system name "uname -a" for some Unixes
- radiance version "rpict -version"
- compiler version "gcc --version" for Gnu C compiler
- compiler options (only if you changed them)
-
Mail the information to me ([email protected])
Instructions for serial (one-processor) benchmark:
-
Type "runbench.bat" in the directory with this README file to run all of the steps necessary to render the benchmark scene.
-
Save the total time that is reported at the end of the output.
Then, continue with the data collection:
-
Using whatever means possible for your system, assemble the following information:
- processor type, number (if symmetric multiprocessor/SMP), and speed
- cache RAM (main RAM isn't important)
- operating system name
- radiance version
- compiler version
- compiler options (only if you changed them)
-
Mail the information to me ([email protected]) or edit the rad_bench.html file and issue a push request.
Thank you! A list of all benchmarks is in the rad_bench.html file, which is online at http://markjstock.org/pages/rad_bench.html.
2010-12-01 MJS reworked Makefile and options so that same code will
work on any version of Radiance going back ~5 years
2011-03-24 MJS removed "-pm 0.0" from optionsbase because rpiece throws
an error in 4R1
2013-10-14 MJS Added Windows batch file and "options" file from Guy
Vaessen, also converted "cat" commands to "xform".
2015-02-04 MJS Fixed bug in Makefile on OSX, changed smp defaults to
4 cpus and 64 rows, reverted sky back to original