Start a new topic

Very Slow/Laggy after some time

Hi All,


Looking to see if anyone else has experienced similar issues. This has happened to me for quite some time - over a year, but I've been too lazy to report it.


Basically, it seems that after an extended period of time (several days) the RoyalTS app window becomes almost unusable. Moving the RoyalTS main window around the monitor or between monitors is very slow. I will click to drag the main window around and it takes 5-7 seconds before the screen follows. Also, moving between connections/tab in the interface is extremely slow. After clicking a tab it takes 3 - 4 seconds before the screen changes and the tab will accept input. I predominantly use RDP to 7-10 servers as a time and those connections might remain open for days.


Closing/reopening RoyalTS will resolve the issue.


Riley


Sorry for the delay, Riley. I'm still struggling with reproducing the issue using 15 or more connections. But I checked the code and there are some things which you can tweak to maybe speed things up.


* Check if all your RDP connections are setup to use Smart Reconnect in the connection properties under Display Options. If so, please change it to Smart Sizing or Scrollbars. The Smart Reconnect option requires a background thread which will check for size changes on a regular basis.

* Alternatively: Go to the View ribbon tab and click on Plugins. Open the Settings of the Remote Desktop Protocol Connection. Make sure the option "Force Smart Reconnect on all Sessions" is disabled.


* Under Advanced -> Performance: check Hardware Acceleration


* Open the View -> Options dialog and navigate to User Interface -> Tabs. Make sure "Enable Taskbar Thumbnails" are unchecked.

* Also in the Options dialog under "Troubleshooting", check the "Delete EasyHook DLLs" and click on Reset Settings. Without those DLLs we don't do "live" previews for the Thumbnail view. With many connections open, this can be a performance bottleneck.


To change those settings on multiple connections simultaneously, use the bulk-edit feature in Royal TS:

https://www.royalapps.com/go/kb-ts-win-bulkedit


Please try the above and let me know if this improves your situation.


Regards,
Stefan

So, time doesn't seem to have as much of an effect as I thought. I think I was bringing time into it because as time goes on I would add more and more connections. However, The other day I opened ~15 RDP sessions within a few hours and it was very slow. So, it seems to be the number of connections open.


Right now I'm working with only two and it's perfectly acceptable. However, just a couple hours ago I had 10 or so open and it was slow. I tried resizing the main RoyalTS window and it was very laggy. If I turn off the "Show window contents while dragging" then I can resize without too much of an issue - it still "freezes" for 5 seconds or so after I resize the window.


If I switch tabs in succession it will lag bad enough that sometimes three of the tabs are "lit up" like I'm hovering over them. Also, the menu tree on the left will freeze and become unresponsive at the same time.


With "Show window contents while dragging" enabled then it's very difficult to resize the window. The whole RoyalTS window will "flash" as it resizes and you can see the screen redrawing. The action lags behind the mouse quite far. 


I have two 27" 1440p monitors. I resized the window to be much smaller and if it did help it wasn't much. Maybe the connection accepted input a bit quicker? 

Hi!


I'm having a hard time to find that many connections to test. I can see that switching tabs (even if I only have 3 or 4 open) can be a bit laggy when the window is maximized on a 5k screen running Royal TS DPI aware - regardless if it's RDP or web or some other connection. When I reduce the Window size to a quarter of the screen, it's snappy. Can you see the same effect? I'm assuming this is because Royal TS is a WinForms (GDI) based app which doesn't take advantage of hardware acceleration.


Also, your first post mentioned that this only happens after several days. In your second post you mentioned 3 days of Royal TS running. Do you see this lag only after a couple of days or immediately when you have 14 tabs open (right after a fresh start)?

Hi Riley,


I have to admit that my instance doesn't run longer than a day or two but I haven't seen this myself. Can you provide some numbers from the task manager (memory usage / private bytes) when you started Royal TS and the same when it becomes laggy? Maybe there's a memory leak which causes the slowdown.


Thanks,
Stefan

Login or Signup to post a comment