On 2016-01-02 23:51-0000 Phil Rosenberg wrote:

> The text dominated case idle issues doesn't surprise me. As I said
this requires 2 way comms, which is does involve both executables
sitting in while sleep loops. I think I can fix this and I will look
to do so asap. The line issue surprises me a bit. I will try to look
at the cause.

To help you narrow down what the Linux issues are I just tested a pure
ascii test case (the last 6 pages of example 23) and a pure line case
(example 00 with the pllab call commented out, and the last argument
to plenv set to -2 so absolutely no text is plotted at all by that
example).

and here are those results:

Number          cpu%  idle%  type of example

modified 23     25%   75%    pure ascii text with no graphics at all
modified 00     20%*  80%*   pure line graphics with no text

So whatever the idle problem is seems to be roughly the same for pure text
or pure line graphics.

Furthermore, I put an asterisk by that second result because the first
time I ran test_c_wxwidgets with 30 repetitions of the modified 00
example in plplot_test/test_c_interactive.sh.in, the cpu usage was
effectively zero (at the background level) for each of the first ~25
repetitions or so.  Essentially for each of these repetitions there
would be a blip of cpu activity at either the start or end of the
repetition but nothing else discernible on the graph for the
relatively long times it took to finish each repetition.  Then for the
last 5 repetitions the idle issue went from completely horrible to
merely bad (i.e., the idle% dropped from ~99 % to the 80% I state
above).  And then it stayed in that "bad" state for the next 30
repetitions I tried.

Anyhow, because that modified example 00 is so simple with no text at all,
that is the example I suggest you should investigate first for the cause of
this clear idle issue on Linux that varies between completely horrible
to just merely bad.  :-)

And if you cannot replicate that modified 00 idle issue on Windows,
then it is likely time to attempt to verify it on the Ubuntu Linux box
you have access to.

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
__________________________

------------------------------------------------------------------------------
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to