Home All Groups Group Topic Archive Search About

Very long first cold startup problem

Author
17 Aug 2006 12:41 PM
Lloyd Dupont
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?

Author
17 Aug 2006 12:59 PM
Vadym Stetsyak
Hello, Lloyd!

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

LD> I tried to improve cold start by NGEN everything in the installer.
LD> Now I don't know if I make an error or something in the installer but
LD> my 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/issues/06/02/CLRInsideOut/ )

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Author
17 Aug 2006 1:38 PM
Lloyd Dupont
Thanks for the link!

Show quote
"Vadym Stetsyak" <vady***@ukr.net> wrote in message
news:OVVvPyfwGHA.428@TK2MSFTNGP03.phx.gbl...
> Hello, Lloyd!
>
> LD> After a reboot other cold start takes less than 15 seconds, perhaps
> LD> 3~4s.
>
> LD> I tried to improve cold start by NGEN everything in the installer.
> LD> Now I don't know if I make an error or something in the installer but
> LD> my 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/issues/06/02/CLRInsideOut/ )
>
> --
> Regards, Vadym Stetsyak
> www: http://vadmyst.blogspot.com
Author
17 Aug 2006 2:21 PM
Alan Pretre
"Lloyd Dupont" <net.galador@ld> wrote in message
news:eTNtAqfwGHA.4876@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
Author
17 Aug 2006 2:45 PM
Lloyd Dupont
Clever hey!
Thanks for the tip.

Show quote
"Alan Pretre" <no@spam> wrote in message
news:e0jSihgwGHA.5064@TK2MSFTNGP06.phx.gbl...
> "Lloyd Dupont" <net.galador@ld> wrote in message
> news:eTNtAqfwGHA.4876@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
>
>

AddThis Social Bookmark Button