POV-Ray : Newsgroups : povray.general : povray vs uberpov am3 : Re: povray vs uberpov am3 Server Time
29 Apr 2024 01:04:20 EDT (-0400)
  Re: povray vs uberpov am3  
From: jr
Date: 18 Sep 2020 16:15:01
Message: <web.5f651473aa461a8c4d00143e0@news.povray.org>
hi,

Ash Holsenback <no### [at] spamcom> wrote:
> On 9/18/20 7:22 AM, William F Pokorny wrote:
> > On 9/18/20 6:36 AM, William F Pokorny wrote:
> > ...
> >>
> >> I don't think we have a fat rabbit to chase here.
> >>
> >> Of course run time improvements with am3 would be welcome. I have on
> >> my list to do some profiling with parametrics. Might take a side look
> >> at am3 too while I've got those compiles about. I've got the color
> >> shift issue to replicate and run down someday too. Hmm, wonder if I
> >> can trigger it with your simpler test cast Ton.
> >>
> >
> > We can indeed! All one needs do is change:
> >
> > background { color srgb <0, 0, 0> }
> >
> > to:
> >
> > #declare Acajou = srgb <0.29804,0.18431,0.15294>;
> > background { color Acajou }
> >
> > and the cpu time jumps.
> >
> > 16.918 -> 3443.029 ---> 20251.28%
> >
> > Plus the results are to my eye not as good.
> >
> > Does uberpov has the same behavior:
> >
> > 16.172 -> 3512.926 ---> 21622.27%
> >
> > A fat rabbit.
> >
> > Bill P.
>
> tried changing my am3 test file like above ... cannot duplicate issue

fwiw, same here, also alpha.10064268.  in fact the coloured bg version is
faster,
edited transcript:

Script started on Fri 18 Sep 2020 20:58:43 BST

jr@crow:1:tmp$ c### [at] ngtonpov
#version 3.8;

global_settings {
    assumed_gamma 1
    noise_generator 2
}

#ifndef (global.N)
  #declare N = 0;
#end

#if (N)
background {color srgb <.29804,.18431,.15294>}
#else
background {color srgb 0}
#end

union {
    #for (I, -25, 25, 1)
        cylinder {
            <-20, 0, 0>, <20, 0, I>, 0.01
        }
    #end
    pigment {
        color srgb<1, 1, 1>
    }
}

light_source {
    <25, 8, 0>, rgb<1, 1, 1>
}

camera {
    location <25, 8, 0>
    right <image_width / image_height, 0, 0>
    look_at <12, 0, 0>
}

jr@crow:2:tmp$ pov38 ngton.pov +d +p +q9 +am3 +a0.1 +ac0.9 +r6
Persistence of Vision(tm) Ray Tracer Version 3.8.0-alpha.10064268.unofficial
 (g++ 4.8.2 @ x86_64-slackware-linux-gnu)
 ...
Support libraries used by POV-Ray:
  ZLib 1.2.8, Copyright 1995-2012 Jean-loup Gailly and Mark Adler
  LibPNG 1.4.20, Copyright 1998-2012 Glenn Randers-Pehrson
  LibJPEG 8, Copyright 1991-2016 Thomas G. Lane, Guido Vollbeding
  LibTIFF 3.9.7, Copyright 1988-1997 Sam Leffler, 1991-1997 SGI
  Boost 1.54, http://www.boost.org/
  OpenEXR 1.7.1 and IlmBase 1.0.3, Copyright (c) 2002-2011 Industrial Light &
 Magic.

Dynamic optimizations:
  CPU detected: Intel,SSE2,AVX
  Noise generator: avx-intel (hand-optimized by Intel)

Parser Options
  Input file: ngton.pov
  Remove bounds........On
  Split unions.........Off
  Library paths:
    /home/jr/.local/povray/include
    /usr/local/share/povray-3.8/extra
    /usr/local/share/povray-3.8/include
    /usr/share/fonts/local
  Clock value:    0.000  (Animation off)
Image Output Options
  Image resolution.....960 by 720 (rows 1 to 720, columns 1 to 960).
  Output file..........ngton.png, 24 bpp PNG
  Dithering............Off
  Graphic display......On  (gamma: sRGB transfer function)
  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...] ==========================================================
----------------------------------------------------------------------------
Parser Statistics
----------------------------------------------------------------------------
Finite Objects:           51
Infinite Objects:          0
Light Sources:             1
Total:                    52
----------------------------------------------------------------------------
Parser Time
  Parse Time:       0 hours  0 minutes  0 seconds (0.001 seconds)
              using 1 thread(s) with 0.000 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 Options
  Quality:  9
  Bounding boxes.......On   Bounding threshold: 3
  Antialiasing.........On  (Method 3, Threshold 0.100, Depth 6, Jitter 1.00,
 Gamma 2.50)
==== [Rendering... Press p to pause, q to quit] ============================
----------------------------------------------------------------------------
Render Statistics
Image Resolution 960 x 720
----------------------------------------------------------------------------
Pixels:           691200   Samples:               0   Smpls/Pxl: 0.00
Rays:            5249224   Saved:                 0   Max Level: 1/5
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
Cone/Cylinder                123247827         1250084      1.01
Bounding Box                 187640060       147701275     78.72
----------------------------------------------------------------------------
Shadow Ray Tests:           1226634   Succeeded:                     0
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Render Time:
  Photon Time:      No photons
  Radiosity Time:   No radiosity
  Trace Time:       0 hours  0 minutes 11 seconds (11.444 seconds)
              using 2 thread(s) with 22.876 CPU-seconds total
==== [Paused... Press p to resume] =========================================
Press p, q, enter or click the display to continue...

POV-Ray finished


jr@crow:3:tmp$ pov38 ngton.pov +d +p +q9 +am3 +a0.1 +ac0.9 +r6 declare=N=1
Persistence of Vision(tm) Ray Tracer Version 3.8.0-alpha.10064268.unofficial
 (g++ 4.8.2 @ x86_64-slackware-linux-gnu)
 ...
----------------------------------------------------------------------------
Render Statistics
Image Resolution 960 x 720
----------------------------------------------------------------------------
Pixels:           691200   Samples:               0   Smpls/Pxl: 0.00
Rays:            2283041   Saved:                 0   Max Level: 1/5
----------------------------------------------------------------------------
Ray->Shape Intersection          Tests       Succeeded  Percentage
----------------------------------------------------------------------------
Cone/Cylinder                 51037867          472363      0.93
Bounding Box                  77941671        61111153     78.41
----------------------------------------------------------------------------
Shadow Ray Tests:            463586   Succeeded:                     0
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Render Time:
  Photon Time:      No photons
  Radiosity Time:   No radiosity
  Trace Time:       0 hours  0 minutes  5 seconds (5.006 seconds)
              using 2 thread(s) with 9.995 CPU-seconds total
==== [Paused... Press p to resume] =========================================
Press p, q, enter or click the display to continue...

POV-Ray finished


'pov38' is a BASH alias for 'nice -n 19 povray'.


regards, jr.


Post a reply to this message

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