I'm running RDM 9.2.2.0 on a Windows 8.1, i7, 8GB, SSD machine, and the startup time for RDM is between 15 and 20 secs. Reading through the forums, I tried running with the /profiler switch, and when I do, it starts up in <5 secs. Any suggestions?
Thanks,
-J.
Did you install from .msi/.exe or .zip?
Stéfane Lavergne
.EXE
Download the the "install" script(.zip) file from here. Simply extract to the install directory and run the install.bat. You will be prompted for elevated mode (if not yet elevated) and the output will spit out many errors you can ignore them all. The script will take about a minute to run, once done, RDM should start faster.
It’s actually not installing anything, it’s calling out to ngen.exe (Native Image Generator) to precompile the original assembly (.dll/.exe) into a cached native image instead of using the just-in-time (JIT) compiler at start of the application.
Please let me know if this has any impact on your system.
Stéfane Lavergne
Could you try RDM 32 bits?
David Hervieux
It ran for a couple of minutes, but no improvement.
Tried both 32 and 64, same slow launch. Again, for some reason I can't explain, when I execute the 32 bit with the /PROFILER switch, it's as fast as it used to be. 64 bit with profiler shows no improvement.
This is very odd. The only difference with /Profiler is that it opens the Profiler window (Help -> Diagnostics -> Profiler) at the start of the app so that we can profile the load of the datasource.
Could it be your antivirus? Can you disable scanning on that folder?
How are you starting the app with /Profiler? From the command line? If so if you start the app from command line without /Profiler doesn't it change anything when compared to the RDM shortcut?
Stéfane Lavergne
I shut down Kaspersky and the 32 bit ran in about 5 secs. The 64 bit is still ~15-20. I then restarted Kaspersky, and the 32 bit is staying steady at ~5 secs and 64 is still ~15-20. Not sure what it was interfering with, but I'm back to an acceptable start time. Thanks!
Could you try to run the script with the Anti-Virus turned off?
David Hervieux
Same result - 32bit is ~5 secs and 64 bit is ~15-20. The 64 bit is hitting the CPU the entire time, whereas the 32 bit is only 2-3 secs with CPU hits.
I also tryed the script mentioned here, and saw no improvement at all :(
But maybe is cause I'm using it on a TS.
edited by tda on 3/27/2014
I'm now up to 9.2.6 and it's still ~20 seconds on startup. With the /profiler switch, it's under 5 seconds. Any additional thoughts?
Thanks,
-J.
Just for a test, could you try to execute it with /Filter:Test
I want to see if it's related to the /Profiler or just because we have a switch at the command line.
David Hervieux
~20 seconds with that command-line switch.
Do you use the 32 bit version?
David Hervieux
Yes, although both versions are slow (64-bit might actually be slower).
I'm now up to version 9.2.10, and after the upgrade from 9.2.8 I'm now up to over 1 minute for getting RDM to launch, with CPU getting beat up the entire time. And again, when I have the /profiler switch set, it launches in ~6 seconds. What is going on????
Did you install using the .zip or .exe?
Stéfane Lavergne
.exe
Do you still have a the install.bat file from before? If so, please run it.
The "very slow start" is due to the jit of the files (.exe/.dll) for some reason, on some systems, the jit-ed files don't seem to be saved for later use. The .exe actually jit-s all the files during the install but they are not begin used. We are still looking into it.
Stéfane Lavergne
No better. I attached the output of the install.bat run.
install_result.txt
32 or 64 bit?
David Hervieux
32
Would you mind to install RDM 9.5 beta in another folder?
http://remotedesktopmanager.com/Home/Download#beta
It use .NET 4.0 instead of .NET 2.0
David Hervieux
The Beta version on that link is 9.4.3. Is that ok?
It's in the tab page Beta but here is the direct link
http://remotedesktopmanager.com/Home/ThankYou?f=RDMbinBeta
David Hervieux
Still 9.4.3 - see attached.
screen.jpg
Sorry for the confusion, yes it's 9.4.3 but we call it 9.5 Beta
David Hervieux
The final version will be 9.5.0.0
David Hervieux
That worked beautifully, although it's prompting for a DB upgrade which I cannot do because the others in the organization are running the 9.2.x version. When will 9.5 be available? (ballpark)
In the middle of the summer but you can do the database upgrade. It's only indexes and no feature related to the structure. Backup you database to be sure.
David Hervieux
Done, and it works quickly once again. Thanks!!