linien-org / linien

Spectroscopy lock application using RedPitaya
GNU General Public License v3.0
74 stars 19 forks source link

Slow/Sluggish GUI #432

Closed gregmoille closed 1 week ago

gregmoille commented 1 week ago

It looks like I have an issue with the GUI that works at a refresh rate of about 1 frame per second. I reproduced it on both Windows and Mac clients connecting to a STEMlab 125-14 Low Noise running the Red Pitaya OS 2.04-35. The interface is responding at a 5-second interval.

From the debug on the client side, I get a lot of Painter path exceeds +/-32767 pixels, which I suppose is from the plot. It doesn't seem that either the client or the server is using a lot of memory.

It seems that on the server side, linien-server is using up a lot of CPU and memory. Somehow, it also spawned 3 runners, which I am not exactly sure why. I tried to remove and reinstall linien, but I get the same behavior. Any help would be very appreciated!

Screenshot 2024-11-04 at 9 37 13 PM
gregmoille commented 1 week ago

Seems like the default Jupyter-lab was eating a lot of RAM for unknown reason. stoping and disabling the service and rebooting the red-pitaya seems to solve the issue.