POV-Ray : Newsgroups : povray.unix : I'm disappointed with speed of my sun compilation :-( Server Time
28 Jul 2024 16:18:18 EDT (-0400)
  I'm disappointed with speed of my sun compilation :-( (Message 1 to 10 of 18)  
Goto Latest 10 Messages Next 8 Messages >>>
From: Wlodzimierz ABX Skiba
Subject: I'm disappointed with speed of my sun compilation :-(
Date: 10 May 2001 11:05:44
Message: <3afaae48@news.povray.org>
I have two machines

o) sun ultra enterprise e450 with Sun Solaris
o) compaq pentium with 1GHz PIII with WinNT 4

sun is completly free - only shell opened
compaq has big database for company running

both has two processors

both has ClothMegaPov binaries
sun has my own compilation done with gcc -O3 optimization
compaq has compilation by Christopher Hormann with CygWin (he said it is slow)
I run on both the same scene (with radiosity)

time for compaq - 0m57s
time for sun - 5m34s

any idea why sun version is so slow ?

--
#macro Sig(A,B,X)_(A,B)_(B,X)_(X,A)#end#macro _(A,B)cylinder{<A.x,A.y,3>,<B.u,
B.v,3>.1,9}#end global_settings{max_trace_level 9}light_source{0 1}camera{up y
*4right-3*x}blob{_(<3,1>,<1,-5>)_(<2,-2>,<4,-2>)Sig(x,<-1,1.5>,<1,3>)_(z-1,z-4
)pigment{rgb 1}}box{-3 3pigment{rgb 0}finish{reflection 1}hollow} // POV-Ray31


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: I'm disappointed with speed of my sun compilation :-(
Date: 10 May 2001 14:11:41
Message: <3afad9dd$1@news.povray.org>
In article <3afaae48@news.povray.org> , "Wlodzimierz ABX Skiba" 
<abx### [at] abxartpl> wrote:

> any idea why sun version is so slow ?

- Compiler settings
- Process priority
- A million other reasons for you to find


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

From: Jérôme Grimbert
Subject: Re: I'm disappointed with speed of my sun compilation :-(
Date: 11 May 2001 01:58:01
Message: <3AFB7FD4.B2400CA6@atosorigin.com>
Wlodzimierz ABX Skiba wrote:

> time for compaq - 0m57s
> time for sun - 5m34s
> 
> any idea why sun version is so slow ?
> 
Size of memory on Sun ? (swap ?)
Running X11/Openview ?
Running unneeded network daemon (NFS server/client) ?
Running/Writing/Reading on a remote partition ?
Processor performing Floating-Point by software ?
Not enough FPU per processor ? (1 is not enough...)
Options of gcc (-03 does not perform ALL the optimisations)
Bad optimisations by gcc ?
Different CPU speed ? (what's the frequency of the sun ?)


Post a reply to this message

From: Wlodzimierz ABX Skiba
Subject: Re: I'm disappointed with speed of my sun compilation :-(
Date: 11 May 2001 03:09:58
Message: <3afb9046$1@news.povray.org>
Thorsten Froehlich wrote in message <3afad9dd$1@news.povray.org>...
> In article <3afaae48@news.povray.org> , "Wlodzimierz ABX Skiba"
> <abx### [at] abxartpl> wrote:
>
> > any idea why sun version is so slow ?
>
> - Compiler settings

I have used max -O3
I didn't find any better setting

> - Process priority

it uses 100% of one processor

> - A million other reasons for you to find

but I'm beginner on this machine
I don't know how find them


--
#macro Sig(A,B,X)_(A,B)_(B,X)_(X,A)#end#macro _(A,B)cylinder{<A.x,A.y,3>,<B.u,
B.v,3>.1,9}#end global_settings{max_trace_level 9}light_source{0 1}camera{up y
*4right-3*x}blob{_(<3,1>,<1,-5>)_(<2,-2>,<4,-2>)Sig(x,<-1,1.5>,<1,3>)_(z-1,z-4
)pigment{rgb 1}}box{-3 3pigment{rgb 0}finish{reflection 1}hollow} // POV-Ray31


Post a reply to this message

From: Wlodzimierz ABX Skiba
Subject: Re: I'm disappointed with speed of my sun compilation :-(
Date: 11 May 2001 03:32:28
Message: <3afb958c$1@news.povray.org>

> Wlodzimierz ABX Skiba wrote:
> > time for compaq - 0m57s
> > time for sun - 5m34s
> >
> > any idea why sun version is so slow ?
>
> Size of memory on Sun ? (swap ?)

2 GB, swap 2 GB
sun is completly free (no tasks) and Peak memory used: 3.366.977 bytes
compaq has 1 GB RAM and no swap

> Running X11/Openview ?

yes
compaq has NT - isn't it comparable ?

> Running unneeded network daemon (NFS server/client) ?

no

> Running/Writing/Reading on a remote partition ?

no

> Processor performing Floating-Point by software ?

no

> Not enough FPU per processor ? (1 is not enough...)

I don't know. How can I check this ?

> Options of gcc (-03 does not perform ALL the optimisations)

but isn't it enough to fight with slow CygWin compilation ?

> Bad optimisations by gcc ?

perhaps

> Different CPU speed ? (what's the frequency of the sun ?)

sun is 300 MHz - but as I know it is comparable with at least 500 MHz pentium
compaq is 1 GHz

--
#macro Sig(A,B,X)_(A,B)_(B,X)_(X,A)#end#macro _(A,B)cylinder{<A.x,A.y,3>,<B.u,
B.v,3>.1,9}#end global_settings{max_trace_level 9}light_source{0 1}camera{up y
*4right-3*x}blob{_(<3,1>,<1,-5>)_(<2,-2>,<4,-2>)Sig(x,<-1,1.5>,<1,3>)_(z-1,z-4
)pigment{rgb 1}}box{-3 3pigment{rgb 0}finish{reflection 1}hollow} // POV-Ray31


Post a reply to this message

From: Christoph Hormann
Subject: Re: I'm disappointed with speed of my sun compilation :-(
Date: 11 May 2001 04:10:15
Message: <3AFB9EA4.4A52EE07@gmx.de>
Wlodzimierz ABX Skiba wrote:
> 
> but isn't it enough to fight with slow CygWin compilation ?
> 

In case it's useful, current Megapov MCP IIRC uses:

CFLAGS = -O6 -finline-functions -ffast-math -c -ansi -I/usr/include/mingw
-mno-cygwin -mcpu=i586 -DCPU=686 -DCOMPILER_VER=\".`uname`.$(CC)\"
-DPOV_LIB_DIR=\"$(POVLIBDIR)\" $(SRCINC) $(LIBPNGINC) $(ZLIBINC)

I also tried different settings, but the differences were quite marginal.

Christoph

-- 
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other 
things on: http://www.schunter.etc.tu-bs.de/~chris/


Post a reply to this message

From: Warp
Subject: Re: I'm disappointed with speed of my sun compilation :-(
Date: 11 May 2001 07:56:39
Message: <3afbd377@news.povray.org>
What does this command say in your system:

psrinfo -v

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Warp
Subject: Re: I'm disappointed with speed of my sun compilation :-(
Date: 11 May 2001 08:04:53
Message: <3afbd565@news.povray.org>
By the way, could you test the speed of this example scene in order to
make a comparison? Render it with the following command line options:

-f -d -x -p -w640 -h480 +a.1

  It took 1 minute 57 seconds to render in a Sun Ultra10 machine (which
has a 440 MHz UltraSparc processor).

----------8<----------8<----------8<----------8<----------8<----------
camera { location <0,2,-2> look_at y*.2 angle 35 }
light_source { <10,10,-5>, 1 }

#declare WPRadius = 1;
#declare WPCurvRadius = 1.5;
intersection
{ #declare IPH = sqrt(pow(WPCurvRadius,2)-pow(WPRadius,2));
  torus { WPRadius, WPCurvRadius translate -y*IPH}
  cylinder { 0, y*(WPCurvRadius-IPH), WPRadius }
  
  pigment
  { spiral1 1 color_map { [0 rgb <.5,.75,1>][1 rgb <0,.5,1>] }
    turbulence .1
    rotate x*90
    scale <.1,1,.1>
  }
  normal
  { spiral1 1 .15 slope_map
    { [0 <0,0>][.25 <.5,1>][.5 <1,0>][.75 <.5,-1>][1 <0,0>] }
    rotate x*90
    scale <.2,1,.2>
  }
  finish { specular .5 reflection .3 }
}
----------8<----------8<----------8<----------8<----------8<----------

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Wlodzimierz ABX Skiba
Subject: Re: I'm disappointed with speed of my sun compilation :-(
Date: 11 May 2001 08:11:56
Message: <3afbd70c@news.povray.org>
Warp wrote in message <3afbd377@news.povray.org>...
>  What does this command say in your system:
>
> psrinfo -v

it returns for both processors (No 1 and No 3) the same info:

Processor has been on-line since 05/10/01 9:23:20
The sparcv9 processor operates at 480 Mhz,
and has a sparcv9 floating point processor.


--
#macro Sig(A,B,X)_(A,B)_(B,X)_(X,A)#end#macro _(A,B)cylinder{<A.x,A.y,3>,<B.u,
B.v,3>.1,9}#end global_settings{max_trace_level 9}light_source{0 1}camera{up y
*4right-3*x}blob{_(<3,1>,<1,-5>)_(<2,-2>,<4,-2>)Sig(x,<-1,1.5>,<1,3>)_(z-1,z-4
)pigment{rgb 1}}box{-3 3pigment{rgb 0}finish{reflection 1}hollow} // POV-Ray31


Post a reply to this message

From: Wlodzimierz ABX Skiba
Subject: Re: I'm disappointed with speed of my sun compilation :-(
Date: 11 May 2001 08:21:15
Message: <3afbd93b@news.povray.org>
Warp wrote in message <3afbd565@news.povray.org>...
> It took 1 minute 57 seconds to render in a Sun Ultra10 machine (which
> has a 440 MHz UltraSparc processor).


Thanks for this comparision
It takes 1 minute 34 seconds

--
#macro Sig(A,B,X)_(A,B)_(B,X)_(X,A)#end#macro _(A,B)cylinder{<A.x,A.y,3>,<B.u,
B.v,3>.1,9}#end global_settings{max_trace_level 9}light_source{0 1}camera{up y
*4right-3*x}blob{_(<3,1>,<1,-5>)_(<2,-2>,<4,-2>)Sig(x,<-1,1.5>,<1,3>)_(z-1,z-4
)pigment{rgb 1}}box{-3 3pigment{rgb 0}finish{reflection 1}hollow} // POV-Ray31


Post a reply to this message

Goto Latest 10 Messages Next 8 Messages >>>

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