|
|
From what I can tell my build of POV-Ray 3.1e seems to be running in
fairly good form. I checked with the benchmark times for this system
and I appear to be in the ballpark.
http://www.haveland.com/cgi-bin/getpovb.pl?search=ultra&submit=Submit
The only thing left to do to enhance performance a tad would be to get
this in parallel across a few systems ...
Anyone have any thoughts on my compiler flags ?
Dennis Clarke
dcl### [at] interlogcom
------------------- compile snippet ------------------------------
$ vi makefile
$ make newunix
gcc -O3 -ansi -c -v -Wall -mcpu=ultrasparc -mtune=ultrasparc
-DCOMPILER_VER=\".`uname`.gcc\" -I. -I.. -I../libpng -I../zlib
-I/usr/openwin/include ../povray.c -o povray.o
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.8.1/specs
gcc version 2.8.1
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.8.1/cpp -lang-c89 -v
-I. -I.. -I../libpng -I../zlib -I/usr/openwin/include -undef
-D__GNUC__=2 -D__GNUC_MINOR__=8 -trigraphs -D__STRICT_ANSI__ -D__sparc__
-D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix
-Asystem(unix) -Asystem(svr4) -D__OPTIMIZE__ -Wall -D__sparc_v9__
-D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc)
-DCOMPILER_VER=".SunOS.gcc" ../povray.c /var/tmp/cca0024z.i
GNU CPP version 2.8.1 (sparc)
#include "..." search starts here:
#include <...> search starts here:
.
..
../libpng
../zlib
/usr/openwin/include
/usr/local/include
/usr/local/sparc-sun-solaris2.5.1/include
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.8.1/include
/usr/include
End of search list.
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.8.1/cc1
/var/tmp/cca0024z.i -quiet -dumpbase povray.c -mcpu=ultrasparc
-mtune=ultrasparc -ansi -O3 -Wall -ansi -version -o /var/tmp/cca0024z.s
GNU C version 2.8.1 (sparc-sun-solaris2.5.1) compiled by GNU C version
2.8.1.
/usr/ccs/bin/as -V -Qy -s -xarch=v8plusa -o povray.o
/var/tmp/cca0024z.s
/usr/ccs/bin/as: WorkShop Compilers 4.2 dev 13 May 1996
-----------------------------------------------------------------------------------
End result ...
$ file povray
povray: ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+
Required, UltraSPARC1 Extensions Required, dynamically linked, not
stripped
$
$ ./povray -V
Persistence of Vision(tm) Ray Tracer Version 3.1e.SunOS.gcc
This is an unofficial version compiled by:
Dennis M. Clarke dcl### [at] interlogcom
The POV-Ray Team(tm) is not responsible for supporting this version.
Copyright 1999 POV-Ray Team(tm)
---------------------------------------------------------------------------------------
System ...
$ uname -a
SunOS gigaflop 5.5.1 Generic_103640-24 sun4u sparc SUNW,Ultra-2
$ psrinfo -v
Status of processor 0 as of: 05/13/99 21:08:52
Processor has been on-line since 03/03/99 19:24:38.
The sparc processor operates at 296 MHz,
and has a sparc floating point processor.
Status of processor 1 as of: 05/13/99 21:08:52
Processor has been on-line since 03/03/99 19:24:42.
The sparc processor operates at 296 MHz,
and has a sparc floating point processor.
----------------------------------------------------------------------------------------
benchmark ...
$ /usr/local/povray31/povray -Iskyvase.pov +Oskyvase.tga
+L/usr/local/povray31/include +v1 -d +ft -x +a0.300 +r3 -q9 -w640 -h480
-mv2.0 +b1000 +GA
Persistence of Vision(tm) Ray Tracer Version 3.1e.SunOS.gcc
This is an unofficial version compiled by:
Dennis M. Clarke dcl### [at] interlogcom
The POV-Ray Team(tm) is not responsible for supporting this version.
Copyright 1999 POV-Ray Team(tm)
Parsing Options
Input file: skyvase.pov (compatible to version 2.0)
Remove bounds........On Split unions........Off
Library paths: /usr/local/povray31/include
Output Options
Image resolution 640 by 480 (rows 1 to 480, columns 1 to 640).
Output file: skyvase.tga, 24 bpp Targa, 1000 KByte buffer
Graphic display.....Off
Mosaic preview......Off
CPU usage histogram.Off
Continued trace.....Off Allow interruption..Off Pause when
done.....Off
Verbose messages.....On
Tracing Options
Quality: 9
Bounding boxes.......On Bounding threshold: 25
Light Buffer.........On Vista Buffer.........On
Antialiasing.........On (Method 1, Threshold 0.300, Depth 3, Jitter
1.00)
Radiosity...........Off
Animation Options
Clock value.... 0.000 (Animation off)
Redirecting Options
All Streams to console..........On
Debug Stream to console.........On
Fatal Stream to console.........On
Render Stream to console........On
Statistics Stream to console....On
Warning Stream to console.......On
Parsing...........skyvase.pov:83: warning: CSG union unnecessarily
bounded.
Creating bounding slabs.
Scene contains 4 frame level objects; 3 infinite.
-:--:-- Rendering line 0 of 480Camera is inside a non-hollow
object.
Fog and participating media may not work as expected.
0:01:39 Rendering line 480 of 480 supersampled 10 times.
Done Tracing
skyvase.pov Statistics, Resolution 640 x 480
----------------------------------------------------------------------------
Pixels: 307840 Samples: 396160 Smpls/Pxl: 1.29
Rays: 1519529 Saved: 9 Max Level: 5/5
----------------------------------------------------------------------------
Ray->Shape Intersection Tests Succeeded Percentage
----------------------------------------------------------------------------
Cone/Cylinder 2382548 1281629 53.79
CSG Intersection 3664177 396353 10.82
CSG Union 2563258 738033 28.79
Plane 26388738 14489618 54.91
Quadric 2563258 1571892 61.32
Sphere 2563258 664606 25.93
Bounding Object 2382548 1281629 53.79
----------------------------------------------------------------------------
Calls to Noise: 1445139 Calls to DNoise: 2816194
----------------------------------------------------------------------------
Shadow Ray Tests: 3726696 Succeeded: 90401
Reflected Rays: 1123369
----------------------------------------------------------------------------
Smallest Alloc: 12 bytes Largest: 1024008
Peak memory used: 1112366 bytes
----------------------------------------------------------------------------
Time For Trace: 0 hours 1 minutes 40.0 seconds (100 seconds)
Total Time: 0 hours 1 minutes 40.0 seconds (100 seconds)
$
Post a reply to this message
|
|