comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL and Macs. Speed is not only about squared roots
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL and Macs. Speed is not only about squared roots [message #49303 is a reply to message #49301] Fri, 14 July 2006 04:37 Go to previous message
Maarten[1] is currently offline  Maarten[1]
Messages: 176
Registered: November 2005
Senior Member
jgc wrote:
[. . .]
> However there is more in life than squared roots, so I was dissapointed
> to see that a complex program, involving large array manipulation,
> input and output, and loops reduced to a minimum, took almost double
> the time in the Mac than in the windows PC. This is a energy balance
> model for snow ablation over a glacier in the Alps
> (http://www.arolla.ethz.ch/snowdem.html).
>
> One summer simulation took 22 minutes on IDL 6.0 in the windows PC 1.4
> GHz and 42 minutes on the Mac Intel 2.16 GHz with IDL 6.2. Almost
> double in a much more powerful computer! IDL 6.3 seems slightly
> better but still slower (I'm waiting for the full license to test it).

6.2 is PPC, and therefore runs under emulation. You'll need 6.3/Mac OS
X/Intel to be able to judge this at all. Rosetta rears its head again.

> I did additional texts such as repeatig more complex processes (my
> shading algorithm, http://www.ittvis.com/codebank/search.asp?FID=141).
> Here the mac outperforms the pc. Thus, obviously there must be just a
> few inefficient processess for the Mac, which slow down the wole thing.

Given the fact that you didn't use the real native thing, I think
you're jumping to conclusions. If you're sure that you use the real
(native) thing, then post some more results. If you're curious where
the time is spent in your program, I suggest you use the profiler
(search this newsgroup, of just use the IDL manual). Highly insightful,
and allows you to focus on the slow parts when optimizing.

Maarten
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: negation operator
Next Topic: how to compile a matrix whose some elements are matrixes

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 15:48:41 PDT 2025

Total time taken to generate the page: 0.16302 seconds