Menu

#94 redcls unresponsive in graphical mode for large output

None
accepted
None
5
2019-04-23
2019-02-19
arpi
No

I am using Reduce 4859. I tried to run Anthony Hearn's code from ACM SIGSAM 24, 14-15 (1972).
The only change I made was replacing "time" with showtime.
The phaseint(20) runs in redcsl in terminal (redcsl -w-) in 1920 ms + 330 ms GC (last step) (i7 3770, Linux), in redpsl in 2240 ms. However, in graphical mode (redcsl -w+), it becomes unresponsive, execution times grow rapidly. It completed finally in 239799 ms + 330 ms. Is this large difference normal?

1 Attachments

Related

Bugs: #94

Discussion

  • arpi

    arpi - 2019-02-19

    A short update: with "off nat;" it is just slightly slower than in text mode (2230 ms + 340 ms GC).

     

    Last edit: arpi 2019-02-19
    • Arthur Norman

      Arthur Norman - 2019-02-19

      Can you please email me a copy of your input test script so I do not need
      to hunt for a copy of the paper that you cite? Thanks. Arthur

      On Tue, 19 Feb 2019, Ari wrote:

      A shot update: with "off nat;" it is just slightly slower than in text mode (2230 ms + 340 ms GC).


      [bugs:#94] redcls unresponsive in graphical mode for large output

      Status: open
      Group:
      Created: Tue Feb 19, 2019 08:48 PM UTC by arpi
      Last Updated: Tue Feb 19, 2019 08:48 PM UTC
      Owner: nobody
      Attachments:

      • y20.red (1.8 kB; application/octet-stream)

      I am using Reduce 4859. I tried to run Anthony Hearn's code from ACM SIGSAM 24, 14-15 (1972).
      The only change I made was replacing "time" with showtime.
      The phaseint(20) runs in redcsl in terminal (redcsl -w-) in 1920 ms + 330 ms GC (last step) (i7 3770, Linux), in redpsl in 2240 ms. However, in graphical mode (redcsl -w+), it becomes unresponsive, execution times grow rapidly. It completed finally in 239799 ms + 330 ms. Is this large difference normal?


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/reduce-algebra/bugs/94/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #94

  • Arthur Norman

    Arthur Norman - 2019-02-20

    Thank you for this (and for the copy of the code you emailed). This is of
    course horrid!

    The simpler case of merely "(1-x)^1000;" is unsatisfactory too. Given that
    the GUI version is multithreaded the obvious way for me to identify just
    where it gums up does not work for me (and my first guess where to look
    was in deed of improvement but was not the main blockage).

    You can not readily read that many pages of displayed math fron the screen
    - the coding there was sort of expecting that big calculations would be
    done in a batch mode via a tarminal and small ones interactively via the
    GUI. With compoters having got faster by a LARGE factor in the 20 years
    since that code was mapped out the meaning of "big" has changed!

    I will keep looking. It is liable to be some bif of the code that has
    costs that grow quadratically with expression size where they could do a
    lot better! And it is in the C++ code that unpicks the TeX-like stuff that
    Reduce generates to send to the GUI.

              Arthur
    
     
  • Rainer Schöpf

    Rainer Schöpf - 2019-02-26
    • status: open --> accepted
    • assigned_to: Arthur Norman
    • Group: -->
     
  • arpi

    arpi - 2019-04-23

    With the latest release (4956), the execution of
    phaseint 20;
    is reasonably fast. However, scrolling the result up and down (in the csl graphical version) resulted in a crash.

     

Log in to post a comment.