From: Thomas J. D. <to...@fi...> - 2005-03-29 13:01:35
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Joe, I can't quite remember why I took the use_pixmap functionality out. I will look into it, and see if we can put it back in (I can't think of any obvious reasons why not). Thanks for your continued interest in the new gcw/plplotcanvas driver. Cheers, Tom - -- Quoth Joe Conway: > Hi, > > I was using plplot 5.3.1 with plplotcanvas until a few days ago. In that > configuration I found that I needed to use plplot_canvas_use_pixmap() -- > otherwise the memory footprint of my application would peak out at about > 2 GB and rendering would be very slow. With plplot_canvas_use_pixmap() > memory usage never exceeded about 45 MB and rendering was reasonably > fast. (The plot is a 3d surface with 350 x 512 grid points -- it is a > profile of a high quality laser beam, and the detail is desired by the > optical scientists). > > With the release of plplot 5.5.0 I see that plplotcanvas is now directly > incorporated. That was great news to me. However, > plplot_canvas_use_pixmap() seems to have been removed. I found > plplot_canvas_use_fast_rendering(), but my app is back to using ~815MB > memory and rendering very slowly. Without > plplot_canvas_use_fast_rendering() the situation is even worse -- about > 1.6GB memory use. > > So my question -- is there any plan to replace > plplot_canvas_use_pixmap()? Or am I just plain doing something wrong? > > Thanks for any answers or insights. > > Joe - -- Thomas J. Duck <to...@fi...> Department of Physics and Atmospheric Science, Dalhousie University, Halifax, Nova Scotia, Canada, B3H 3J5. Tel: (902)494-1456 | Fax: (902)494-5191 | Lab: (902)494-3813 Web: http://aolab.phys.dal.ca/~tomduck/ Public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x17D965DB -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFCSVAJndxDHhfZZdsRAt9xAKCV2KcOrqfjnlFhnmNIYOnbRQfMFwCcD6Hg 0BWBksZvm+cVc/MSLo6c7I4= =p87W -----END PGP SIGNATURE----- |
From: Joe C. <ma...@jo...> - 2005-03-29 23:06:02
Attachments:
plplot-5.5.0.patch
|
Thomas J. Duck wrote: > I can't quite remember why I took the use_pixmap functionality out. > I will look into it, and see if we can put it back in (I can't think of > any obvious reasons why not). Thanks for your continued interest in the > new gcw/plplotcanvas driver. Hi Tom, Thanks for your reply. The attached patch is undoubtedly not perfect, but it seems to work well for me. With it I get memory use of about 10MB (vs 1.3 GB without) and rendering time of 2 seconds (vs ~40 seconds without). I'd appreciate it if this or something similar could be incorporated into a future plplot release. I'll be happy to do any additional testing or whatever else you deem appropriate. Thanks, Joe |
From: Thomas J. D. <to...@fi...> - 2005-04-01 21:51:39
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Joe, I have reinstituted pixmap support for the GCW driver in CVS. I need to do a little more testing and documenting, but all going well this should appear in the next development release (early next week). Thanks again for your feedback. It is nice to know that people are finding this new driver useful. Cheers, Tom - -- On Tue, 29 Mar 2005, Joe Conway wrote: > Thomas J. Duck wrote: > > I can't quite remember why I took the use_pixmap functionality out. > > I will look into it, and see if we can put it back in (I can't think of > > any obvious reasons why not). Thanks for your continued interest in the > > new gcw/plplotcanvas driver. > > Hi Tom, > > Thanks for your reply. > > The attached patch is undoubtedly not perfect, but it seems to work well > for me. With it I get memory use of about 10MB (vs 1.3 GB without) and > rendering time of 2 seconds (vs ~40 seconds without). > > I'd appreciate it if this or something similar could be incorporated > into a future plplot release. I'll be happy to do any additional testing > or whatever else you deem appropriate. > > Thanks, > > Joe > - -- Thomas J. Duck <to...@fi...> Department of Physics and Atmospheric Science, Dalhousie University, Halifax, Nova Scotia, Canada, B3H 3J5. Tel: (902)494-1456 | Fax: (902)494-5191 | Lab: (902)494-3813 Web: http://aolab.phys.dal.ca/~tomduck/ Public key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x17D965DB -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD4DBQFCTcChndxDHhfZZdsRAiX9AJiTc9Bu74eX7JEvXLBcORhBosMeAKDmOM4B /MbgCa77SHqW50iALweAZg== =DKRx -----END PGP SIGNATURE----- |
From: Joe C. <ma...@jo...> - 2005-04-01 23:19:40
|
Thomas J. Duck wrote: > I have reinstituted pixmap support for the GCW driver in CVS. I need > to do a little more testing and documenting, but all going well this > should appear in the next development release (early next week). Excellent news -- many thanks. > Thanks again for your feedback. It is nice to know that people are > finding this new driver useful. It was a lifesaver for us. Thanks for writing it! Joe |