CcpnForum
Performance issue - Printable Version

+- CcpnForum (https://www.ccpn.ac.uk/forums)
+-- Forum: CcpNmr Analysis Version 2 (https://www.ccpn.ac.uk/forums/forumdisplay.php?fid=12)
+--- Forum: V2 General (https://www.ccpn.ac.uk/forums/forumdisplay.php?fid=13)
+--- Thread: Performance issue (/showthread.php?tid=32)



Performance issue - jcappele - 08-20-2019

Hello everyone,

Is there a way to force Analysis 2.4.2 to use more than one CPU on the Windows version? What about RAM allocation as well?
I didn't find anything in preferences, sorry if I missed it.

Thank you for your answers,

J.Cappèle

Edit: The Linux version works like a charm on Ubuntu 18.04 integrated to W10. It is reactive and use the most of my computer!


RE: Performance issue - garyt - 08-20-2019

Is there a way to force Analysis 2.4.2 to use more than one CPU on the Windows version? What about RAM allocation as well?
I didn't find anything in preferences, sorry if I missed it.

As far as I know analysis should use as much ram as is needed. In general python programmes are single threaded, so most probably the only code that could be multiply threaded is the contour code


Thank you for your answers,

J.Cappèle

Edit: The Linux version works like a charm on Ubuntu 18.04 integrated to W10. It is reactive and use the most of my computer!

this is good to hear, the windows version has always been much less used and more buggy than osx and linux, so finding that WSL works well is good to hear. are you using WSL1 or WSL2?

regards
Gary



RE: Performance issue - LucaM - 08-20-2019

Hi jcappele, we are planning of enabling parallel work on V3. So that we can run Python in more threads. Is there any particular routine you find slow in v2/v3? Thanks


RE: Performance issue - jcappele - 08-21-2019

Thanks for your answers,

I am currently working with one of the last 18.04 LTS Ubuntu for Windows (one month old installation). I'm not aware of an upgrade of the sub system, so I won't be able to tell you if the WSL2 is up and running. How can I check for the WSL version?

Concerning V3, because i've only done the very complete tutorial on V2, and V3 is not working yet on my WSL, I don't use it for now.

V2 windows version is really "laggy" when you navigate on your different spectra. When you are zoomed out on a HSQC-15N you can barely move the window or navigate within the spectrum, it seems like it takes forever to update the image. I didn't even try the "display cell" feature, it completely froze the program. I noticed (visually) that a single thread was used by the program.

On the contrary, on WSL Ubuntu 18.04, V2(.4.2) is really smooth (using multiple thread, it seems, up to 20% processor uptime on i7-4710MQ). Navigation on multiple spectra zoomed out is easy and lag-free. A few bugs now on then concerning projects opening/saving/opening but nothing fatal. And the installation was really simple. I'm using Xming as a graphical interface.

Best regards,
J.Cappèle

Edit: Though, the automated seq assignement is not working even if NumPy is installed in the WSL.
Edit2: on a clean WSL Ubuntu 18.04 installation, numpy worked perfectly. Automated Seq assignement is available on WSL as well for Analysis version Ubuntu 16 (x64)