Launch of RDM extremely slow

avatar

Hi David,

RDM 7.0 is extremely slow to launch on a Citrix server. I've timed at 2.5 minutes from clicking the shortcut to it finally opening. This using either a local XML or a local Access datasource. Once launched RDM responds "normally". This behaviour has been around for a while but seems to have got worse from 6.9.8.0 on. (RDM is installed from the binary package as I don't have admin rights to the Citrix server.)

Any ideas?

Cheers, Kent

Cheers, Kent

All Comments (28)

avatar

Hi,
I will do some test but I suspect the the .NET JIT. We have integrated many new dll for this version and this may explain why it take more memory and time to load. I have few ideas how we can resolve this issue. Could you try to delete the dll RemoteDesktopManager.PowerShell.dll from the installation directory?

David Hervieux

avatar

Hi David,

OK, I removed the RemoteDesktopManager.PowerShell.dll and it did not seem to make any significant difference. I could not get consistent results for the startup time with or without it. Startup times are either approx. 1.5 or approx. 2.5 minutes with nothing in between! I've tried find a pattern (i.e. is the very first launch after after logging into my Citrix desktop longer?; are subsequent launches quicker?) but cannot see one yet. Memory use is only slightly higher (+ ~3MB) with the DLL in place.

Cheers, Kent

avatar

David Hervieux

avatar

Hi David,

Oh yeah, much, much quicker! 15-20 seconds now to launch RDM (using either a local XML or Access datasource).

Thanks heaps for fixing this so fast!

Cheers, Kent

avatar

Great! Thank you very much for the feedback. If disable the offline mode for Access, this should be a little bit better too.

David Hervieux

avatar

Could you try this version? The application should have a much faster start up time.

http://remotedesktopmanager.com/download/Devolutions.RemoteDesktopManager.Bin.7.0.0.0b.zip

David Hervieux

avatar

Hi David,
Wow, RDM 7b is super-fast launching locally on my Windows 7 laptop. It hasn't made any noticeable difference from 7a though in our Citrix environment - both versions take around 15-20sec to display the connection tree. This is with a local Access datasource (and with offline mode disabled). Thanks for the improvement - even 15s in the Citrix environment is acceptable after the 2.5 min wait before!

Cheers, Kent

avatar

Also when running RDM even 7b off a USB it's still rather laggy especially when you edit or add a new session. The application will lock up for about 15-20 seconds.

-Brendan

-Brendan

avatar

Hi,
Is slow on save or before the edit window popup?

David Hervieux

avatar

Hey David,

It's slow in both scenarios :)

-Brendan

-Brendan

avatar

What type of data source do you use (Access or Xml)?

David Hervieux

avatar

Remote Desktop Manager Online -> So whatever that uses :)

-Brendan

avatar

It's in memory so I don't see any reason why it's slow except the connection. If you run it from a local machine, is it slow?

David Hervieux

avatar

I can see the same behaviour when switching to a datasource on a Citrix network share (especially when I'm working from home over a broadband link :-). As Brendan says, apart from the initial opening of the datasource, editing and saving sessions "locks up" RDM until the operation completes (roughly the same amount of time as it takes to load the DS in the first place for me).

Cheers, Kent

avatar

David,

Yes it's the same whether i run it locally or from the USB. Also it still runs just as slow on a machine with 8GB of RAM or one with 3GB of RAM

-Brendan

avatar

Hi,
Where are you located (USA, Europe...)?

David Hervieux

avatar

Hi David,

Not sure if you were asking me or not, but I'm in Australia :)

Cheers, Kent

avatar

Hi David/Devolutions,

We are running RDM (Site licensed) on Windows7 PRO clients, with an SQL datasource.
Startup of the application is very slow; up to 1 minute on SSD machines, even more on normal HDD´s.
This happens with both a local (XML) and remote (SQL) datasources.

Unfortunately many of our engineers are complaining about this, causing them to avoid using RDM.
Which then causes our database to slowly become outdated..

Running RDM v8.0.12.0

Can we expect a fix any time soon? That would be great.

Thanks,
Willem

Cheers,
Willem

avatar

Hi,
This is unexpected because for me it start in less than 10 seconds. Does you machine have access to the Internet? How many session do you have in the data source?

David Hervieux

avatar

My workstation does have direct internet access.
There are currently +/- 20 active connections, of which most are marked as 'sleeping'

The Datasource is running on a SQL Express 11.0.2100 on dedicated hardware (Dell R610).
The Datasource server does not have an active internet connection.

Strange thing is, a second startup is a lot faster...?

Cheers,
Willem

avatar

How much faster?

David Hervieux

avatar

In exactly 6 seconds after clicking the shortcut, the GUI is fully operational :-)
This morning, it took me over 1 minute. Even the 'splash-screen' took 20 seconds to appear.
System was fully booted and idle.
Other users are experiencing exactly the same behavior.

Cheers,
Willem

avatar

Hi again,
I suspect that this could the the warm up of .NET. Have you used the installer or unzipped the file? We do a ngen in the installer and this could take up to 10 minutes but this pre-jit the installation.

http://msdn.microsoft.com/en-us/library/6t9t5wcf(v=vs.80).aspx

David Hervieux

avatar

Hi,

Sorry, I have not been clear on this.
The slow startup is after each system startup, not only after a fresh install.
Load times vary a lot, this morning it took about 25 seconds (on my ssd system), the second startup was done in less than 5.
The running application is only about 40MB in memory, so this first-startup-of-the-day surprises me.

All of this sounds a lot like the original problem reported in this thread, hence my reaction to this topic.

Cheers,
Willem

avatar

Hi,
This is why I suspect that .NET warm up. RDM must be the first .NET application to start. I understand that it's not after an install and it's after a reboot for example. However have you unzipped or installed RDM with the msi?

David Hervieux

avatar

Hi,

Ok we are on the same page then :-)
The RDM is installed using the setup installer (exe), not the MSI or binaries.
http://download.devolutions.net/Setup.RemoteDesktopManager.8.1.0.0.exe this one.

Would using the MSI make a difference?

Thanks

Cheers,
Willem

avatar

Hi,
It's the same with the msi. I will try to send you a batch file to execute manually the ngen. Perhaps this could help

David Hervieux

avatar

Hi,
Could you copy this batch file in the installation path? Open a command line to execute it?

David Hervieux

optimize.bat