POV-Ray : Newsgroups : povray.general : Povray on ARM! Server Time
3 May 2024 14:46:10 EDT (-0400)
  Povray on ARM! (Message 3 to 12 of 12)  
<<< Previous 2 Messages Goto Initial 10 Messages
From: Le Forgeron
Subject: Re: Povray on ARM!
Date: 5 Jun 2012 12:18:45
Message: <4fce3165$1@news.povray.org>
Le 05/06/2012 17:22, jhu nous fit lire :
> I compiled a static binary of Povray 3.7 RC5 for ARM because I just bought a
> Samsung Galaxy SII and was curious to see how fast the processor is compared to
> my other computers. I'll have benchmarks up soon. In the meantime I've posted
> the binary in the binary misc section so you guys can check it out.
> 
> 
For your numbers, with Intel compiler, on i7 @ 3.33GHz, --benchmark is

Parser Time
  Parse Time:       0 hours  0 minutes  0 seconds (0.543 seconds)
              using 1 thread(s) with 0.471 CPU-seconds total
  Bounding Time:    0 hours  0 minutes  0 seconds (0.000 seconds)
              using 1 thread(s) with 0.000 CPU-seconds total

Render Time:
  Photon Time:      0 hours  0 minutes  2 seconds (2.164 seconds)
              using 15 thread(s) with 2.486 CPU-seconds total
  Radiosity Time:   No radiosity
  Trace Time:       0 hours  2 minutes  8 seconds (128.999 seconds)
              using 12 thread(s) with 1525.728 CPU-seconds total

Notice that hyperthreading is little help, as restricting to 6 rendering
threads is not a doubling operation:

Distinct 6 cores:
Render Time:
  Photon Time:      0 hours  0 minutes  2 seconds (2.158 seconds)
              using 9 thread(s) with 2.483 CPU-seconds total
  Radiosity Time:   No radiosity
  Trace Time:       0 hours  2 minutes 38 seconds (158.196 seconds)
              using 6 thread(s) with 943.581 CPU-seconds total

Same 3 cores:
Render Time:
  Photon Time:      0 hours  0 minutes  2 seconds (2.160 seconds)
              using 9 thread(s) with 2.483 CPU-seconds total
  Radiosity Time:   No radiosity
  Trace Time:       0 hours  4 minutes 16 seconds (256.684 seconds)
              using 6 thread(s) with 1532.217 CPU-seconds total


(cores-control with taskset command)


Post a reply to this message

From: Bill Pragnell
Subject: Re: Povray on ARM!
Date: 5 Jun 2012 14:00:00
Message: <web.4fce486bcfc918917f3049370@news.povray.org>
"jhu" <nomail@nomail> wrote:
> I compiled a static binary of Povray 3.7 RC5 for ARM because I just bought a
> Samsung Galaxy SII and was curious to see how fast the processor is compared to
> my other computers. I'll have benchmarks up soon. In the meantime I've posted
> the binary in the binary misc section so you guys can check it out.

Hmm, the first time I ever used POV-Ray was on an ARM2 or ARM3 sometime
1990-1991... full circle!


Post a reply to this message

From: jhu
Subject: Re: Povray on ARM!
Date: 5 Jun 2012 23:40:01
Message: <web.4fced0d8cfc91891d19b0ec40@news.povray.org>
It's really slow: 3 hours and it's only at 25%! Makes me wonder if it's even
using the FPU. I'm going to recompile and try again.


Post a reply to this message

From: jhu
Subject: Re: Povray on ARM!
Date: 6 Jun 2012 11:20:01
Message: <web.4fcf74e7cfc91891d267064f0@news.povray.org>
"jhu" <nomail@nomail> wrote:
> It's really slow: 3 hours and it's only at 25%! Makes me wonder if it's even
> using the FPU. I'm going to recompile and try again.

Ok, found the problem: Debian doesn't currently support the ARM FPU(s) in its
libraries yet!


Post a reply to this message

From: jhu
Subject: Re: Povray on ARM!
Date: 9 Jun 2012 01:20:09
Message: <web.4fd2dc1ecfc91891d19b0ec40@news.povray.org>
Recompiled to use fp and cortex a9. Unfortunately it now seg faults half way
through the benchmark. It does this even if I decrease the resolution too.
Arrrgh!!!


Post a reply to this message

From: clipka
Subject: Re: Povray on ARM!
Date: 13 Jun 2012 06:17:26
Message: <4fd868b6$1@news.povray.org>
Am 09.06.2012 07:16, schrieb jhu:
> Recompiled to use fp and cortex a9. Unfortunately it now seg faults half way
> through the benchmark. It does this even if I decrease the resolution too.
> Arrrgh!!!

Can you try that binary with a scene that doesn't use photons?


Post a reply to this message

From: jhu
Subject: Re: Povray on ARM!
Date: 14 Jun 2012 15:25:01
Message: <web.4fda39c6cfc91891d19b0ec40@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> Am 09.06.2012 07:16, schrieb jhu:
> > Recompiled to use fp and cortex a9. Unfortunately it now seg faults half way
> > through the benchmark. It does this even if I decrease the resolution too.
> > Arrrgh!!!
>
> Can you try that binary with a scene that doesn't use photons?

I just compiled a 3.6 binary instead. That one works fine.


Post a reply to this message

From: Len
Subject: Re: Povray on ARM!
Date: 18 Jul 2012 15:20:00
Message: <web.50070b48cfc91891916f16070@news.povray.org>
"jhu" <nomail@nomail> wrote:
> clipka <ano### [at] anonymousorg> wrote:
> > Am 09.06.2012 07:16, schrieb jhu:
> > > Recompiled to use fp and cortex a9. Unfortunately it now seg faults half way
> > > through the benchmark. It does this even if I decrease the resolution too.
> > > Arrrgh!!!
> >
> > Can you try that binary with a scene that doesn't use photons?
>
> I just compiled a 3.6 binary instead. That one works fine.

I wonder how it would run on the $35 Raspberry Pi? The SoC is a Broadcom
BCM2835. This contains an ARM1176JZFS, with floating point, running at 700Mhz,
and a Videocore 4 GPU.


Post a reply to this message

From: clipka
Subject: Re: Povray on ARM!
Date: 18 Jul 2012 17:23:38
Message: <5007295a$1@news.povray.org>
Am 18.07.2012 21:15, schrieb Len:
> "jhu" <nomail@nomail> wrote:
>> clipka <ano### [at] anonymousorg> wrote:
>>> Am 09.06.2012 07:16, schrieb jhu:
>>>> Recompiled to use fp and cortex a9. Unfortunately it now seg faults half way
>>>> through the benchmark. It does this even if I decrease the resolution too.
>>>> Arrrgh!!!
>>>
>>> Can you try that binary with a scene that doesn't use photons?
>>
>> I just compiled a 3.6 binary instead. That one works fine.
>
> I wonder how it would run on the $35 Raspberry Pi? The SoC is a Broadcom
> BCM2835. This contains an ARM1176JZFS, with floating point, running at 700Mhz,
> and a Videocore 4 GPU.

Anyone bought one of those yet?

They're currently expecting 11 weeks delivery time.


Post a reply to this message

From: Dave
Subject: Re: Povray on ARM!
Date: 16 Aug 2012 02:29:50
Message: <502c935e@news.povray.org>
On 7/18/2012 4:23 PM, clipka wrote:
> Am 18.07.2012 21:15, schrieb Len:
>> "jhu" <nomail@nomail> wrote:
>>> clipka <ano### [at] anonymousorg> wrote:
>>>> Am 09.06.2012 07:16, schrieb jhu:
>>>>> Recompiled to use fp and cortex a9. Unfortunately it now seg faults
>>>>> half way
>>>>> through the benchmark. It does this even if I decrease the
>>>>> resolution too.
>>>>> Arrrgh!!!
>>>>
>>>> Can you try that binary with a scene that doesn't use photons?
>>>
>>> I just compiled a 3.6 binary instead. That one works fine.
>>
>> I wonder how it would run on the $35 Raspberry Pi? The SoC is a Broadcom
>> BCM2835. This contains an ARM1176JZFS, with floating point, running at
>> 700Mhz,
>> and a Videocore 4 GPU.
>
> Anyone bought one of those yet?
>
> They're currently expecting 11 weeks delivery time.

Just finished compiling 3.7rc6 on my RPi -- took about 6.5 hours. I 
believe that a.out's use hardware floating point as the default. PovRay 
runs but the image (make check) has some strange artifacts. I've 
attached biscuit-RPi.png and the same image rendered on Win7x64. Here's 
PovRay's output:

$ ./unix/povray +i./scenes/advanced/biscuit.pov +fn -d +p +v +w320 +h240 
+a0.3 +L./include +obiscuit.png
povray: This is a RELEASE CANDIDATE version of POV-Ray. General 
distribution is discouraged.
povray: cannot open the system configuration file 
/usr/local/etc/povray/3.7/povray.conf: No such file or directory
povray: cannot open the user configuration file 
/home/imdave/.povray/3.7/povray.conf: No such file or directory
povray: I/O restrictions are disabled
Persistence of Vision(tm) Ray Tracer Version 3.7.0.RC6 (g++ 4.6 @
  armv6l-unknown-linux-gnueabi)
This is a release candidate of POV-Ray version 3.7.0.
General distribution is strongly discouraged.

POV-Ray is based on DKBTrace 2.12 by David K. Buck & Aaron A. Collins
Copyright 1991-2003 Persistence of Vision Team
Copyright 2003-2011 Persistence of Vision Raytracer Pty. Ltd.

Primary POV-Ray 3.7 Architects/Developers: (Alphabetically)
   Chris Cason         Thorsten Froehlich  Christoph Lipka

With Assistance From: (Alphabetically)
   Nicolas Calimet     James Holsenback    Christoph Hormann   Nathan 
Kopp
   Juha Nieminen

Past Contributors: (Alphabetically)
   Steve Anger         Eric Barish         Dieter Bayer        David K. 
Buck
   Nicolas Calimet     Chris Cason         Aaron A. Collins    Chris 
Dailey
   Steve Demlow        Andreas Dilger      Alexander Enzmann   Dan 
Farmer
   Thorsten Froehlich  Mark Gordon         James Holsenback    Christoph 
Hormann
   Mike Hough          Chris Huff          Kari Kivisalo       Nathan 
Kopp
   Lutz Kretzschmar    Christoph Lipka     Jochen Lippert      Pascal 
Massimino
   Jim McElhiney       Douglas Muir        Juha Nieminen       Ron 
Parker
   Bill Pulver         Eduard Schwan       Wlodzimierz Skiba   Robert 
Skinner
   Yvo Smellenbergh    Zsolt Szalavari     Scott Taylor        Massimo 
Valentini
   Timothy Wegner      Drew Wells          Chris Young

Other contributors are listed in the documentation.

Support libraries used by POV-Ray:
   ZLib 1.2.7, Copyright 1995-1998 Jean-loup Gailly and Mark Adler
   LibPNG 1.2.49, Copyright 1998-2002 Glenn Randers-Pehrson
   LibJPEG 80, Copyright 1998 Thomas G. Lane
   LibTIFF 3.9.6, Copyright 1988-1997 Sam Leffler, 1991-1997 SGI
   Boost 1.49, http://www.boost.org/
   OpenEXR, Copyright (c) 2004-2007, Industrial Light & Magic.

Parser Options
   Input file: ./scenes/advanced/biscuit.pov
   Remove bounds........On
   Split unions.........Off
   Library paths:
     /usr/local/share/povray-3.7
     /usr/local/share/povray-3.7/ini
     /usr/local/share/povray-3.7/include
     ./include
   Clock value:    0.000  (Animation off)
Image Output Options
   Image resolution.....320 by 240 (rows 1 to 240, columns 1 to 320).
   Output file..........biscuit.png, 24 bpp PNG
   Dithering............Off
   Graphic display......Off
   Mosaic preview.......Off
   Continued trace......Off
Information Output 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...] ==========================================================
Parsing 282K tokens
----------------------------------------------------------------------------
Parser Statistics
----------------------------------------------------------------------------
Finite Objects:          292
Infinite Objects:          0
Light Sources:             2
Total:                   294
----------------------------------------------------------------------------
Parser Time
   Parse Time:       0 hours  0 minutes  2 seconds (2.546 seconds)
               using 1 thread(s) with 2.448 CPU-seconds total
   Bounding Time:    0 hours  0 minutes  0 seconds (0.010 seconds)
               using 1 thread(s) with 0.007 CPU-seconds total
----------------------------------------------------------------------------
Render Options
   Quality:  9
   Bounding boxes.......On   Bounding threshold: 3
   Antialiasing.........On  (Method 1, Threshold 0.300, Depth 3, Jitter 
1.00,
  Gamma 2.50)
==== [Rendering...] ========================================================
Rendered 76800 of 76800 pixels (100%)
----------------------------------------------------------------------------
Render Statistics
Image Resolution 320 x 240
----------------------------------------------------------------------------
Pixels:            81760   Samples:          279027   Smpls/Pxl: 3.41
Rays:             483163   Saved:             13551   Max Level: 5/5
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
Blob                           1362992          102370      7.51
Blob Component                 1355282          898042     66.26
Blob Bound                    19641603         3636153     18.51
Cone/Cylinder                 10014648         1381894     13.80
CSG Intersection               1336565          363705     27.21
CSG Union                       415358           24597      5.92
Disc                            168536           48804     28.96
Isosurface                       13496            2424     17.96
Isosurface Container             21040           14148     67.24
Isosurface Cache                  3212             151      4.70
Torus                          1907643          174005      9.12
Torus Bound                    1907643          210432     11.03
Clipping Object                  98629           57412     58.21
Bounding Box                  34576617        13784729     39.87
----------------------------------------------------------------------------
Isosurface roots:             13496
Function VM calls:           130155
----------------------------------------------------------------------------
Crackle Cache Queries:           20444
Crackle Cache Hits:              18439 ( 90 percent)
----------------------------------------------------------------------------
Roots tested:                350927   eliminated:                82443
Shadow Ray Tests:            430166   Succeeded:                 98154
Shadow Cache Hits:            80960
Reflected Rays:              105419
Transmitted Rays:             16957
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Render Time:
   Photon Time:      No photons
   Radiosity Time:   No radiosity
   Trace Time:       0 hours  2 minutes 42 seconds (162.793 seconds)
               using 4 thread(s) with 159.382 CPU-seconds total
POV-Ray finished


Post a reply to this message


Attachments:
Download 'biscuit-rpi.png' (165 KB) Download 'biscuit-win7x64.png' (163 KB)

Preview of image 'biscuit-rpi.png'
biscuit-rpi.png

Preview of image 'biscuit-win7x64.png'
biscuit-win7x64.png


 

<<< Previous 2 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.