|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Very long first cold startup problemA 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? 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/ ) 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 "Lloyd Dupont" <net.galador@ld> wrote in message Besides NGEN, it may also be other DLL's your application needs to load in. news:eTNtAqfwGHA.4876@TK2MSFTNGP04.phx.gbl... > Any ideas on what I could do to improve my 1st cold start? 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 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 > > |
|||||||||||||||||||||||