Re: Long Execution Times / Large WorkSpace Size

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Jul 23 2012 - 08:57:45 MDT

Hi Paul,

Dave Brown will need to answer the question about wsThresholdSize, and the scoping question. I admittedly had never heard of this resource.
Usually it's the wsMaximizeSize resource that we tell people to increase.

Setting cnFillMode to "RasterFill" is the first thing we tell people who want to speed up their contour plotting. In the example that you pointed to below, were you using the default area fill? If so, then raster fill should help.

You ask some good questions about memory. Once Dave answers some of them, I'll add them to our "memory issues" section in the FAQ.

http://www.ncl.ucar.edu/FAQ/#mem_issues

--Mary

On Jul 20, 2012, at 8:20 AM, Paul Scorer wrote:

> Hi,
>
> I am having trouble with very long plot times. It is a large (~200,000
> data points), and sometimes noisy, data set. An example is at
>
> http://rasp.inn.leedsmet.ac.uk/RASPtableGM8/RASPtableGM.html?date=20120720&param=wstar&time=1300&zoom=7&centre=52.555029,-0.613068
>
> This took NCL >15 mins to plot.
>
> I have found that RasterFill (rather than the default AreaFill) can
> dramatically speed things up for a contour plot, but I have not (yet)
> applied this to all parameters.
>
> I have also had a fatal Workspace Exceeded message. The machine has a
> reasonable amount of memory (18 GiB).
>
> It would seem from
> http://www.ncl.ucar.edu/Document/Graphics/Resources/ws.shtml
>
> that as soon as the total workspace exceeds wsThresholdSize (Default:
> 4194304 Bytes) the program "goes into swap", with obviously a massive
> penalty on runtime. Does this mean that increasing this value will defer
> this problem?
>
> Clearly, it is advantageous to delete variables that are no longer
> required: could you confirm that when a variable goes out of scope on
> return from a function or procedure it is automatically deleted?
>
> Thanks in advance for any pointers you can offer.
>
> Regards
>
> PaulS
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jul 23 08:57:55 2012

This archive was generated by hypermail 2.1.8 : Tue Jul 24 2012 - 09:48:26 MDT