From: Phil R. <p.d...@gm...> - 2015-06-24 08:24:56
|
Hi Alan As far as the method is concerned I am using shared memory which should scale very well. The implementation is as a circular buffer, but for most examples the first circuit is enough. I imagine that the issue is related to the use of global semaphores to lock that memory and prevent concurrent access. These are likely to have very different instantiations on Linux and windows or even different Linux flavours or kernel versions. I may have been over cautious with their use as finding race condition bugs fan be very painful. I will look to see if this is the issue and if i can reduce their use. Phil -----Original Message----- From: "Alan W. Irwin" <ir...@be...> Sent: 23/06/2015 17:01 To: "Phil Rosenberg" <p.d...@gm...> Cc: "PLplot development list" <Plp...@li...> Subject: Re: Status report on remaining issues to be addressed for theforthcoming 5.11.1 release (wxwidgets issues) On 2015-06-22 10:21+0100 Phil Rosenberg wrote: > Hi Alan > I now see times close to a minute to render both pages of example 2, > which is clearly a problem. This is the case with or without -np. I'm > not sure why . I will look into it. Hi Phil: I am glad you were able to verify the efficiency problem there since issues that are only seen on platforms not accessible to the original developer are a real devil to fix. I wonder if the current efficiency regressions are due to the IPC <https://en.wikipedia.org/wiki/Inter-process_communication> method you currently use between applications and wxPLViewer not scaling well for the extra burdens you are placing on that IPC method since 5.11.0? In particular I would appreciate your comments on whether switching from your current IPC method (whatever it is) to one of the many other possibilities in that article might completely solve these efficiency regressions. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |