Skip to main content
Associate
July 4, 2023
Solved

Performance Issues

  • July 4, 2023
  • 8 replies
  • 3055 views

I am facing performance issues on several PC's I use to work with TouchGFX.
Time to start simulation for an example project (dice) is several minutes. A comparison with a private owned PC shows that the same project can be simulated in 27s, so I started to look for reasons of this performance issue.
In the known Issues section of the documentation is the following point listed:
LOGONSERVER environment variable
We have observed on a few computers that the TouchGFX is very slow (e.g. "Run simulator" does nothing for 30 seconds). It may help to set the environment variable LOGONSERVER to an empty value. In bash, the command is:
export LOGONSERVER=

Can someone tell me how to work with this environment variable on a windows PC? When I tried to check if this variable is available in CMD, I just get the information that no variable with that name exists

This topic has been closed for replies.
Best answer by VIKA

After some experiments we have found a solution for our performance issues.
For security reasons an application control software is used in our company. As TouchGFX was prohibited to be used with standard users, a priviledged admin user was used to run the software.
With that admin user we faced the performance issues.

After TouchGFX was added to a safe software list, we were able to run it with our normal users and the performance issues were gone.

8 replies

Osman SOYKURT
ST Technical Moderator
July 5, 2023

Hello @VIKA ,

Which version of TouchGFX do you use? I know that we improved the proxy authentication management in TouchGFX 4.22.0 (see in the changelog), so that should be much more stable from 4.22.0. But if you are using it already, could you share your log file to us please? and we can start investigating it.

ST Software Developer | TouchGFX
VIKAAuthor
Associate
July 6, 2023

Hello @Osman SOYKURT 

I am using version 4.22.0.
Attached you can find the output of the detailed log of TouchGFX when I start a simulation. If you need some additional data please let me know.

 

Best regards

Viktor

Osman SOYKURT
ST Technical Moderator
July 10, 2023

Hello @VIKA ,

Thanks for that, could you send me the TouchGFX Designer logs also, located at : "C:\Users\YOUR_USER_NAME\AppData\Roaming\TouchGFX-4.22.0\TouchGFXDesigner.log"

ST Software Developer | TouchGFX
VIKAAuthor
Associate
July 10, 2023

Hello @Osman SOYKURT ,

attached you can find the log file of two different PC's we are facing the performance issues. One has version 4.22.0 installed, the other one runs 4.21.4. The issues are similar.

Osman SOYKURT
ST Technical Moderator
July 10, 2023

Can you check what value you have for that variable on your machine?
In a Windows terminal, type "set" and look for LOGONSERVER variable.

ST Software Developer | TouchGFX
VIKAAuthor
Associate
July 10, 2023

This variable is set to a server in our company (connected via LAN)

I only got permission from the IT department to set it temporary to an empty value. Nevertheless I have seen no difference in performance.
I have attached the new log file but from what I can see it has not changed.

VIKAAuthorBest answer
Associate
July 13, 2023

After some experiments we have found a solution for our performance issues.
For security reasons an application control software is used in our company. As TouchGFX was prohibited to be used with standard users, a priviledged admin user was used to run the software.
With that admin user we faced the performance issues.

After TouchGFX was added to a safe software list, we were able to run it with our normal users and the performance issues were gone.

Osman SOYKURT
ST Technical Moderator
July 13, 2023

Good to hear your issue is solved, and thanks for sharing it :)

ST Software Developer | TouchGFX