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 <2021> 2022 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 <2021> 2022 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 |