By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,978 Members | 1,362 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,978 IT Pros & Developers. It's quick & easy.

Very long first cold startup problem

P: n/a
A cold start of my application takes about 15 seconds. Further startup takes
only 1 seconds.

After a reboot other cold start takes less than 15 seconds, perhaps 3~4s.

I tried to improve cold start by NGEN everything in the installer.
Now I don't know if I make an error or something in the installer but my
first cold start time didn't improve (after I tested it).

Any ideas on what I could do to improve my 1st cold start?
Aug 17 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hello, Lloyd!

LDAfter a reboot other cold start takes less than 15 seconds, perhaps
LD3~4s.

LDI tried to improve cold start by NGEN everything in the installer.
LDNow I don't know if I make an error or something in the installer but
LDmy first cold start time didn't improve (after I tested it).

Then you should find out what takes most time during startup and try to optimize it.
Take a look at for more information about the issue
( http://msdn.microsoft.com/msdnmag/is.../CLRInsideOut/ )

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Aug 17 '06 #2

P: n/a
Thanks for the link!

"Vadym Stetsyak" <va*****@ukr.netwrote in message
news:OV*************@TK2MSFTNGP03.phx.gbl...
Hello, Lloyd!

LDAfter a reboot other cold start takes less than 15 seconds, perhaps
LD3~4s.

LDI tried to improve cold start by NGEN everything in the installer.
LDNow I don't know if I make an error or something in the installer but
LDmy first cold start time didn't improve (after I tested it).

Then you should find out what takes most time during startup and try to
optimize it.
Take a look at for more information about the issue
( http://msdn.microsoft.com/msdnmag/is.../CLRInsideOut/ )

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com

Aug 17 '06 #3

P: n/a
"Lloyd Dupont" <net.galador@ldwrote in message
news:eT**************@TK2MSFTNGP04.phx.gbl...
Any ideas on what I could do to improve my 1st cold start?
Besides NGEN, it may also be other DLL's your application needs to load in.
Windows has its file cache filled on successive startups.

If fast startup time is necessary you could try a secondary application to
preload your DLL's, ala Acrobat (Adobe Reader Speed Launch) and others.
These go in Startup or a Windows Service and load the modules in at startup
or login.

-- Alan
Aug 17 '06 #4

P: n/a
Clever hey!
Thanks for the tip.

"Alan Pretre" <no@spamwrote in message
news:e0**************@TK2MSFTNGP06.phx.gbl...
"Lloyd Dupont" <net.galador@ldwrote in message
news:eT**************@TK2MSFTNGP04.phx.gbl...
>Any ideas on what I could do to improve my 1st cold start?

Besides NGEN, it may also be other DLL's your application needs to load
in. Windows has its file cache filled on successive startups.

If fast startup time is necessary you could try a secondary application to
preload your DLL's, ala Acrobat (Adobe Reader Speed Launch) and others.
These go in Startup or a Windows Service and load the modules in at
startup or login.

-- Alan


Aug 17 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.