EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Disable UI responsiveness Monitor in CSS-Phoebus
From: "Usmani, Imran Ali via Tech-talk" <tech-talk at aps.anl.gov>
To: "Kasemir, Kay" <kasemirk at ornl.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 22 Mar 2021 15:02:37 +0000
Thanks for your response Kay.

Regards,
Imran

From: Kasemir, Kay <kasemirk at ornl.gov>
Sent: Monday, March 22, 2021 7:19 AM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>; Usmani, Imran Ali <iusmani at anl.gov>
Subject: Re: Disable UI responsiveness Monitor in CSS-Phoebus
 
>If I disable UI Responsiveness Monitor by setting  ui_monitor_period=0 in file >core/ui/src/main/resources/phoebus_ui_preferences.properties
>while building css-phoebus, will it cause any trouble while using it?

Setting  ui_monitor_period=0 is exactly the way to disable the UI responsiveness monitor.
There are no downsides to doing that, except that if you do run into a UI freeze-up, you won't get a stack trace that might allow us to fix the underlying issue.

To set  ui_monitor_period=0, however, you should not edit the file core/ui/src/main/resources/phoebus_ui_preferences.properties and recompile.

Instead, set the preference value as described on https://control-system-studio.readthedocs.io/en/latest/preferences.html.
For example, put this into your local "my_settings.ini" file:

org.phoebus.ui/ui_monitor_period=0

and then start phoebus with "-settings /path/to/my_settings.ini"


> I am asking this because running css-phoebus on a remote system through SSH and X11 forwarding is affecting UI performance.

That is about the worst possible scenario ;-)
X-via-ssh used to be a very convenient way to run UI apps remotely, but it's also slow, and modern apps where a button is no longer just a flat rectangle but some rounded rect with shaded background etc., all those drawing commands tend to be slow via X/ssh. VNC or similar commercial tools like Thinlinc tend to offer much better performance.
Still, sometimes X-via-ssh is the only option you might have, and then setting the ui_monitor_period to zero makes sense.

Thanks,
Kay

References:
Disable UI responsiveness Monitor in CSS-Phoebus Usmani, Imran Ali via Tech-talk
Re: Disable UI responsiveness Monitor in CSS-Phoebus Kasemir, Kay via Tech-talk

Navigate by Date:
Prev: Make a Tango controlled device visible in EPICS Birke, Thomas via Tech-talk
Next: Keithley 6487 support Pratt, Linda (DLSLtd, RAL, LSCI) via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: Disable UI responsiveness Monitor in CSS-Phoebus Kasemir, Kay via Tech-talk
Next: Libera BLM Support Anyone? Till Straumann via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 22 Mar 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·